Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Virgo » Reading XML file from external location(Is there any way to add external directory to the bundle classpath?)
Reading XML file from external location [message #1061749] Mon, 03 June 2013 18:33 Go to next message
Manish Agarwal is currently offline Manish AgarwalFriend
Messages: 5
Registered: July 2012
Location: Hyderabad
Junior Member
Hi Guys,

I have a requirement where I want to read some XML files from an external location.
Is there any way to add external directory to the bundle classpath?

Somewhere on google I found (http://www.eclipse.org/forums/index.php/t/169684/) that we can use keyword "external" in the Bundle-Classpath header in the MANIFES.MF to add external directory, I tried it but it did not work.

Any help will be greatly appreciated.

Thanks,
Manish
Re: Reading XML file from external location [message #1061851 is a reply to message #1061749] Tue, 04 June 2013 11:24 Go to previous messageGo to next message
Violeta Georgieva is currently offline Violeta GeorgievaFriend
Messages: 278
Registered: October 2010
Senior Member
Please note that this feature is specific only for Equinox.

I'm using the following and it is working as expected
Bundle-ClassPath: .,external:$java.home$/../lib/tools.jar


Regards
Violeta
Re: Reading XML file from external location [message #1061853 is a reply to message #1061851] Tue, 04 June 2013 11:36 Go to previous messageGo to next message
Manish Agarwal is currently offline Manish AgarwalFriend
Messages: 5
Registered: July 2012
Location: Hyderabad
Junior Member
Thanks Violeta.

I think I was making some typo there. It is now working as expected.

Thanks,
Manish
Re: Reading XML file from external location [message #1061887 is a reply to message #1061853] Tue, 04 June 2013 14:13 Go to previous message
Manish Agarwal is currently offline Manish AgarwalFriend
Messages: 5
Registered: July 2012
Location: Hyderabad
Junior Member
Actually I missed the second dollar sign after the env variable.

Thanks,
Manish
Previous Topic:WAB in plan not deployed
Next Topic:Virgo Bundlor + Maven
Goto Forum:
  


Current Time: Thu Apr 25 03:32:21 GMT 2024

Powered by FUDForum. Page generated in 0.02986 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top