Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Where's the bundle pool?
Where's the bundle pool? [message #1075261] Mon, 29 July 2013 06:17
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi,

I've installed Eclipse with the p2 director by using a bundle pool. That's very nice but as a consequence
Platform.getInstallLocation().getURL() does no longer point to a folder that contains plugins/ and features/. Would the
following code correctly determine the folder that contains plugins/ and features/?

String sysPath = System.getProperty("osgi.syspath"); //$NON-NLS-1$
if (sysPath != null) {
File folder = new File(sysPath).getParentFile();
if (folder.isDirectory())
return folder;
}

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Previous Topic:Websocket bundle
Next Topic:PackageAdmin deprecated?
Goto Forum:
  


Current Time: Thu Apr 25 17:54:52 GMT 2024

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

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

Back to the top