Forums

Home » Liferay IDE » English

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Wojtek Zalecki
Liferay Ext Plug-in API jars list is not updated
September 24, 2010 2:32 AM
Answer

Wojtek Zalecki

Rank: New Member

Posts: 14

Join Date: July 7, 2010

Recent Posts

I have the latest (nightly) build of Liferay IDE, installed under Helios Eclipse

After adding a portal dependency jar with the 'Dependencies' editor, the list (Liferay Ext Plug-in API) is not updated and the jar is not on the build path (although file liferay-plugin-package.properties is updated).

Tried also: refreshing list , refreshing project , reopening project/eclipse - no use.

No problem for hook plugin.
Gregory Amerson
RE: Liferay Ext Plug-in API jars list is not updated
September 24, 2010 3:01 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1079

Join Date: February 16, 2010

Recent Posts

Thanks for this report. I have replicated the problem. Also I confirmed that it does work correctly for portlet and hook plugin projects, however, for ext-plugins it does not work. Unfortunately I don't know of a good workaround for you at this point besides copying directly to WEB-INF/lib which I know you don't want to do long term.

Let me take a quick look at this today and I think I should be able to get a fix in tonight's build and the update should be available tomorrow or the next day for you.
Gregory Amerson
RE: Liferay Ext Plug-in API jars list is not updated
September 24, 2010 8:10 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1079

Join Date: February 16, 2010

Recent Posts

The issues has been fixed in SVN. It will be available in tomorrow's nightly build.
Chicon Samu
RE: Liferay Ext Plug-in API jars list is not updated
November 22, 2010 11:25 PM
Answer

Chicon Samu

Rank: Regular Member

Posts: 120

Join Date: August 30, 2007

Recent Posts

This only works when the liferay-plugin-package.properties is in the folder test-ext/WebContent/WEB-INF/ (this folder is created by the liferay ide?!). If the file is in the folder test-ext/docroot/WEB-INF it doesn't work for me!
Gregory Amerson
RE: Liferay Ext Plug-in API jars list is not updated
November 23, 2010 4:58 AM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1079

Join Date: February 16, 2010

Recent Posts

Are you using the latest from nightly update site?

http://releases.liferay.com/tools/ide/eclipse/helios/nightly/
Maarten J
RE: Liferay Ext Plug-in API jars list is not updated
February 8, 2013 2:11 PM
Answer

Maarten J

Rank: New Member

Posts: 18

Join Date: January 25, 2012

Recent Posts

I'm experiencing this problem using Liferay IDE 1.6.0.v201209020947. Is that possible (I want to access org.apache.commons.httpclient.HttpClient in a new class ext-impl/src / ext-service/src

Would be great if anyone can help me out.
Gregory Amerson
RE: Liferay Ext Plug-in API jars list is not updated
February 21, 2013 9:13 PM
Answer

Gregory Amerson

LIFERAY STAFF

Rank: Liferay Legend

Posts: 1079

Join Date: February 16, 2010

Recent Posts

Maarten J:
I'm experiencing this problem using Liferay IDE 1.6.0.v201209020947. Is that possible (I want to access org.apache.commons.httpclient.HttpClient in a new class ext-impl/src / ext-service/src

Would be great if anyone can help me out.



You can open the liferay-plugin-package.properties file in your ext project. From there you can add a Portal Dependency Jar and select the "commons-httpclient.jar". Save the file and then close the project in Eclipse and re-open the project. Once you do if you look in the Ext Plugin API classpath container you will see there is the commons-httpclient.jar available now.

Let me know if you have problems getting this to work.