Presentation is loading. Please wait.

Presentation is loading. Please wait.

Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from.

Similar presentations


Presentation on theme: "Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from."— Presentation transcript:

1 Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from Liferay, LLC.

2 Objectives Required Tools 1.Install Jikes 2.Install Ant 3.Unzip Liferay Source Code

3 Jikes Jikes is used because it compiles faster than Java’s default compiler. Jikes 1.21 works with JDK 1.4.2 Jikes 1.22 works with JDK 1.5.0

4 Install Jikes 1.Create a folder called jikes-1.22 C:\Java\jikes-1.22 2.Download Jikes: http://sourceforge.net/project/showfiles.p hp?group_id=128803 3.Unzip Jikes (jikes-1.22-1.windows.zip) to C:\Java\jikes-1.22

5 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

6 Checkpoint

7 1.Under System Variables click Path then Edit 2.Type %JIKES_HOME%\bin; after %JAVA_HOME%\bin; 3.Do not put spaces in your path. Example: %JAVA_HOME%\bin;%JIKES_HOME%\bin; %SystemRoot%\system32;%SystemRoot%;%System Root%\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel; Add JIKES_HOME to the Path

8 Install Ant Ant uses build scripts to automate tasks like cleaning out directories, compiling classes and moving files. 1.Download Ant: http://ant.apache.org/bindownload.cgi 2.Unzip Ant (apache-ant-1.6.5-bin.zip) to C:\Java

9 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-1.6.5 Set ANT_HOME

10 Install Ant

11 1.Under System Variables click Path then Edit 2.Type %ANT_HOME%\bin; after %JIKES_HOME%\bin; 3.Do not put spaces in your path. Example: %JAVA_HOME%\bin;%JIKES_HOME%\bin; %ANT_HOME%\bin;%SystemRoot%\system32;%Syst emRoot%;%SystemRoot%\System32\Wbem;C:\Progra m Files\ATI Technologies\ATI Control Panel; Add ANT_HOME to the Path

12 Unzip Liferay Source Code 1.Create a directory called portal C:\Training\liferay\portal 2.Extract the Liferay Portal source code (liferay-portal-src-4.1.3.zip) to C:\Training\liferay\portal

13 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

14 Revision History 08/28/06 Edward ShinAuthor 11/13/06Edward ShinUpdated slides 4, 7, 8 and 11 12/07/06James MinUpdated for Liferay 4.1.3


Download ppt "Required Tools Copyright © 2005 Liferay, LLC All Rights Reserved. No material may be reproduced electronically or in print without written permission from."

Similar presentations


Ads by Google