On Tue, 2003-07-15 at 17:30, Erik Hatcher wrote:
> I'm finally getting around to trying the latest features of CVS Ant in 
> a production environment.  The <import> task will help tremendously, no 
> question, but I've run into a couple of issues:
> 
> - I tried doing to <import>'s in the same build file, and the second 
> import failed because it could not find the file, although it appears 
> the relative base directory is being mangled after the first import.  
> Or am I confused and missing something here?
> 
> - Having the stuff imported *after* all the top-level items really is 
> making things tough.  I've had to move some top-level stuff specific to 
> my concrete project into an init target since it relies on properties 
> set from the imported build file.  I'm guessing this is hard to fix 
> though?

I have make a bugzilla report/patch:
http://issues.apache.org/bugzilla/show_bug.cgi?id=21180
that should fix this particular problem.

With the patch I can finally use the <import> task in my build -
it has a lot of top-level definitions in the imported common.xml.

Peter



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

Reply via email to