Hi all, I upgraded my ant installation from 1.6.5 to 1.7.1 now I've got the follwing problem with the record-task.
Look at this sample script: <?xml version="1.0" encoding="UTF-8"?> <project name="test" default="main" basedir="."> <target name="main" depends="t1,t2"> <echo message="main-target" /> </target> <target name="t1" depends="t2"> <record action="start" append="yes" name="test.log" /> <echo message="call t3" /> <antcall target="t3" /> <record action="stop" name="test.log"/> </target> <target name="t2"> <record action="start" append="yes" name="test.log" /> <echo message="t2-target is executed" /> <record action="stop" name="test.log"/> </target> <target name="t3"> <record action="start" append="yes" name="test.log" /> <echo message="t3-target is executed" /> <record action="stop" name="test.log"/> </target> </project> the record task works until <antcall target="t3" /> in the same way as in 1.6.5. But if I do an ant-call the test.log is empty?! What's the reason? I expected that all echo-messages are logged to test.log. Without calling t3 I see t1 and t2. in other case I see an empty file. In my original build scripts I call various targets (in other xml-files, too) an I've got strange effects, f.e. only the last target-output is "logged" via record-task. the same script works by 1.6.5 as expected. Do I something basically wrong so it can't work by 1.7.1 ? Thanks for a good advice. Markus --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org