a. Set the Location of the EXT Environment
b. Build the EXT Environment
c. Set the Type of Server
d. Set the Location of the Server
e. Deploy your Files to TOMCAT
a. Set the Location of the EXT Environment
a1.Find Out Your User Name
a2. Create release.${user.name}.properties file
a1.Find Out Your User Name
1. Go to your command prompt
2. Type set in the command prompt
3. Write down your user name
Here, USERNAME = Administrator
a2. Create release.${user.name}.properties file
(i) Go to C:\training\liferay\portal
(ii) Create any text file and save that file as release.${user.name}.properties
For Ex: if your user name is Administrator, then save as release.Administrator.properties
if your user name is ed, then save as release.ed.properties
(iii) then open that file and type : lp.ext.dir=C:/training/liferay/ext
lp.ext.dir is the property that tells where we want to build the EXT Environment
b. Build the EXT Environment
(i) Go to command prompt
(ii) Go to C:\training\liferay\portal ( in the command prompt)
(iii) Type ant clean start build-ext
(iv)Make sure that the EXT Environment was created in C:\training\liferay\ext
Remember, the location of the EXT environment was set using lp.ext.dir
lp.ext.dir=C:/training/liferay/ext
(v) Checkpoint!
Go to C:\training\liferay\ext and make sure that the following folders and files were created
c. Set the Type of Server
(i) Create the app.server.${user.name}.properties file
we should create app.server.type (Application Server Type) which is the property file that tells Liferay what server we want to deploy to.
(i) Go to C:\training\liferay\ext
(ii) Create any text file and save that file as app.server.${user.name}.properties
For Ex: if your user name is Administrator, then save as app.server.Administrator.properties
if your user name is ed, then save as app.server.ed.properties
(iii) then open that file and type : app.server.type=tomcat
d. Set the Location of the Server
Enter the following in app.server.${user.name}.properties
app.server.tomcat.dir=C:/training/liferay/tomcat
e. Deploy your Files to TOMCAT
(i) Go to command prompt
(ii) Go to C:\training\liferay\ext ( in the command prompt)
(iii) Type ant deploy
(iv) checkpoint :
Make sure that your files were deployed to C:\training\liferay\tomcat
Congratulations!
You have just built the EXT Environment! Next We have to setup Database.
- Gnaniyar

2 comments:
Hi, Look from the above listed folders in the ext folder, I can not see in my exe folder the following folders:
1. ext-ear
2. ext-ejb
3. layoutpl
4. portlets
5. themes
6. web-sites
Can you please tell me whay this happens to me?
God Bless You
Zelalem
Es ist die ausgezeichnete Variante levitra 20mg filmtabletten cialis rezeptfrei holland [url=http//t7-isis.org]viagra kaufen g?nstig[/url]
Post a Comment