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 02:17
Eike Stepper is currently offline Eike Stepper
Messages: 5503
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: Fri Aug 29 18:28:29 EDT 2014

Powered by FUDForum. Page generated in 0.01656 seconds