Re: [equinox-dev] Resource not found inside bundle

2014-07-29 Thread David Cao
@eclipse.org Date:2014/07/28 16:51 Subject:Re: [equinox-dev] Resource not found inside bundle Sent by:equinox-dev-boun...@eclipse.org -- So I see conflict answers ... To Raymond, I will give a quick try from the Activator of your method. Thank

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread Raymond Auge
That file is not in the classpath of the bundle and so you can't use the resource API. However, you can use the entry API (which talks about the bundle rather than about the bundle's classpath). e.g. URL url = bundle.getEntry(api_mapping.xml); IF you have a class however, and you need to get

[equinox-dev] Resource not found inside bundle

2014-07-28 Thread David Cao
Hello there, I have a bundle jar file basically converted from a .war file, with Bundle-ClassPath set as follow, Bundle-Localization: plugin Bundle-ClassPath: *WEB-INF/classes*, WEB-INF/lib/activation-1.1.jar, WEB-INF/lib/antlr-2.7.5.jar, ... Import-Package: javax.servlet, javax.servlet.http,

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread BJ Hargrave
office: +1 386 848 1781 mobile: +1 386 848 3788 From: Raymond Auge raymond.a...@liferay.com To: Equinox development mailing list equinox-dev@eclipse.org Date: 2014/07/28 16:02 Subject:Re: [equinox-dev] Resource not found inside bundle Sent by:equinox-dev-boun

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread Raymond Auge
development mailing list equinox-dev@eclipse.org Date:2014/07/28 16:02 Subject:Re: [equinox-dev] Resource not found inside bundle Sent by:equinox-dev-boun...@eclipse.org -- That file is not in the classpath of the bundle and so you can't use

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread David Cao
...@us.ibm.com* hargr...@us.ibm.com office: +1 386 848 1781 mobile: +1 386 848 3788 From:Raymond Auge raymond.a...@liferay.com To:Equinox development mailing list equinox-dev@eclipse.org Date:2014/07/28 16:02 Subject:Re: [equinox-dev] Resource not found inside

Re: [equinox-dev] Resource not found inside bundle

2014-07-28 Thread BJ Hargrave
From: David Cao govel...@gmail.com To: Equinox development mailing list equinox-dev@eclipse.org Date: 2014/07/28 16:51 Subject:Re: [equinox-dev] Resource not found inside bundle Sent by:equinox-dev-boun...@eclipse.org So I see conflict answers ... To Raymond, I will give