https://issues.apache.org/bugzilla/show_bug.cgi?id=45739





--- Comment #5 from Miroslav Nachev <[EMAIL PROTECTED]>  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 org.apache.tools.ant.Main
      1 time in org.apache.tools.ant.launch.Locator
      1 time in org.apache.tools.ant.taskdefs.Execute
      1 time in org.apache.tools.ant.taskdefs.optional.ejb.IPlanetEjbc
      1 time in org.apache.tools.ant.types.Path
      1 time in org.apache.tools.ant.util.FileUtils
      1 time in org.apache.tools.ant.ProjectTest
      3 times in org.apache.tools.ant.util.FileUtilsTest
   System.getProperties().put("user.dir", ...) - 2 times
      2 times in org.apache.tools.ant.taskdefs.Execute


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

Reply via email to