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

           Summary: BigProjectLogger screws up basedir.
           Product: Ant
           Version: 1.7.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Core
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


If you put the following file build.xml :

<project name="build" basedir="." default="test">
  <target name="test">
     <echo>basedir is : ${basedir}</echo>
  </target>
</project>

in a directory d:\tmp and execute it from another directory d:\projects :

  cd d:\projects
  ant -f d:\tmp\build.xml

then the output is "basedir is : d:\tmp", which is correct.

However if I were to use the BigProjectLogger:

  cd d:\projects
  ant -logger org.apache.tools.ant.listener.BigProjectLogger -f
d:\tmp\build.xml

then the output is "basedir is : d:\projects", which is incorrect.


-- 
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