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

<<attachment: antfix.zip>>



Reply via email to