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:36:43 GMT

--- Comment #5 from Miroslav Nachev <>  2008-09-05 00:36:43 PST ---
When I am calling project.getBaseDir() before project.init() which is located
in runBuild the problem is not solved because the retrieved directory is the
place from where the application is started instead to be the parent directory
of the build file. I need baseDir to be parent directory of build file.

Also I am not agree that in the code System.getProperty("user.dir") is not
used. The actual usage is:
   System.getProperty("user.dir") - 10 times
      1 time in
      1 time in
      1 time in
      1 time in
      1 time in
      1 time in
      1 time in
      3 times in
   System.getProperties().put("user.dir", ...) - 2 times
      2 times in

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

View raw message