ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Soesemann" <rsoesem...@sapient.com>
Subject RE: Set output path for <record>
Date Wed, 01 Dec 2004 13:26:37 GMT
Oh, this was easy. Thanks a lot.
R.

-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Mittwoch, 1. Dezember 2004 14:19
To: user@ant.apache.org
Subject: AW: Set output path for <record>


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:rsoesemann@sapient.com] Gesendet am: 
> Mittwoch, 1. Dezember 2004 14:14
> An: user@ant.apache.org
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message