Prdocut Build fails because of missing requirement [message #500973] |
Mon, 30 November 2009 09:41  |
Eclipse User |
|
|
|
Hi,
I´ve extended my product Build to run four different jobs, which build a *.product file.
Unfortunately there is something which leads to a fail product build, and i neither can control it nor know how to fix it.
I build my product my calling a action from my buckminster.cspex file in hudson. The log says:
Gestartet durch Benutzer anonymous
*** Get list of all files for C:\hudson\jobs\daiDev\workspace
*** Looking for versioned files in buckminster
*** Looking for versioned files in com.example.mail
*** Looking for versioned files in src
*** Looking for versioned files in com
*** Looking for versioned files in example
*** Looking for versioned files in mail
*** Looking for versioned files in icons
*** Looking for versioned files in META-INF
*** Looking for versioned files in .settings
*** Looking for versioned files in com.example.mail.site
*** Looking for versioned files in com.example.connection.twt.prod
*** Looking for versioned files in META-INF
*** Looking for versioned files in com.example.connection.twt.dev
*** Looking for versioned files in META-INF
*** Looking for versioned files in com.example.connection.dai.prod
*** Looking for versioned files in META-INF
*** Looking for versioned files in com.example.connection.dai.dev
*** Looking for versioned files in META-INF
*** Looking for versioned files in com.example.configuration.twt.prod
*** Looking for versioned files in com.example.configuration.twt.dev
*** Looking for versioned files in com.example.configuration.dai.prod
*** Looking for versioned files in com.example.configuration.dai.dev
*** Looking for versioned files in com.example.mail.product
*** Looking for versioned files in build
*** done
*** Performing checkout
*** done
Commandline:
java -Dbuckminster.output.root=/C:/hudson/jobs/daiDev/workspace//buckminster.output -Dbuckminster.temp.root=/C:/hudson/jobs/daiDev/workspace//buckminster.temp -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application org.eclipse.buckminster.cmdline.headless -data /C:/hudson/jobs/daiDev/workspace/ --loglevel info -S C:\hudson\jobs\daiDev\builds\2009-11-30_14-47-41/commands.txt INFO: setpref 'targetPlatformPath=/C:/targetPlatform'
targetPlatformPath set to the value '/C:/targetPlatform'
INFO: import '/C:/hudson/jobs/daiDev/workspace//com.example.mail.site/site.cquery'
INFO: Import complete.
INFO: perform 'com.example.mail.product#create.product.dai.dev.zip'
INFO: [start com.example.connection.dai.dev:osgi.bundle$1.4.3#eclipse.build]
INFO: [end com.example.connection.dai.dev:osgi.bundle$1.4.3#eclipse.build]
INFO: [start com.example.connection.dai.prod:osgi.bundle$1.4.3#eclipse.build]
INFO: [end com.example.connection.dai.prod:osgi.bundle$1.4.3#eclipse.build]
INFO: [start com.example.connection.twt.dev:osgi.bundle$1.4.3#eclipse.build]
INFO: [end com.example.connection.twt.dev:osgi.bundle$1.4.3#eclipse.build]
INFO: [start com.example.connection.twt.prod:osgi.bundle$1.4.3#eclipse.build]
INFO: [end com.example.connection.twt.prod:osgi.bundle$1.4.3#eclipse.build]
INFO: [start com.example.mail:osgi.bundle$1.4.3#eclipse.build]
INFO: [end com.example.mail:osgi.bundle$1.4.3#eclipse.build]
INFO: [start com.example.mail:osgi.bundle$1.4.3#source.bundle.jar]
INFO: [end com.example.mail:osgi.bundle$1.4.3#source.bundle.jar]
INFO: [start com.example.mail.product:eclipse.feature$1.0.0.qualifier#site.p2]
INFO: [end com.example.mail.product:eclipse.feature$1.0.0.qualifier#site.p2]
INFO: [start com.example.mail.product:eclipse.feature$1.0.0.qualifier#create.product.dai.dev]
[ant] C:\Buckminsterheadless\plugins\org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
[ant] file:/C:/hudson/jobs/daiDev/workspace/buckminster.output/com.example.mail.product_1.0.0-eclipse.feature/site.p2/
[ant] C:\hudson\jobs\daiDev\workspace\buckminster.output\com.example.mail.product_1.0.0-eclipse.feature\daiDev
[ant] Cannot complete the install because one or more required items could not be found.
[ant] Software being installed: MAIL 1.0.0 (MAIL.DAI.DEV 1.0.0)
[ant] Missing requirement: MAIL 1.0.0 (MAIL.DAI.DEV 1.0.0) requires 'com.example.mail.product.feature.group [1.0.0.qualifier]' but it could not be found
[ant] Application failed, log file location: C:\Buckminsterheadless\configuration\1259588885781.log
ERROR: org.eclipse.core.runtime.CoreException: C:\hudson\jobs\daiDev\workspace\com.example.mail.product\build\product.ant:22: Java returned: 13
org.eclipse.core.runtime.CoreException: C:\hudson\jobs\daiDev\workspace\com.example.mail.product\build\product.ant:22: Java returned: 13
at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:189)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:352)
at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:281)
at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:201)
at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:151)
at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:507)
at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:335)
at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:350)
at org.eclipse.buckminster.core.commands.Perform.internalRun(Perform.java:118)
at org.eclipse.buckminster.core.commands.WorkspaceCommand.run(WorkspaceCommand.java:191)
at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(AbstractCommand.java:155)
at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:341)
at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:135)
at org.eclipse.buckminster.cmdline.Headless.start(Headless.java:189)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: C:\hudson\jobs\daiDev\workspace\com.example.mail.product\build\product.ant:22: Java returned: 13
at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:622)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:344)
... 25 more
C:\hudson\jobs\daiDev\workspace\com.example.mail.product\build\product.ant:22: Java returned: 13
Caused by:
Finished: FAILURE
The weird thing is, that 3 of 4 of my configured jobs work and this error appeared after changing the code in one of the 4 products.
So I tried to analyze this error and created a copy of a hudson job which was building successfully. The weird thing was that the copy of the job did fail while the original job worked. Both jobs had the exact same configuration so analyzed the workspace folder of the job.
After a while I recognized, that my original job which built successful contained more files in the buckminster.output folder.
The main point which caused the build to fail was, that in the original job there were two jar files in the site/features/ folder (com.example.product & com.example.product.source .. jar).
If I copied these files manually to the copied job, where they were missing, the job did end successful.
So how can I achieve that these jar files are always copied / generated ...?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.17854 seconds