Works for me:

<project name="MyProject" basedir="." default="main">
   <target name="main">
     <mkdir dir="log/example"/>

     <record name="c:/temp/log/example/log.log"/>
     <echo message="hallo"/>
     <record name="c:/temp/log/example/log.log" action="stop"/>

     <concat><fileset dir="log/example/"/></concat>
   </target>
</project>


Jan


> -----Urspr�ngliche Nachricht-----
> Von: Robert Soesemann [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 1. Dezember 2004 14:14
> An: [EMAIL PROTECTED]
> Betreff: Set output path for <record>
> 
> Is there a way to tell ant's record task not only the name of the log
> file, but also ist path?
> 
> Maybe there is a property e.g. ant.logdir?
> 
> Any ideas?
> 
> Robert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

Reply via email to