Liferay Plugin SDK

The Liferay Plugins SDK is a development environment that helps in the development of all types of plugins for Liferay Portal. Following are the plugins supported by Liferay Portal



1. Portlet
2. Theme
3. Layout
4. Hooks

So I want to say to beginners that Plugin SDK is nothing but development environment of Liferay Portal. Lets download it. To download Plugin SDK click here. The link will download a file liferay-plugins-sdk-6.0.6-20110225.zip in your local box. 

Configure Plugin SDK:
To configure plugin sdk follow the following steps
1. Unzip the above zip file in your local box
2. Go inside the unzipped plugin sdk and create a file with name build.${your_user_name}.properties file. Here  ${your_user_name} should be replaced by your user name of your computer. If your computer user name is "john" then your file name should be build.john.properties and if its "test" then it should be build.test.properties ans so on. If you don't know your computer user name then command prompt ant type 'set' and press enter. You will see a screen as bellow where you will see your user name.
3. Open the file and add the following contents

    app.server.type=tomcat
    app.server.dir=G:/liferay/liferay-portal-6.0.6/tomcat-6.0.29
    app.server.deploy.dir=${app.server.dir}/webapps
    app.server.lib.global.dir=${app.server.dir}/lib/ext
    app.server.portal.dir=${app.server.dir}/webapps/ROOT

Here "G:/liferay/liferay-portal-6.0.6/tomcat-6.0.29" is my tomcat path. So you should replace it with your corresponding tomcat path.


That's all about your configuration.


No comments:

Post a Comment