Sunday, January 13, 2008

Liferay Installation 2. Jikes,Ant & Liferay Portal Source

We should install these tools to build the EXT environment.

Ext Enviroinment - is the place where all the files should stay.



a. JIKES

b. ANT

c. Liferay Portal Source



a. Install JIKES



Jikes is a compiler tool that used to compile java files faster than java ordinary javac compiler.


Download Jikes 1.22

http://downloads.sourceforge.net/jikes/jikes-1.22-1.windows.zip


(i) Create folder C:\jikes-1.22

(ii) Unzip your jikes-1.22-1-windows.zip file to C:\jikes-1.22



Set CLASSPATH for JIKES

(i) Go to :

Start -Setting - Control Panel-System -Advanced - Environment Variables

(ii) Under System Variable click New.

(iii) Variable Name : JIKES_HOME

Value : C:\jikes-1.22

(iii) Click OK



Set PATH for JIKES



(i)Under the System variable, Click path and Edit

(ii)Type %JIKES_HOME%\bin; ( Don't forget to give semicolon )


(iii) To confirm that Jikes path is correct : Go to command prompt
type jikes -version

It will display the version of jikes..then you have set the path successfully.

-----------------------------------------

b. Install ANT

ANT is a build tool that used to clean out directories , moving the files and compiles set of java files.

Download ANT 1.7.0

(i) Unzip your apache-ant-1.7.0-bin.zip file to C:\

(ii) It will set to C: \apache-ant-1.7.0


Set CLASSPATH for ANT


(i) Go to :

Start -Setting - Control Panel-System -Advanced - Environment Variables

(ii) Under System Variable click New.

(iii) Variable Name : ANT_HOME

Value : C:\apache-ant-1.7.0

(iii) Click OK


Set PATH for ANT


(i) Under the System variable, Click path and Edit

(ii) Type %ANT_HOME%\bin; ( Don't forget to give semicolon )

(iii) To confirm that ANT path is correct : Go to command prompt
type ant -version

It will display the version of ANT..then you have set the path successfully.

-----------------------------------------

c. Install Liferay Portal Source


It has many files that we will need to build EXT environment.


Download Liferay Portal Source

http://sourceforge.net/project/downloading.php?group_id=49260&use_mirror=nchc&filename=liferay-portal-src-4.3.4.zip


The file should look like this :

liferay-portal-src-4.3.4-*.zip


(i) Create folder structure : c:\training\liferay\portal

(ii) Unzip liferay-portal-src-4.3.4-*.zip to c:\training\liferay\portal

(iii)Make sure that file extensions are visible on your computer by these steps:


Double Click My Computer

From the Menu , Click Tool- Folder Option - View

Uncheck "Hide extension for Known file types"

Now we are ready to build the EXT environment.
-----------------------------------------

- Gnaniyar

9 comments:

Anonymous said...

hai zubewr. how r u

Anonymous said...

Hi
Great blog and very nicely described steps to install liferay. I did installation 1 properly adn even tested where ever it is mentioned in the blog. But for some reason the Jikes -version test is not working. I did the exact steps you mentioned, what do you think is wrong?
Also can you give a link to download ANT?
Thanks this has been a great help!

-Seasons

Gnaniyar @ நிலவு நண்பன் said...

//But for some reason the Jikes -version test is not working. I did the exact steps you mentioned, what do you think is wrong?
//

what error u got?
where u download the jikes?. make sure that u have installed jikes properly. if so, pls let me know..I will try to rectify..

Thanks for visiting my blog...

Dr. Mulugeta said...

Hi

I found your step by step explanation for the setup wonderfull. Yours is the best upto now. but when I test jikes, it does not know it. The configuration is correct,however when I test using jikes -version from another directory, it doesn't work. But when u run it from its bin directory it works.

My second point is when EXT builds up I can not see some important folders like exe/exe-ejb.
Any way u put it in a user friendly way

God Bless You
Zelalem B.

Dr. Mulugeta said...

Hi,

The jikes problem is solved. But still I can not find a solution for the ext enviroment.
The following folders are not found in my ext folder:ext-ear,ext-ejb, layoutpl, portlets, themes and web-sties.

Can you please help me as soon as you can

GBU
Zelalem

Gnaniyar @ நிலவு நண்பன் said...

//Hi,

The jikes problem is solved. But still I can not find a solution for the ext enviroment.
The following folders are not found in my ext folder:ext-ear,ext-ejb, layoutpl, portlets, themes and web-sties.

Can you please help me as soon as you can

GBU
Zelalem//



ext-ear,ext-ejp are older version of Liferay. Hope before LR.4.2.

so you have to download newer version liferay.

They have changed "ext-ear" to "ext-service" and "ext-ejb" to "ext-impl".

Hope this helps

Anonymous said...

It was certainly interesting for me to read that blog. Thanx for it. I like such themes and everything connected to this matter. I would like to read more on that blog soon.

Anonymous said...

Great post you got here. It would be great to read a bit more about this matter.
BTW check the design I've made myself Overnight escort

Anonymous said...

BTW, buy GSM jammer to disable all spy devices in your room or office.