Error with P2 ant task [message #134021] |
Fri, 03 July 2009 00:11 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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
|
|
|
|
Powered by
FUDForum. Page generated in 0.03252 seconds