ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 42263] - built-in property ${ant.version} not set in a call with subant
Date Mon, 14 May 2007 15:30:44 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=42263>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=42263





------- Additional Comments From peterreilly@apache.org  2007-05-14 08:30 -------
It does look like a bug all right.
The code in Ant.java calls  newProject.setSystemProperties();
but does not call setJavaVersion() or 
 setPropertyInternal(MagicNames.ANT_VERSION, Main.getAntVersion())

The one thing I would be concerened about from Project#initProperties()
is setAntLib() which from some reason calls Locator.getClassSource()
which does some File IO and antlib.getAbsolutePath() which
does more FileIO.

Maybe the solution would be to make ant.version and the java version
properties to be user properties, these always get copied
to sub-projects.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message