Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE build error
PDE build error [message #64901] Mon, 15 June 2009 12:40 Go to next message
Lisa Jett is currently offline Lisa Jett
Messages: 13
Registered: July 2009
Junior Member
I have tried to add the following lines to my PDE build for my application
(as per Andrew's article -
http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html):

generate.p2.metadata=true
p2.metadata.repo = file:${buildDirectory}/repo
p2.artifact.repo = file:${buildDirectory}/repo
p2.flavor = tooling
p2.publish.artifacts=true



But then I get the following error:

generate.p2.metadata:
[p2.generator] Generating metadata for
c:\build\openArbor\temp\eclipse.build\tmp\openarbor.
[p2.generator] Generation completed with success [71 seconds].

customAssembly:
[zip] Updating zip:
c:\build\openArbor\temp\eclipse.build\I.200906150921\2009061 50921-win32.win32.x86.zip
[delete] Deleting directory c:\build\openArbor\temp\eclipse.build\tmp

generate.p2.metadata:
[p2.generator] Generating metadata for null.

BUILD FAILED
C:\ddci_eclipse\oa-lcj-workspace\com.ddci.openarbor.applicat ion\build-product.xml:91:
The following error occurred while executing this line:
C:\ddci_eclipse\oa-lcj-workspace\openarbor.pde.build\build-p de.xml:58: The
following error occurred while executing this line:
C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\productBuild\productBuild.xml:31:
The following error occurred while executing this line:
C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\build.xml:102:
The following error occurred while executing this line:
C:\ddci_eclipse\oa-lcj-workspace\openarbor.pde.build\customT argets.xml:10:
The following error occurred while executing this line:
C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\productBuild\allElements.xml:10:
The following error occurred while executing this line:
C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\genericTargets.xml:165:
The following error occurred while executing this line:
c:\build\openArbor\temp\eclipse.build\package.org.eclipse.pd e.build.container.feature.all.xml:25:
The following error occurred while executing this line:
c:\build\openArbor\temp\eclipse.build\package.org.eclipse.pd e.build.container.feature.all.xml:32:
An error occurred when calling generator.

Can anywone help me resolve this issue?

Thanks,

Lisa Jett
Re: PDE build error [message #64996 is a reply to message #64901] Wed, 17 June 2009 14:31 Go to previous messageGo to next message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
Unfortunately, as you can see, that error message is not particularly
useful in figuring out what went wrong.

Try running ant with "-verbose", this should spew out huge logs and
giant stack traces. Near the end, look for a "Caused by" nested
exception coming out of
" org.eclipse.equinox.internal.p2.metadata.generator.ant.Gener atorTask.execute "

-Andrew

Lisa Jett wrote:
> I have tried to add the following lines to my PDE build for my
> application (as per Andrew's article -
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html):
>
>
> generate.p2.metadata=true p2.metadata.repo = file:${buildDirectory}/repo
> p2.artifact.repo = file:${buildDirectory}/repo p2.flavor = tooling
> p2.publish.artifacts=true
>
>
> But then I get the following error:
>
> generate.p2.metadata:
> [p2.generator] Generating metadata for
> c:\build\openArbor\temp\eclipse.build\tmp\openarbor.
> [p2.generator] Generation completed with success [71 seconds].
>
> customAssembly:
> [zip] Updating zip:
> c:\build\openArbor\temp\eclipse.build\I.200906150921\2009061 50921-win32.win32.x86.zip
>
> [delete] Deleting directory c:\build\openArbor\temp\eclipse.build\tmp
>
> generate.p2.metadata:
> [p2.generator] Generating metadata for null.
>
> BUILD FAILED
> C:\ddci_eclipse\oa-lcj-workspace\com.ddci.openarbor.applicat ion\build-product.xml:91:
> The following error occurred while executing this line:
> C:\ddci_eclipse\oa-lcj-workspace\openarbor.pde.build\build-p de.xml:58:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\productBuild\productBuild.xml:31:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\build.xml:102:
> The following error occurred while executing this line:
> C:\ddci_eclipse\oa-lcj-workspace\openarbor.pde.build\customT argets.xml:10:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\productBuild\allElements.xml:10:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\genericTargets.xml:165:
> The following error occurred while executing this line:
> c:\build\openArbor\temp\eclipse.build\package.org.eclipse.pd e.build.container.feature.all.xml:25:
> The following error occurred while executing this line:
> c:\build\openArbor\temp\eclipse.build\package.org.eclipse.pd e.build.container.feature.all.xml:32:
> An error occurred when calling generator.
>
> Can anywone help me resolve this issue?
>
> Thanks,
>
> Lisa Jett
>
>
Re: PDE build error [message #484705 is a reply to message #64996] Tue, 08 September 2009 16:00 Go to previous messageGo to next message
Chris Eagan is currently offline Chris Eagan
Messages: 5
Registered: July 2009
Junior Member
I ran into this same problem and after much frustration, I found out that
I had used 1.0.0.qualifier as the version in the .product file.

PDE Build was complaining that 1.0.0.${p2.product.qualifier} could not be
parsed. I changed the value to 1.0.0 and the build worked.
Re: PDE build error [message #484708 is a reply to message #64901] Tue, 08 September 2009 16:11 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Hi Lisa,

you find a PDE build example for 3.5 here:
http://www.vogella.de/articles/EclipsePDEBuild/article.html

PDE build has in my opinion greatly simplyfied in 3.5.

Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Re: PDE build error [message #598371 is a reply to message #64901] Wed, 17 June 2009 14:31 Go to previous message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
Unfortunately, as you can see, that error message is not particularly
useful in figuring out what went wrong.

Try running ant with "-verbose", this should spew out huge logs and
giant stack traces. Near the end, look for a "Caused by" nested
exception coming out of
" org.eclipse.equinox.internal.p2.metadata.generator.ant.Gener atorTask.execute "

-Andrew

Lisa Jett wrote:
> I have tried to add the following lines to my PDE build for my
> application (as per Andrew's article -
> http://aniefer.blogspot.com/2008/06/example-headless-build-f or-rcp-product.html):
>
>
> generate.p2.metadata=true p2.metadata.repo = file:${buildDirectory}/repo
> p2.artifact.repo = file:${buildDirectory}/repo p2.flavor = tooling
> p2.publish.artifacts=true
>
>
> But then I get the following error:
>
> generate.p2.metadata:
> [p2.generator] Generating metadata for
> c:\build\openArbor\temp\eclipse.build\tmp\openarbor.
> [p2.generator] Generation completed with success [71 seconds].
>
> customAssembly:
> [zip] Updating zip:
> c:\build\openArbor\temp\eclipse.build\I.200906150921\2009061 50921-win32.win32.x86.zip
>
> [delete] Deleting directory c:\build\openArbor\temp\eclipse.build\tmp
>
> generate.p2.metadata:
> [p2.generator] Generating metadata for null.
>
> BUILD FAILED
> C:\ddci_eclipse\oa-lcj-workspace\com.ddci.openarbor.applicat ion\build-product.xml:91:
> The following error occurred while executing this line:
> C:\ddci_eclipse\oa-lcj-workspace\openarbor.pde.build\build-p de.xml:58:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\productBuild\productBuild.xml:31:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\build.xml:102:
> The following error occurred while executing this line:
> C:\ddci_eclipse\oa-lcj-workspace\openarbor.pde.build\customT argets.xml:10:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\productBuild\allElements.xml:10:
> The following error occurred while executing this line:
> C:\Eclipse3.4.2\eclipse\plugins\org.eclipse.pde.build_3.4.1. R34x_v20081217\scripts\genericTargets.xml:165:
> The following error occurred while executing this line:
> c:\build\openArbor\temp\eclipse.build\package.org.eclipse.pd e.build.container.feature.all.xml:25:
> The following error occurred while executing this line:
> c:\build\openArbor\temp\eclipse.build\package.org.eclipse.pd e.build.container.feature.all.xml:32:
> An error occurred when calling generator.
>
> Can anywone help me resolve this issue?
>
> Thanks,
>
> Lisa Jett
>
>
Re: PDE build error [message #601356 is a reply to message #64996] Tue, 08 September 2009 16:00 Go to previous message
Chris Eagan is currently offline Chris Eagan
Messages: 5
Registered: July 2009
Junior Member
I ran into this same problem and after much frustration, I found out that
I had used 1.0.0.qualifier as the version in the .product file.

PDE Build was complaining that 1.0.0.${p2.product.qualifier} could not be
parsed. I changed the value to 1.0.0 and the build worked.
Re: PDE build error [message #601367 is a reply to message #64901] Tue, 08 September 2009 16:11 Go to previous message
Lars Vogel is currently offline Lars Vogel
Messages: 1048
Registered: July 2009
Senior Member

Hi Lisa,

you find a PDE build example for 3.5 here:
http://www.vogella.de/articles/EclipsePDEBuild/article.html

PDE build has in my opinion greatly simplyfied in 3.5.

Best regards, Lars

--
http://www.vogella.de/ - Eclipse plugin and Eclipse RCP Tutorials
http://www.twitter.com/vogella - vogella on Twitter
Previous Topic:specifying runtime bundle-dependencies
Next Topic:eclipse plugins - external jars & environment variables - build problem
Goto Forum:
  


Current Time: Fri Aug 22 17:56:07 EDT 2014

Powered by FUDForum. Page generated in 0.06458 seconds