Table of Contents
The following instructions will help you get your development environment ready for working with the source code. These instructions are specific to setting up for deployment to Orion server and Tomcat 5.5 developing with Java JDK 1.5. Liferay Portal is also compatible with Java 1.4 and a wide array of application servers and containers. You will need to adjust your development environment according to your platform.
Before we can get started, the following components must be installed on your machine.
Download and install JDK 1.5.0. JDK 1.4 is also supported.
Set an environment variable called JAVA_HOME to point to your JDK directory.
Jikes is a Java compiler by IBM that is much faster than the original one provided by the JDK.
Download and unzip Jikes 1.22. If using JDK 1.4 you have to use Jikes 1.21 instead.
Set an environment variable called JIKES_HOME to point to your Jikes directory.
JIKES_HOME\bin to your PATH
Download and unzip the latest version of Ant.
Set an environment variable called ANT_HOME to point to your Ant directory.
Add ANT_HOME\bin to your PATH environment variable.
Learn how tasks work in Ant. Tasks can be run at the root of the project directory and inside each subproject directory.
If you expect to base your extensions on top of the latest sources of Liferay Portal (instead of using an stable release) or you plan to use subversion to maintain your own code you will need a subversion client. Follow these instructions to set it up:
If you want to browse the source tree, configure the client to use the https protocol to connect to svn.sourceforge.net. Authenticate as user anonymous with a blank password and specify /svnroot/lportal/portal as the UNIX path.
If you are a developer with privileges to commit to the source tree, configure the svn client to use the https protocol to connect to svn.sourceforge.net. Authenticate with your private user and password and specify /svnroot/lportal/portal as the UNIX path.
Check out the portal.