ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craeg K. Strong" <cstr...@arielpartners.com>
Subject Re: inheritAll bug
Date Mon, 06 Aug 2001 17:59:47 GMT
Conor MacNeill wrote:

>There is a bug in inheritAll. When an <ant> call is used, it does not call
>project.init(). Instead it copies over taskdefs, etc from the parent
>project. Unfortunately it does not set properties from
>System.getProperties(). In particular user.home, etc are not set. The
>solution does not look hard. Move that code into a separate method in
>Project and then call it from Ant.java when inheritAll is set to false. Any
>chance you can patch.
>

Rats!  You're right.   Is the attached what you had in mind?

Caveat:  Unfortunately you can't commit the attached patch directly as 
it includes part of
the <description> patch.  But it is so trivial you can probably pull it 
apart manually...

Let me know if any problems,  thanks!

--Craeg


Mime
View raw message