This is a native Java JSR286 portlet, that connects to a remote web app, parses its response and alters its HTML body.
Supports GET and POST, and reads cookies from the server and stores them to the PortletSession.
How to compile?
How to run the tests?
ant -buildfile build_test.xml
To run selective tests for individual test classes (for example):
ant -f build_test.xml runtest -Dtest=RenderFilterTest
How to set the temp directory of your portal
The temp directory is defined within the following order:
Search for the system environment variable LIFERAY_PORTAL_TEMP
Using the catalina.base Java property
Falling back to '../temp' when none of the above were found
Step 2 is the most used case because is automatically defined for tomcat containers
Create the system variable LIFERAY_PORTAL_TEMP with the path, for example:
[ -z "LIFERAY_PORTAL_TEMP" ] && export LIFERAY_PORTAL_TEMP=/tmp