Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Error with P2 ant task
Error with P2 ant task [message #134021] Fri, 03 July 2009 00:11 Go to next message
Eclipse UserFriend
Originally posted by: apicard.tampabay.rr.com

I am quite new to Ant scripts and I'm trying to run
p2.publish.featuresAndBundles as part of my ant task with:

<p2.publish.featuresAndBundles
metadataRepository="${meta.base.dir}/${repo.dir}"
artifactRepository="${artif.base.dir}/${repo.dir}"
source="${prod.dir}/eclipse/"
compress="true"
append="true"
publishArtifacts="true"
/>

And I am getting the following:

Problem: failed to create task or type p2.publish.featuresAndBundles
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


I can see that the publisher-ant.jar is in the contributed entries in
the preference dialog. I even tried to add it manually to the launch
classpath dialog, without success.

Any help would be very appreciated

Cheers,
Alain
Re: Error with P2 ant task [message #134337 is a reply to message #134021] Sun, 05 July 2009 13:56 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: apicard.tampabay.rr.com

Well I've finally figured out that it was all caused by the fact the a
separate JVM was selected in the configuration.

Not sure then what it would imply to run this outside of the Workspace
JVM, but I guess that is for another day.

Alain
Re: Error with P2 ant task [message #878470 is a reply to message #134337] Tue, 29 May 2012 11:34 Go to previous message
Anand Kumar Gupta is currently offline Anand Kumar GuptaFriend
Messages: 14
Registered: July 2009
Junior Member
Hello Alain,

Using the same JRE as a workspace solves the problem locally, but if we have to run this script in build where to configure this settings in build?

Regards,
Anand

[Updated on: Tue, 29 May 2012 11:35]

Report message to a moderator

Previous Topic:&quot;Gray&quot; feature icon meaning in software site add dialog
Next Topic:ComponentFactory unsatisfied
Goto Forum:
  


Current Time: Thu Sep 26 14:00:57 GMT 2024

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

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

Back to the top