Required Tools Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission from Liferay, Inc..
Objectives Required Tools 1. Install Jikes 2. Install Ant 3. Unzip Liferay Source Code
Jikes Jikes is used because it compiles faster than Java’s default compiler. Jikes 1.21 works with JDK Jikes 1.22 works with JDK 1.5.0
Install Jikes 1.Create a folder called jikes-1.22 C:\Java\jikes Unzip Jikes (jikes windows.zip) to C:\Java\jikes-1.22
1.Right click My Computer and click Properties Advanced Environment Variables 2.Under System Variables click New Make sure you click New under System variables NOT User variables 3.Variable name: JIKES_HOME Variable value: C:\Java\jikes-1.22 Set JIKES_HOME
Checkpoint
1.Under System Variables click Path then Edit 2.Type %JIKES_HOME%\bin; after %JAVA_HOME%\bin; Example: %JAVA_HOME%\bin;%JIKES_HOME%\bin; %SystemRoot%\system32;%SystemRoot%;% SystemRoot%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel; Add JIKES_HOME to the Path
Install Ant Ant uses build scripts to automate tasks like cleaning out directories, compiling classes and moving files. 1.Unzip Ant (apache-ant bin.zip) to C:\Java
1.Right click My Computer and click Properties Advanced Environment Variables 2.Under System Variables click New Make sure you click New under System variables NOT User variables 3.Variable name: ANT_HOME Variable value: C:\Java\apache-ant Set ANT_HOME
Install Ant
1.Under System Variables click Path then Edit 2.Type %ANT_HOME%\bin; after %JIKES_HOME%\bin; Example: %JAVA_HOME%\bin;%JIKES_HOME%\bin; %ANT_HOME%\bin;%SystemRoot%\system3 2;%SystemRoot%;%SystemRoot%\System32\ Wbem;C:\Program Files\ATI Technologies\ATI Control Panel; Add ANT_HOME to the Path
Unzip Liferay Source Code 3. Create a directory called portal C:\Training\liferay\portal 4. Extract the Liferay Portal source code (liferay-portal-src zip) to C:\Training\liferay\portal
Checkpoint At this point, we’ve installed (unzipped) Ant, Jikes and the Liferay Portal source code. Now we’re ready to build the Ext Environment. Before we begin, make sure that file extensions are visible on your computer. 1.Double click My Computer 2.Click Tools Folder Options View 3.Uncheck Hide extensions for known file types
Revision History Edward Shin8/28/2006Updated for Liferay 4.1.1