ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <>
Subject New import tag update
Date Wed, 10 Jul 2002 13:56:22 GMT
I've modified the import tag to be able to override targets, and I'm 
writing the part in which it can call a "super" target, ie the version 
it's redefining.

I was thinking of something like this:

Suppose this target:

<target name="mytarget" depends="a,b,c">...</target>

in an xsl-like syntax it would be like:

<target name="mytarget">

but I was thinking of reusing antcall and do:

<target name="mytarget">
   <antcall target="super.mytarget"/>

Apart from the fact that a naming rule is good or not, I had to look in, and I find this:

     public void execute() throws BuildException {



I'm creating a new Project just to run a target?
Why? Is it really necessary?

Can't I just do



Nicola Ken Barozzi         
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message