开发者

Importing Liferay portlet into Eclipse IDE

I haved created a portlet through plugins SDK and wanted to import that into the eclipse ,but it did not imported as it is ,

But after creating the portlet if i give " ant setup-eclipse " then the project get imported into the eclipse .i have searched for this almost 2 days then i found the solution ..

How do i know what all the commands i have in ant . like in the 开发者_开发百科API i will have all the methods where i can see there and get on with my coding work ,how with ant ? how do i know wat all the commands i need to implement ?

Thanks


IF you install the Liferay IDE plugins it has a wizard for importing existing portlets projects that have previously been created by the plugins SDK. There is also a wiki page for how to import existing projects into Eclipse after you have Liferay IDE plugins installed.


In eclipse there is View for "Ant", just like we have views like "Server", "Console", "Outline", "Package Explorer" etc.

This is how you can select the View and see Targets:

  1. Windows --> Show view --> Other --> (Type filter text as Ant)
  2. Now drag your build.xml to this View and voila you can see all the commands or targets available for the build file.

Hope this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