I’ve just spent some time updating my example showing how to set up PDE Build and the Eclipse Testing Framework. I’ve generally cleaned things up and I’m now creating the test environment in the correct way.
As a special bonus, I’ve also thrown in coverage analysis using EMMA. And before people ask, yes I have tried to use Clover with PDE Build, but have had little luck due to Clover’s dependence on a specialized Java complier. If anyone has gotten this to work, I’d love to hear about it.
And finally, I had to change this example to use a test plug-in instead of a test fragment. For some reason when running Eclipse 3.4 (maybe related to p2?), the ETF is not finding tests in fragments. If anyone has any ideas here as well, please let me know.
You can download the new example here.
NOTE: I’ve discovered that the EMMA instrumentation task fails if you’re running the script inside of Eclipse and you have spaces in your workspace path. Avoid spaces in your path and you should be good to go.
Update – October 6, 2009: The sample projects have now been updated to work with Eclipse 3.5.1


Hi Patrick,
That fix seemed to work but I have one more question. The generated launcher.exe does not include the product branding icons (the icon is still the eclipse icon in windows explorer). Do you see this problem or is it just something local to my machine?
BTW, thanks for this example. Its the only one I’ve found that works :)
Thanks in advance,
Darragh
Hi Darragh,
Did you add an icon of your own to the example? I just left it as the default Eclipse icon. If you have added an icon, are you specifying separate bitmaps or a single ico file. FWIW, I’ve had better luck with the ico file in the past.
— Patrick
Hi !
Launching the build, I have this error, during the pde-build stage :
[java] C:\tools\cpwr-eclipse-SDK-3.5.1-win32\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\productBuild.xml:36: The following error occurred while executing this line:
[java] C:\tools\cpwr-eclipse-SDK-3.5.1-win32\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\productBuild.xml:64: java.lang.NullPointerException
[java] Total time: 1 second
BUILD FAILED
C:\workspaces\workspace-temp\com.rcpquickstart.helloworld.build-and-test\build.xml:76: Java returned: 13
Total time: 7 seconds
Actually, I can’t figure out what’s happening, do you guys or Patrick have any ideas ?
Thanks for your help !
Anthony
Hi Anthony,
Can you verify that you’ve added the RCP Delta Pack to your build target? If this isn’t the problem, feel free to email me the complete log file. It’s hard to diagnose these types of issues without having more information.
— Patrick
Hello !
With further investigation, I found out that the second step of “generateFeature” during the pde build, was launching this exception…
is in productBuild.xml , I changed true with false, and everything worked (although the eclipse.exe is not included in the final zip; tests and coverage are ok)
Now I tried to apply this build to my plugins and features, but I’m facing a new problem : during the launch of the test, I have a :java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
exception; I was actually using Corona Testing Framework since then, to launch my product and test (worked fine under eclipse)
Thanks for your answer, à bientôt !
Hi Anthony,
This usually means that bundles are not being resolved and cannot be started. Do you get any messages before the exception indicating that one or bundles cannot be started?
— Patrick
Hello !
well, besides this exception, no warnings nor errors are mentioned during the build.
The failure occurs during the target “java-test” called by “core-test”, located in ${eclipse-home}/plugins/org.eclipse.test_3.2.0/library.xml called by your build.xml.
the thing is, my test plugins project still define dependencies to corona.test.application , I tried to add dependencies to org.eclipse.core.runtime (just like you did in your helloworld project), but the error remained…
I shall try it on a smaller project, mine contains more than 20 bundles
Thanks for the help ! Much appreciated !
Hi Patrick,
I am using your RCP quick start PDE build demo for my RAP application. This might not be the right forum for RAP PDE build issues; if not, I would appreciate any pointers or references you might have.
I followed the steps and created a product configuration in my main plug-in with my only feature as a dependency. In the plugin.xml, there is a products extension added with the application being org.eclipse.ui.ide.workbench. I modified the build.properties and build.xml to copy the feature and plug-ins (only the ones that I have created, none of eclipse’).
I am running the build and I am getting the following error:
Buildfile: D:\dev\nms\CPBWeb\base\com.alcatel_lucent.cpb.rap.build\build.xml
init:
[mkdir] Created dir: d:\cpb-build
[mkdir] Created dir: d:\cpb-build\plugins
[mkdir] Created dir: d:\cpb-build\features
[copy] Copying 1313 files to d:\cpb-build\plugins
[copy] Copying 9 files to d:\cpb-build\features
pde-build:
[echo] Executing c:/galileo/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
[java] Buildfile: c:/galileo/plugins/org.eclipse.pde.build_3.5.1.R35x_20090820/scripts/productBuild/productBuild.xml
[java] main:
[java] preBuild:
[java] preSetup:
[java] checkLocalMaps:
[java] getMapFiles:
[java] postSetup:
[java] checkLocalBase:
[java] getBaseComponents:
[java] processRepos:
[java] generateFeature:
[java] fetch:
[java] generateFeature:
[java] [eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.generateFeature] Bundle org.eclipse.compare.win32:
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.compare_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.core.filesystem_[1.2.0,2.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.ui.forms_[3.4.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.ui.workbench_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jface_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.core.resources_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.aix.ppc:
…
(it goes on listing missing bundles for other configs).
So far, I’ve built my feature using the IDE (pde.exportFeatures) but I need to setup a headless build.
I would appreciate any help on this.
Salim.
Hi Salim,
The messages you’re getting are pretty standard and are caused by RCP Delta Pack fragments you’re not actually using. Could you either post the portion of the log output just above the failure, or else free to email me the complete log and I’ll take a look at it.
— Patrick
Hi Patrick,
Thanks for the prompt response. I had a second look at the build log, I am seeing this error at the end:
[java] BUILD FAILED
[java] c:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\productBuild.xml:39: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\build.xml:91: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\templates\headless-build\customTargets.xml:12: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\allElements.xml:20: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\genericTargets.xml:106: Unable to find plug-in: org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. Please check the error log for more details.
[java] Total time: 2 seconds
BUILD FAILED
D:\dev\nms\CPBWeb\base\com.alcatel_lucent.cpb.rap.build\build.xml:61: Java returned: 13
In the build.properties, some of the properties:
pdeBuildPluginVersion=3.5.1.R35x_20090820
equinoxLauncherPluginVersion=1.0.201.R35x_v20090715
base=c:/eclipseRAP12BuildTarget (where eclipseRAP12BuildTarget is the RAP 1.2 target platform + delta pack).
eclipseLocation=c:/galileo (installed is 3.5.1.M20090917-0800)
I noticed that plug-in org.eclipse.equinox.launcher_1.0.201.R35x_v20090715 is present in galileo/plugins (it is to launch the ant runner) but not in eclipseRAP12BuildTarget. Do you think this is the cause? Let me know if there is any other log I can forward (is there one under the workspace/.metadata?).
Thanks again for your help,
Salim.
Hi Salim,
Are there any messages before the first BUILD FAILED message? This is where you usually find some decent information.
My guess is that this has something to do with building RAP as opposed to RCP. I haven’t tried to do this myself, but I would assume that the RAP target platform would not contain a launcher, as it’s never launched from an executable. PDE Build is assuming that there is a launcher executable that needs to be branded (inserting an icon and renaming).
Is it possible that you should be building the RAP application as a feature instead of a product? Perhaps someone from the RAP team could shed more light on this.
— Patrick
Hi Patrick,
I am including the full log at the end of this message just in case I missed something.
I have been using the pde.exportFeatures (a la org.eclipse.rap.demo.feature) to generate a feature but it is asynchronous (starts a job in the background) and it is only run from the IDE so it cannot be used for headless builds.
The eclipse RAP group has been pointing to the PDE build as the official way to do headless builds but with no details or any indication that it has been tested. I guess it explains my struggle here.
I appreciate your prompt responses and your contribution to simplify PDE and other matters to the community.
Thanks,
Salim.
P.S. Here is the full log:
Buildfile: D:\dev\nms\CPBWeb\base\com.alcatel_lucent.cpb.rap.build\build.xml
init:
[mkdir] Created dir: d:\cpb-build
[mkdir] Created dir: d:\cpb-build\plugins
[mkdir] Created dir: d:\cpb-build\features
[copy] Copying 1316 files to d:\cpb-build\plugins
[copy] Copying 9 files to d:\cpb-build\features
pde-build:
[echo] Executing c:/galileo/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
[java] Buildfile: c:/galileo/plugins/org.eclipse.pde.build_3.5.1.R35x_20090820/scripts/productBuild/productBuild.xml
[java] main:
[java] preBuild:
[java] preSetup:
[java] checkLocalMaps:
[java] getMapFiles:
[java] postSetup:
[java] checkLocalBase:
[java] getBaseComponents:
[java] processRepos:
[java] generateFeature:
[java] fetch:
[java] generateFeature:
[java] [eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.generateFeature] Bundle org.eclipse.compare.win32:
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.compare_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.core.filesystem_[1.2.0,2.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.ui.forms_[3.4.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.ui.workbench_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jface_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.core.resources_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.aix.ppc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.hpux.ia64_32:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.hpux.PA_RISC:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.linux.ppc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.linux.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.linux.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.macosx:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.qnx.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.solaris.sparc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.filesystem.win32.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.net.linux.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.net_1.1.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.net.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.net_1.1.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.net.win32.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.net_1.1.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.core.resources.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.core.resources_[3.5.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.carbon.macosx:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.cocoa.macosx.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.cocoa.macosx:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.linux.ppc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.linux.s390x:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.linux.s390:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.linux.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.linux.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.solaris.sparc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.gtk.solaris.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.motif.aix.ppc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.motif.hpux.ia64_32:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.motif.hpux.PA_RISC:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.motif.linux.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.motif.solaris.sparc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.win32.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.win32.win32.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.launcher.wpf.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.security.macosx:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.security_[1.0.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.equinox.security.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.equinox.security_[1.0.0,2.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.jdt.launching.macosx:
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.debug.core_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jdt.debug_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jdt.core_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jdt.launching_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Bundle org.eclipse.jdt.launching.ui.macosx:
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jdt.launching_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.debug.core_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jdt.core_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.jface_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Missing required plug-in org.eclipse.ui_[3.5.0,4.0.0).
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.carbon.macosx:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.cocoa.macosx.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.cocoa.macosx:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.linux.ppc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.linux.s390x:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.linux.s390:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.linux.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.linux.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.solaris.sparc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.gtk.solaris.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.motif.aix.ppc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.motif.hpux.ia64_32:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.motif.hpux.PA_RISC:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.motif.linux.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.motif.solaris.sparc:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.photon.qnx.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.win32.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.win32.win32.x86_64:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.swt.wpf.win32.x86:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.ui.carbon:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.ui_[3.2.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.ui.cocoa:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.ui_[3.5.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.ui.win32:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.ui.ide_[3.2.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.update.core.linux:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.update.core_[3.0.0,4.0.0) has not been found.
[java] [eclipse.generateFeature] Bundle org.eclipse.update.core.win32:
[java] [eclipse.generateFeature] Host plug-in org.eclipse.update.core_[3.0.0,4.0.0) has not been found.
[java] generate:
[java] preGenerate:
[java] allElements:
[java] allElementsDelegator:
[java] init:
[java] generateScript:
[java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
[java] [eclipse.buildScript] Bundle org.eclipse.compare.win32:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.compare_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.filesystem_[1.2.0,2.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.forms_[3.4.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui.workbench_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jface_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.core.resources_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.aix.ppc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.hpux.ia64_32:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.hpux.PA_RISC:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.linux.ppc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.linux.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.linux.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.macosx:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.qnx.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.0.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.solaris.sparc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.filesystem.win32.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.filesystem_[1.1.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.net.linux.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.net_1.1.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.net.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.net_1.1.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.net.win32.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.net_1.1.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.core.resources.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.core.resources_[3.5.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.carbon.macosx:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.cocoa.macosx.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.cocoa.macosx:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.linux.ppc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.linux.s390x:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.linux.s390:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.linux.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.linux.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.solaris.sparc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.gtk.solaris.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.motif.aix.ppc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.motif.hpux.ia64_32:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.motif.hpux.PA_RISC:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.motif.linux.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.motif.solaris.sparc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.win32.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.win32.win32.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_1.0.0 has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.launcher.wpf.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.launcher_[1.0.0,1.1.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.security.macosx:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.security_[1.0.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.equinox.security.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.equinox.security_[1.0.0,2.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.macosx:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.core_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.debug_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.core_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.jdt.launching.ui.macosx:
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.launching_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.debug.core_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jdt.core_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.jface_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Missing required plug-in org.eclipse.ui_[3.5.0,4.0.0).
[java] [eclipse.buildScript] Bundle org.eclipse.swt.carbon.macosx:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.cocoa.macosx.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.cocoa.macosx:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.linux.ppc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.linux.s390x:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.linux.s390:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.linux.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.linux.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.solaris.sparc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.gtk.solaris.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.motif.aix.ppc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.motif.hpux.ia64_32:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.motif.hpux.PA_RISC:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.motif.linux.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.motif.solaris.sparc:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.photon.qnx.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.win32.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.win32.win32.x86_64:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.swt.wpf.win32.x86:
[java] [eclipse.buildScript] Host plug-in org.eclipse.swt_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.ui.carbon:
[java] [eclipse.buildScript] Host plug-in org.eclipse.ui_[3.2.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.ui.cocoa:
[java] [eclipse.buildScript] Host plug-in org.eclipse.ui_[3.5.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.ui.win32:
[java] [eclipse.buildScript] Host plug-in org.eclipse.ui.ide_[3.2.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.update.core.linux:
[java] [eclipse.buildScript] Host plug-in org.eclipse.update.core_[3.0.0,4.0.0) has not been found.
[java] [eclipse.buildScript] Bundle org.eclipse.update.core.win32:
[java] [eclipse.buildScript] Host plug-in org.eclipse.update.core_[3.0.0,4.0.0) has not been found.
[java] BUILD FAILED
[java] c:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\productBuild.xml:39: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\build.xml:91: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\templates\headless-build\customTargets.xml:12: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\allElements.xml:20: The following error occurred while executing this line:
[java] C:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\genericTargets.xml:106: Unable to find plug-in: org.eclipse.equinox.launcher_1.0.201.R35x_v20090715. Please check the error log for more details.
[java] Total time: 8 seconds
BUILD FAILED
D:\dev\nms\CPBWeb\base\com.alcatel_lucent.cpb.rap.build\build.xml:61: Java returned: 13
Total time: 2 minutes 25 seconds
Hi Salim,
You can build the feature using PDE Build. Just do the following:
1. Instead of
c:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\productBuild\productBuild.xml
use
c:\galileo\plugins\org.eclipse.pde.build_3.5.1.R35x_20090820\scripts\build.xml
2. Comment out the “product” property in your build.properties file.
3. Add the following lines to your build.properties file:
topLevelElementType = feature
topLevelElementId =
I think it makes more sense to build a RAP app as a feature as it doesn’t have most of the branding elements associated with a product. If there are product-type things associated with RAP, let me know and I can look into this further.
Hope this helps,
— Patrick
Hi Patrick,
Spot on, I am able to successfully build a feature using the points you described. At the end, I get a zipped file that includes the feature and plugins. What I am missing is 2 plugins and a configuration directory that I include in my IDE build (non headless one) and they are defined as resources in my feature:
org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
org.eclipse.update.configurator_3.3.0.v20090312.jar
configuration/config.ini
I want to include these in the headless build zipped package, is there a custom target that I could use to make sure that when the feature is built, these resources are also copied in the proper location?
Much appreciated,
Salim.
Hi Salim,
It’s possible to include files in the install directory by placing them in a root feature. You can find out more here:
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse.pde.doc.user/tasks/pde_rootfiles.htm
I don’t think this would allow you to replace the config.ini, however, as it’s not in the install directory. Can you tell me more about what you’re trying to accomplish? There might be a better way to go about it.
— Patrick
Hi Patrick,
I am targeting a zip file that includes the following layout:
cpb/configuration/config.ini
cpb/features/com.alcatel_lucent.cpb.rap.osgi.feature_…/feature.xml
cpb/plugins/
The goal is to unzip the package, change directory to cpb and run equinox launcher as follows:
java -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -console -consolelog
I added the two additional java archives (namely equinox launcher and eclipse update configurator) in the feature dependencies, so they are now included under the plugins directory of the zipped archive. But I am not sure how to get the configuration directory in the zipped archive.
I am looking right now at your suggestion about root files. Let me know if you think there is a better way.
Thanks,
Salim.
Hi Salim,
I think the root files solution might work for you. Simply create the configuration folder in your feature and have it added to the install directory. It should show up in your archive as “cbp/configuration”.
If this doesn’t work for you, let me know and I’ll try to think of something else.
— Patrick
Hi Patrick,
I have created a test project:
net.sourceforge.clearcase.test
net.sourceforge.clearcase.test.feature
I changed the build.xml to copy these projects in into ${build.dir} however it does not seem that the plugin and the feature is built. What do I need to add?
Second question is: If I have two more test plugin:s can I include those to the test.feature or do I need a feature for each test plugin.
Thanks!
//mike
Hi Mike,
If you’re doing a product build, then the test feature will need to be included in the product configuration (Dependencies tab). If you’re building a feature, you’ll either need to add the test feature as an included feature or run a second build.
For the second question, you can have as many test plugins as you like in one feature.
— Patrick