ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <>
Subject RE: Should <import> cause an error when used inside a <target>?
Date Thu, 18 Sep 2003 11:30:23 GMT
> From: Stefan Bodewig [] 
> Shall we make this ("Thou Shalt Not Use <import> Inside 
> <target>s") a rule for <import> in general and enforce it?  
> Or is my use-case above a valid one and we change the 
> implementation to deal with it?

First, <import/> makes absolute no sense to me inside a <target>.
The whole point of import was allowing for target-overriding.
I could understand having an <include/> in there, because is
textually expanding the file in place, which may make sense.

But I do not see too much value on allowing this. I see more potential
than good. And we can always relax the rules in the future when we
the usage needs better.


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

View raw message