Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Headless build fails generating an exception
Headless build fails generating an exception [message #604125] Wed, 13 January 2010 12:48 Go to next message
Giuseppe Montalto is currently offline Giuseppe Montalto
Messages: 18
Registered: July 2009
Junior Member
Hi all!

I'm unsuccessfully :cry: attempting to make my headless build system working with a product based on Galileo (3.5.1, actually) using the p2 Product build.

Every attempt ends with an exception (see below).

I was wondering if anyone has ever come across such a kind of error...

I've also googled a lot, with no success; I'm not that much skilled on PDE and Equinox/p2...

Note that, the previous versions of the product (incidentally, it's named STWorkbench), which were based on older Eclipse releases (up to 3.4.x) didn't include the p2 stuff.

some useful info, in no particular order:


I actually build from a .product;
I'm keeping Eclipse's default xml build scripts untouched;
Build attempts are always performed on the same Linux host (which, incidentally, is still able to build the former versions of the product);
I'm building a fully branded application based on Eclipse+CDT+custom plugins, not an RCP;
several modified eclipse and cdt plug-ins are used (including org.eclipse.equinox.launcher, org.eclipse.pde.core and org.eclipse.pde.ui);


this is the command line that actually gets executed:


java -jar /u/guiteam/builder/eclipse/plugins/org.eclipse.equinox.launc her_1.0.201.R35x_v20090715.jar -application org.eclipse.ant.core.antRunner -buildfile /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml -Dbuilder=/u/guiteam/builder/st_eclipse/delivery/ant -DstworkbenchSourceDir=/u/guiteam/builder/st_eclipse -Dbase=/u/guiteam/builder -verbose -debug


and here's a snippet of the log, including the exception at the end:



(...)

Adding reference: Build a Product
Setting ro project property: ant.file.Build a Product -> /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml
Project base dir set to: /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild
+Target:
+Target: main
+Target: generateFeature
Override ignored for property "allElementsFile"
Importing file /u/guiteam/builder/eclipse_5.0.0/plugins/org.eclipse.pde.bui ld_3.5.1.R35x_20090820/scripts/build.xml from /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml
parsing buildfile /u/guiteam/builder/eclipse_5.0.0/plugins/org.eclipse.pde.bui ld_3.5.1.R35x_20090820/scripts/build.xml with URI = file:/u/guiteam/builder/eclipse_5.0.0/plugins/org.eclipse.pd e.build_3.5.1.R35x_20090820/scripts/build.xml
Setting ro project property: ant.file.Build All Elements -> /u/guiteam/builder/eclipse_5.0.0/plugins/org.eclipse.pde.bui ld_3.5.1.R35x_20090820/scripts/build.xml
Already defined in main or a previous import, ignore main
+Target: Build All Elements.main
+Target: preBuild
+Target: Build All Elements.preBuild
+Target: processRepos
+Target: Build All Elements.processRepos
+Target: fetch
+Target: Build All Elements.fetch
+Target: generate
+Target: Build All Elements.generate
+Target: process
+Target: Build All Elements.process
+Target: assemble
+Target: Build All Elements.assemble
+Target: package
+Target: Build All Elements.package
+Target: postBuild
+Target: Build All Elements.postBuild
+Target: clean
+Target: Build All Elements.clean
Override ignored for property "builder"
Override ignored for property "builderDirectory"
Override ignored for property "buildProperties"
[property] Loading /u/guiteam/builder/st_eclipse/delivery/ant/build.properties
Override ignored for property "javacTarget"
Override ignored for property "flattenDependencies"
Override ignored for property "skipBase"
Override ignored for property "eclipseBaseURL"
Override ignored for property "baseos"
Override ignored for property "collectingFolder"
Override ignored for property "p2.gathering"
Override ignored for property "mapsCheckoutTag"
Override ignored for property "timestamp"
Override ignored for property "eclipseURL"
Override ignored for property "configs"
Override ignored for property "p2.artifact.repo.name"
Override ignored for property "mapsRepo"
Override ignored for property "p2.director.profile"
Override ignored for property "buildType"
Override ignored for property "skipMaps"
Override ignored for property "javacSource"
Override ignored for property "mapsRoot"
Override ignored for property "basews"
Override ignored for property "p2.flavor"
Override ignored for property "p2.artifact.repo"
Override ignored for property "p2.publish.artifacts"
Override ignored for property "p2.build.repo"
Override ignored for property "generate.p2.metadata"
Override ignored for property "mapsTagTag"
Override ignored for property "zipargs"
Override ignored for property "transformedRepoLocation"
Override ignored for property "archivePrefix"
Override ignored for property "product"
Override ignored for property "p2.metadata.repo"
Override ignored for property "javacFailOnError"
Override ignored for property "buildId"
Override ignored for property "buildDirectory"
Override ignored for property "logExtension"
Override ignored for property "basearch"
Override ignored for property "p2.director.log"
Override ignored for property "p2.product.qualifier"
Override ignored for property "buildLabel"
Override ignored for property "p2.metadata.repo.name"
Override ignored for property "javacDebugInfo"
Override ignored for property "skipFetch"
Override ignored for property "baseLocation"
Override ignored for property "tarargs"
Override ignored for property "eclipseBuildId"
Override ignored for property "javacVerbose"
Override ignored for property "runPackager"
[available] Unable to find /u/guiteam/builder/st_eclipse/delivery/ant/customTargets.xml to set property customTargets
Override ignored for property "customTargets"
Override ignored for property "genericTargets"
Override ignored for property "pluginPath"
Override ignored for property "pluginList"
Override ignored for property "featureList"
Override ignored for property "includeLaunchers"
Override ignored for property "generatedBuildProperties"
Build sequence for target(s) `generateFeature' is [generateFeature]
Complete build sequence is [generateFeature, postBuild, Build All Elements.main, assemble, Build All Elements.postBuild, processRepos, package, Build All Elements.processRepos, main, Build All Elements.process, Build All Elements.generate, Build All Elements.preBuild, Build All Elements.package, Build All Elements.fetch, process, Build All Elements.clean, fetch, clean, generate, Build All Elements.assemble, preBuild, ]
[antcall] Entering /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml...
Adding reference: eclipse.ant.targetVector
Build sequence for target(s) `generateFeature' is [generateFeature]
Complete build sequence is [generateFeature, postBuild, Build All Elements.main, assemble, Build All Elements.postBuild, processRepos, package, Build All Elements.processRepos, main, Build All Elements.process, Build All Elements.generate, Build All Elements.preBuild, Build All Elements.package, Build All Elements.fetch, process, Build All Elements.clean, fetch, clean, generate, Build All Elements.assemble, preBuild, ]

generateFeature:
[eclipse.generateFeature] Some inter-plug-in dependencies have not been satisfied.
[eclipse.generateFeature] Bundle org.eclipse.birt.chart.examples:
[eclipse.generateFeature] Another singleton version selected: org.eclipse.birt.chart.examples_2.5.1.v20090821
[eclipse.generateFeature] Bundle org.eclipse.birt.report.data.oda.jdbc.dbprofile:
[eclipse.generateFeature] Another singleton version selected: org.eclipse.birt.report.data.oda.jdbc.dbprofile_2.5.1.v20090 821
[eclipse.generateFeature] Bundle org.eclipse.birt.report.data.bidi.utils.ui:

(lots of...)

[eclipse.generateFeature] Bundle org.eclipse.xsd.mapping.editor:
[eclipse.generateFeature] Another singleton version selected: org.eclipse.xsd.mapping.editor_2.5.0.v200906151043
[antcall] Exiting /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml.
BUILD FAILED
/u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml:36: The following error occurred while executing this line:
/u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml:64: java.lang.IllegalArgumentException: invalid format
at org.apache.tools.ant.ProjectHelper.addLocationToBuildExcepti on(ProjectHelper.java:508)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:418)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.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.ja va:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:622)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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: /u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml:64: java.lang.IllegalArgumentException: invalid format
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:116)
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.ja va:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
... 35 more
Caused by: java.lang.IllegalArgumentException: invalid format
at org.osgi.framework.Version.<init>(Version.java:147)
at org.eclipse.pde.internal.build.Utils.createVersionRange(Util s.java:103)
at org.eclipse.pde.internal.build.site.BuildTimeSite.findFeatur e(BuildTimeSite.java:254)
at org.eclipse.pde.internal.build.FeatureGenerator.createFeatur e(FeatureGenerator.java:405)
at org.eclipse.pde.internal.build.FeatureGenerator.generate(Fea tureGenerator.java:147)
at org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask.ru n(FeatureGeneratorTask.java:53)
at org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask.ex ecute(FeatureGeneratorTask.java:35)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
... 43 more
--- Nested Exception ---
/u/guiteam/builder/eclipse/plugins/org.eclipse.pde.build_3.5 .1.R35x_20090820/scripts/productBuild/productBuild.xml:64: java.lang.IllegalArgumentException: invalid format
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:116)
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.ja va:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.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.ja va:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:622)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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: java.lang.IllegalArgumentException: invalid format
at org.osgi.framework.Version.<init>(Version.java:147)
at org.eclipse.pde.internal.build.Utils.createVersionRange(Util s.java:103)
at org.eclipse.pde.internal.build.site.BuildTimeSite.findFeatur e(BuildTimeSite.java:254)
at org.eclipse.pde.internal.build.FeatureGenerator.createFeatur e(FeatureGenerator.java:405)
at org.eclipse.pde.internal.build.FeatureGenerator.generate(Fea tureGenerator.java:147)
at org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask.ru n(FeatureGeneratorTask.java:53)
at org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask.ex ecute(FeatureGeneratorTask.java:35)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
... 43 more
--- Nested Exception ---
java.lang.IllegalArgumentException: invalid format
at org.osgi.framework.Version.<init>(Version.java:147)
at org.eclipse.pde.internal.build.Utils.createVersionRange(Util s.java:103)
at org.eclipse.pde.internal.build.site.BuildTimeSite.findFeatur e(BuildTimeSite.java:254)
at org.eclipse.pde.internal.build.FeatureGenerator.createFeatur e(FeatureGenerator.java:405)
at org.eclipse.pde.internal.build.FeatureGenerator.generate(Fea tureGenerator.java:147)
at org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask.ru n(FeatureGeneratorTask.java:53)
at org.eclipse.pde.internal.build.tasks.FeatureGeneratorTask.ex ecute(FeatureGeneratorTask.java:35)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.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.ja va:1337)
at org.apache.tools.ant.helper.SingleCheckExecutor.executeTarge ts(SingleCheckExecutor.java:38)
at org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor .executeTargets(EclipseSingleCheckExecutor.java:30)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget. java:105)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.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.ja va:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
at org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:622)
at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:494)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
at org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)


