Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » headless build fails - launcher fragment not found
headless build fails - launcher fragment not found [message #643603] Tue, 07 December 2010 10:26 Go to next message
Thomas Haskes is currently offline Thomas Haskes
Messages: 147
Registered: July 2009
Senior Member
Hi all,

I have set up a headless build for a rcp-product which sometimes fails
claiming that the native (windows) launcher artifact was not found. The
strange thing is that it does not happen all the time. Im using Hudson
to trigger the build process, and looking at the history I see that it
works well for two or three builds, then fails one, two, three times in
a row, then works again for a few builds. I have tried so many things to
figure out what actions could cause the build to fail, but I just
couldn't, it looks totally indeterministic to me, which is why do not
have any idea where I could even begin to look for the error.

Does that sound familiar to one of you guys? Any ideas where I could
have a look at?

Any help would be greatly appreciated, as this behavior is REALLY
annoying. Everytime I want to start a build it fails, and I normally
need two or three attempts until it succeeds.

I'm using eclipse 3.5 for the headless build on the server, compiling
against a target platform that contains the 3.6.1 rcp sdk and delta
pack. I had a look into the packager script and noticed that it is
looking for a directory. I found that on every build that failed the
build/tmp/<appName>/plugins/ - folder does contain the fragment, but as
a jar-archive, not as a directory. Maybe this is a hint.

Here is the last snippet of the build log.

....
assemble.archive:

customAssembly:

BUILD FAILED
D:\hudson\jobs\Lisa_Rcp_Deploy\workspace\com.tp.releng.deplo y.rcp\rcpAppBuilder.xml:44:
The following error occurred while executing this line:
D:\eclipse35\plugins\org.eclipse.pde.build_3.5.1.R35x_200908 20\scripts\productBuild\productBuild.xml:51:
The following error occurred while executing this line:
D:\eclipse35\plugins\org.eclipse.pde.build_3.5.1.R35x_200908 20\scripts\build.xml:129:
The following error occurred while executing this line:
D:\eclipse35\plugins\org.eclipse.pde.build_3.5.1.R35x_200908 20\templates\headless-build\customTargets.xml:12:
The following error occurred while executing this line:
D:\eclipse35\plugins\org.eclipse.pde.build_3.5.1.R35x_200908 20\scripts\productBuild\allElements.xml:20:
The following error occurred while executing this line:
D:\eclipse35\plugins\org.eclipse.pde.build_3.5.1.R35x_200908 20\scripts\genericTargets.xml:192:
The following error occurred while executing this line:
D:\hudson\jobs\Lisa_Rcp_Deploy\workspace\com.tp.releng.deplo y.rcp\build\package.org.eclipse.pde.build.container.feature. all.xml:24:
The following error occurred while executing this line:
D:\hudson\jobs\Lisa_Rcp_Deploy\workspace\com.tp.releng.deplo y.rcp\build\package.org.eclipse.pde.build.container.feature. all.xml:15:
The following error occurred while executing this line:
D:\eclipse35\plugins\org.eclipse.pde.build_3.5.1.R35x_200908 20\scripts\productBuild\allElements.xml:54:
The following error occurred while executing this line:
D:\hudson\jobs\Lisa_Rcp_Deploy\workspace\com.tp.releng.deplo y.rcp\build\package.org.eclipse.pde.build.container.feature. win32.win32.x86.xml:100:
The following error occurred while executing this line:
D:\hudson\jobs\Lisa_Rcp_Deploy\workspace\com.tp.releng.deplo y.rcp\build\package.org.eclipse.pde.build.container.feature. win32.win32.x86.xml:344:
D:\hudson\jobs\Lisa_Rcp_Deploy\workspace\com.tp.releng.deplo y.rcp\build\tmp\lisa\plugins\org.eclipse.equinox.launcher.wi n32.win32.x86_1.1.1.R36x_v20100810
not found.
Re: headless build fails - launcher fragment not found [message #740565 is a reply to message #643603] Tue, 18 October 2011 12:49 Go to previous message
William  is currently offline William
Messages: 1
Registered: October 2011
Junior Member
Hi,
I'm having what I think is the same problem, using Eclipse 3.6.2, and am interested in whether or not you found a solution, or a good workaround. I'm thinking that the necessary plugin(s) are being looked for in the eclipse/plugins folder and not the deltapack one.
Previous Topic:Get something similar to bundleClasspathResolvers for development/compilation-time
Next Topic:Build fails on my Indigo but succeeds on my friends Indigo
Goto Forum:
  


Current Time: Wed Aug 20 18:26:21 EDT 2014

Powered by FUDForum. Page generated in 0.01745 seconds