Where's the bundle pool? [message #1075261] |
Mon, 29 July 2013 02:17 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07186 seconds