ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=45739





--- Comment #4 from Stefan Bodewig <bodewig@apache.org>  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
implementations
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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message