You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/10/02 14:03:47 UTC
DO NOT REPLY [Bug 23563] New: -
Ant's "record" task use current user dir as the log file's base path
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: dev@ant.apache.org
ReportedBy: leichen@263.net
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org