- Install JDK and ANT.
- Set JAVA_HOME and ANT_HOME to your Ant and Java directories. Add JAVA_HOME\bin and ANT_HOME\bin to System Path.
- Create a Liferay directory:
- Create a directory called:
and unzip de Liferay sources into it.
- Create a file called:
- and put the next lines with the appropiate values:
- If you expect to be using eclipse add also a property called lp.eclipse.project.name with the desired name of the project:
- Create a file called:
- and put the next lines with the appropiate values:
app.server.tomcat.dir={LIFERAY}/tomcat
sourceforge.mirror=http://belnet.dl.sourceforge.net/sourceforge/lportal
- Create a file called:
- and put the next lines with the appropiate values:
javac.fork=true
- Go into {LIFERAY}/portal directory an execute:
> ant start
> ant build-ext
This must create a directory {LIFERAY}/ext (or what you called in lp.ext.dir) and create your EXT environment.
- Copy files release.{user name}.properties, app.server.{user name}.properties and build.{user name}.properties to the {LIFERAY}/ext directory.
- Go to the {LIFERAY}/ext/servers and execute:
It must download and install a tomcat liferay bundle into {LIFERAY}/tomcat.
- The idea is to have:
{LIFERAY}/ext -> Your EXT environment to develop.
{LIFERAY}/portal -> The portal sources used to create the EXT.
{LIFERAY}/tomcat -> The server (lifery bundle) used to develop.
- Now execute:
- and try to start liferay bundle:
- Connect to http://localhost:8080 (user test@liferay.com, password test).