|site.p2 task does not create native launcher [message #633068]
||Fri, 15 October 2010 09:10
| Frank Hoellering
Registered: June 2010
I'm building a product with hudson/buckminster but after an upgrade from buckminster version r11467 no native launcher is created (build for win32 x86 on WinXP).
Investigating further I found out that the problem already appeared in r11496 (and still does in r11582). Doing an svn diff on the helios-maintenance branch led me to the following change which might be the cause:
--- org.eclipse.buckminster.pde/src/java/org/eclipse/buckminster/pde/internal/actor/P2SiteGenerator.java (revision 11467)
+++ org.eclipse.buckminster.pde/src/java/org/eclipse/buckminster/pde/internal/actor/P2SiteGenerator.java (revision 11496)
@@ -40,7 +40,7 @@
@@ -185,9 +185,9 @@
File exeFeature = null;
- IFeatureModel launcherFeature = EclipsePlatformReaderTyp e.getBestFeature(CSpecGenerator.LAUNCHER_FEATURE, null, null);
+ IFeatureModel launcherFeature = PDETargetPlatform.getBestFeature(CSpecGenerator.LAUNCHER_FEATURE, null, null);
if (launcherFeature == null)
- launcherFeature = EclipsePlatformReaderType.getBestFeature(CSpecGenerator.LAUNCHER_FEATURE_3_2, null, null);
+ launcherFeature = PDETargetPlatform.getBestFeature(CSpecGenerator.LAUNCHER_FEATURE_3_2, null, null);
if (launcherFeature != null)
exeFeature = new File(launcherFeature.getInstallLocation());
Before anybody asks, I do not have a dependency to the equinox launchers feature included as it was working without it before. Anyway I was not able to find a update site with the appropriate feature to include, only the whole Equinox SDK feature.
Can somebody give me a hint if this is a bug or if I need some additional configuration to work around this problem?
To reproduce you can use the buckminster tutorial mailapp from buckminster trunk. Materializing the target platform and invoking "create.product" from eclipse runs through but does not create a mailapp.exe.
Thank you in advance,
Powered by FUDForum
. Page generated in 0.01870 seconds