I didn't paste the whole log because it's quite long.
I guess the content of the build.properties file can be useful too:


product=${stworkbenchSourceDir}/plugins/com.st.stworkbench.p roduct/stw.product

runPackager=true
allowBinaryCycles=true

archivePrefix=eclipse
collectingFolder=${archivePrefix}

configs=win32, win32, x86 & linux, gtk, x86

zipargs=
tarargs=

buildDirectory=${stworkbenchSourceDir}
buildType=I
buildId=stworkbench
buildLabel=${buildType}.${buildId}
timestamp=007

baseLocation=${base}/eclipse
baseos=linux
basews=gtk
basearch=x86

skipBase=true
eclipseURL=<url for eclipse download site>
eclipseBuildId=<Id of Eclipse build to get>
eclipseBaseURL=${eclipseURL}/eclipse-platform-${eclipseBuild Id}-win32.zip

skipMaps=true
mapsRepo=:pserver:anonymous@example.com/path/to/repo
mapsRoot=path/to/maps
mapsCheckoutTag=HEAD
mapsTagTag=v${buildId}

skipFetch=true

logExtension=.log

javacDebugInfo=false
javacFailOnError=true
javacVerbose=true
javacSource=1.6
javacTarget=1.6


flattenDependencies=true
p2.gathering=true

