ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: [Bug 28444] - Import: Target Handling Bug
Date Fri, 13 May 2005 10:43:52 GMT
> From: Stefan Bodewig [mailto:bodewig@apache.org] 
> Sent: 13 May 2005 11:10
> To: dev@ant.apache.org
> Subject: Re: [Bug 28444] - Import: Target Handling Bug
> 
> 
> Another related problem I have is that you can't add 
> something to the beginning of a target easily.  You can add 
> someting to the end of "foo" by writing your own "foo" that 
> depends on "imported.foo", but if you want to add something 
> at the start your imported build file has to be designed for 
> it.  Which means pseudo-targets that are used as interception 
> points only.
> 

Cant you write on the importing file:

<target name="foo" depends="before-foo, imported.foo"/>

<target name="before-foo">...</foo>

Or was that what you meant? Notice that the imported file does not
need to know about it.

Jose Alberto

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message