The purpose of this post is to provide a simple guideline to setup Liferay development environment with Eclipse.
Required software:
1. Eclipse
2. Liferay Portal with tomcat bundled
3. Liferay IDE
4. Liferay plugins sdk
Steps:
1. download Liferay Portal and unzip into a directory, eg C:/liferay
2. download Liferay plugin sdk and unzip into a directory, eg C:/liferay
3. Start Eclipse
4. Install Liferay IDE with the following steps
a. Help > Install New Software > Add
b. paste the following url and give it a name
- http://releases.liferay.com/tools/ide/eclipse/juno/nightly/
c. complete the remaining steps to install Liferay IDE
d. restart Eclipse
5. configure Liferay plugin sdk
a. Window > Preferences > Liferay > Installed Plugin SDKs > Add > Browse
b. [UPDATE]: tick the Open in Eclipse checkbox
c. click "OK" to complete.
6. configure Liferay runtime
a. Window > Preferences > Server > Runtime Environment > Add > Liferay, Inc
b. Select "Liferay v6.1 CE" > Next > Browse > Finish
7. Start Liferay
a. Open "Server" view in eclipse, start "Liferay v6.1 CE Server"
b. once started, access to "http://localhost:8080"
8. Done
Required software:
1. Eclipse
2. Liferay Portal with tomcat bundled
3. Liferay IDE
4. Liferay plugins sdk
Steps:
1. download Liferay Portal and unzip into a directory, eg C:/liferay
2. download Liferay plugin sdk and unzip into a directory, eg C:/liferay
3. Start Eclipse
4. Install Liferay IDE with the following steps
a. Help > Install New Software > Add
b. paste the following url and give it a name
- http://releases.liferay.com/tools/ide/eclipse/juno/nightly/
c. complete the remaining steps to install Liferay IDE
d. restart Eclipse
5. configure Liferay plugin sdk
a. Window > Preferences > Liferay > Installed Plugin SDKs > Add > Browse
b. [UPDATE]: tick the Open in Eclipse checkbox
c. click "OK" to complete.
6. configure Liferay runtime
a. Window > Preferences > Server > Runtime Environment > Add > Liferay, Inc
7. Start Liferay
a. Open "Server" view in eclipse, start "Liferay v6.1 CE Server"
b. once started, access to "http://localhost:8080"
8. Done
No comments:
Post a Comment