I am trying to use ant to develop a new packaging type, and have
everything working as expected, but have been unable to figure out how
to set the artifact file for the project as part of the packaging mojo.

According to the docs I've found, if I were using Java for this, I
would simply include the following line at the end of the mojo:

  package.getArtifact().setFile(new File("target/my-output.zip"));

Is there a mechanism to do the equivalent in ant? I've tried setting a
number of properties in my ant script, but none of them seem to work.
The error I end up with is: "The packaging for this project did not
assign a file to the build artifact".

I am trying to do the impossible?


       
____________________________________________________________________________________
Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to