DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23563>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23563

Ant's "record" task use current user dir as the log file's base path

           Summary: Ant's "record" task use current user dir as the log
                    file's base path
           Product: Ant
           Version: 1.5.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Blocker
          Priority: Other
         Component: Core tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Ant's record task use current user dir to get the true file path.
While not use the project's base dir to get the true file path.

This is my test build xml file under "d:\MyProject"

<project name="MyProject" default="test" basedir=".">
  <target name="test">
        <delete dir="logs" />
        <mkdir dir="logs"/>     
        <record name="logs/log.txt" action="start" />
        <record name="logs/log.txt" action="stop" />                    
  </target>
</project>

When run ant use "cd d:\ ; ant -buildfile d:\MyProject\build.xml", it could 
delete and create "logs" dir under "MyProject" successfully. But it report 
error and want to build a log file at "d:\logs". This cause the ant build 
file's failure even when using ANT API and in eclipse IDE.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to