Thanks, Lester! So I can just invoke the Ant tags directly without having to go thru any namespace or <taskdef/> machinations. That's too good to be true!

--jed

Lester Ward wrote:

So far as I can figure out, I can still write an Ant script for each of them, and just invoke them from the maven.xml Jelly file, right?

Right. Actually, you can also just embed Ant tasks right in a maven.xml file
as well.


And that's where I'm stumped. I don't recognise any examples of how to invoke Ant from Jelly.

<goal name="setup">
<mkdir dir="${maven.build.dest}"/>
<attainGoal name="clean"/>
<ant antfile="build-cvs.xml"/>
</goal>


Note that "mkdir" is an Ant task. The "attainGoal" is a Maven specific tag.
The "ant" tag invokes an external Ant file (note that this tag is also an
Ant task, not a Maven specific construct).

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




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

Reply via email to