ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 45739] Problems with BaseDir when the ant is started as Java library from Java Application
Date Fri, 05 Sep 2008 07:11:17 GMT

--- Comment #4 from Stefan Bodewig <>  2008-09-05 00:11:17 PST ---
I think you misunderstood me.  Your code, the code starting Ant, must be
calling getBasedir before it is safe to do so, right now I don't see anything
wrong in Ant (moving getBasedir to runBuild would break a lot of other things
and simply is wrong).

I don't think Ant explicity reads user.dir anyplace, it just does a 
'new File(".")' which is resolved relative to user.dir on some VM
on some operating systems (other VMs don't consult that property but the
OS process' knowledge about its current working directory and setting user.dir
won't help).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message