Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Headless PDE build fails for platform specific plugins(Getting a buildScript errors when building plugins with platform filters)
Headless PDE build fails for platform specific plugins [message #501037] Mon, 30 November 2009 18:51 Go to next message
Ash Maurya is currently offline Ash Maurya
Messages: 23
Registered: July 2009
Location: Austin, TX
Junior Member
Hi -

When running a headless PDE build against my .product, I'm getting the following errors during the generateScript task:

[java] generateScript:
[java] Property "outputUpdateJars" has not been set
[java] Property "archivesFormat" has not been set
[java] Property "product" has not been set
[java] Property "forceContextQualifier" has not been set
[java] Property "significantVersionDigits" has not been set
[java] Property "generatedVersionLength" has not been set
[java] Property "platformProperties" has not been set
[java] Property "flattenDependencies" has not been set
[java] Property "parallelCompilation" has not been set
[java] Property "parallelThreadCount" has not been set
[java] Property "parallelThreadsPerProcessor" has not been set
[java] Property "p2.context.repos" has not been set
[java] [eclipse.buildScript] An error occurred while generating manifest for /tmp/pluginbuilder/cloudfire-build/plugins/com.wiredreach.jm ab.searchprovider.
[java] [eclipse.buildScript] Error parsing plugin manifest. Missing attribute "id" in element "plugin".

The com.wiredreach.jmab.searchprovider plugin is defined in feature.xml as:

<plugin
id="com.wiredreach.jmab.searchprovider"
os="macosx"
ws="cocoa"
arch="x86"
download-size="0"
install-size="0"
version="0.0.0"/>

If I take out the os/ws/arch lines, the errors go away but I obviously end up with a platform specific plug-in that I want filtered out.

Just for background, this is an old script I had working in Eclipse 3.3 that I am trying to migrate to 3.5. Am I missing something obvious?

Thanks,

Ash


Founder, WiredReach (makers of BoxCloud and CloudFire)
blog: http://www.ashmaurya.com
Re: Headless PDE build fails for platform specific plugins [message #509216 is a reply to message #501037] Thu, 21 January 2010 17:09 Go to previous messageGo to next message
Giuseppe Montalto is currently offline Giuseppe Montalto
Messages: 18
Registered: July 2009
Junior Member
Hi all!

I'm experiencing a similar problem...

My sources are correctly built but, when it comes to packaging, I get a message in the log stating that:
Property "p2.gathering" has not been set
Condition false; not setting p2.publish.parts


and I end up with an update site, instead of a product.

that's strange because, along with many other items, I do set
p2.gathering=true
in my build.properties file and, at the beginning of the log, I can see:
[property ]Loading /correct/path/to/my/build.properties
and also, a few lines below,
Setting project property: p2.gathering -> true


...any hint?

thanks in advance
Re: Headless PDE build fails for platform specific plugins [message #1022657 is a reply to message #509216] Fri, 22 March 2013 09:48 Go to previous message
Peter Taylor is currently offline Peter Taylor
Messages: 5
Registered: January 2013
Junior Member
does this help?

stackoverflow.com/questions/1046219/executing-eclipse-buildscript-task-on-a-feature-misses-the-fragment

i.e. setting configInfo
Previous Topic:Feature version qualifiers and Git
Next Topic:Problem to add a menu contribution in projet explorer
Goto Forum:
  


Current Time: Sun Sep 21 00:17:03 GMT 2014

Powered by FUDForum. Page generated in 0.01856 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software