Default Platform created by buckminster [message #527955] |
Sat, 17 April 2010 06:53  |
Eclipse User |
|
|
|
Hello,
I've wondered about the target platform configuration created by
buckminster if no platform (or at least only the runtime platform) is
available.
There is not only a new directory (.buckminster/tp) added but also the
running eclipse platform.
While looking at the Buckminster 3.6 code I've found the following lines.
org.eclipse.buckminster.pde.internal.PDETargetPlatform
getDefaultPlatform()
....
if (dflt == null) {
...
dflt = ((TargetPlatformService)
service).newDefaultTargetDefinition();
IBundleContainer runningInstance =
dflt.getBundleContainers()[0];
IBundleContainer directory =
service.newDirectoryContainer(tpFolder.getLocation().toOSStr ing());
dflt.setBundleContainers(new IBundleContainer[] {
directory, runningInstance });
dflt.setName(defaultTP);
service.saveTargetDefinition(dflt);
}
....
I wonder why? Why is also the 'runningInstance' added? Maybe someone can
give me an advise why this is required.
thx and greetings
Matthias
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03733 seconds