Accepted answer

plugins sdk is an ant-based download that relies on your projects to be in common locations: if you just check out one project, you'll need to have this in a subdirectory of the plugins sdk - e.g. if you are working on a portlet (project name "my-portlet"), this should be located in ${plugins-sdk}/portlets/my-portlet.

in eclipse (or liferay ide) you should configure your plugins sdk by naming it and pointing to the root of your sdk folders. then you can choose to create projects into this sdk (or to import from that sdk)

note that the sourcecode will be located in the sdk directory, not in the eclipse workspace directory.

this is necessary as ide relies on the ant infrastructure to be there and the build.xml files reference common build.xml files in the parent directory. some build processes in liferay ide will trigger ant.

liferay ide 2.0 will also support maven, so this requirement will go away (if you use maven)


ok! i have to check out the project into the {liferay plugin sdk}/portlets folder but not into any other folder.

Related Query

More Query from same tag