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 compatible with Java 1.4 also 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.
Add JIKES_HOME\bin
to your PATH
environment variable.
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.
We recommend that you put all your code and configuration files into a version control system. Subversion is free and open source and can be used through a set of commands, by installing a subversion client such as SmartSVN, TortoiseSVN or through the integration mechanisms provided by most IDEs.