p2.build.repo=file:${buildDirectory}/buildRepo
generate.p2.metadata=true
p2.metadata.repo=file:${buildDirectory}/repo
p2.artifact.repo=file:${buildDirectory}/repo
p2.metadata.repo.name=MetaRepo
p2.artifact.repo.name=ArtifactRepo
p2.flavor=tooling
p2.product.qualifier=${buildId}
p2.publish.artifacts=true
transformedRepoLocation=${base}/eclipse/transformed
p2.director.log=${base}/eclipse/DirectorLog
p2.director.profile=stworkbench


Feel free to ask for any further detail.

Regards,
Giuseppe.
Re: Headless build fails generating an exception [message #604144 is a reply to message #604125] Thu, 14 January 2010 06:11 Go to previous message
Mickael Istria is currently offline Mickael Istria
Messages: 738
Registered: July 2009
Location: Grenoble, France
Senior Member
Hello Giuseppe,

Your problem may come from the version you set in your .product. When using a p2-build, this version must be OSGi-friendly, that means it has to be something like 1.0.0.qualifier. Otherwise, p2 does not succeed to create an installation unit for your application.

Hope that helps

--
Mickael Istria - BonitaSoft S.A.
http://www.bonitasoft.com/products/downloads.php
Previous Topic:PDE Headless for building features not an RCP application
Next Topic:Source code for Plug-in Examples
Goto Forum:
  


Current Time: Sat Aug 02 02:33:32 EDT 2014

Powered by FUDForum. Page generated in 0.02717 seconds