ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dibi, George" <xf006...@ti.com>
Subject RE: subtitute copy with dir
Date Mon, 05 May 2003 15:33:09 GMT


TI- Navigator Deployment
O. (972) 917-3528
Email. xf006814@ti.com


-----Original Message-----
From: Jan.Materne@rzf.fin-nrw.de [mailto:Jan.Materne@rzf.fin-nrw.de] 
Sent: Monday, May 05, 2003 1:59 AM
To: dev@ant.apache.org
Subject: AW: subtitute copy with dir

> Can someone tell me how to display a content of a directory using xml?

The sample code displayed shows how copy file from one directory to another.
My question is how just display the content of the directory after the
copying is done?

Sample code.
>  
> <project name="NATE" default="build" basedir=".">
>   <property name="temp_copy" location="\\eappd55\public\gdibi\etc" /> 
>   <target name="build">
>     <copy todir="${temp_copy}/lib">
>       <copy dir="lib">
>         <include name="**/*.*" /> 
>       </copy>
>     </copy>
>   </target>
> </project>

Thanks
George


http://dir2xml.sourceforge.net/ should be a help.

> Sample code.
>  
> <project name="NATE" default="build" basedir=".">
>   <property name="temp_copy" location="\\eappd55\public\gdibi\etc" /> 
>   <target name="build">
>     <copy todir="${temp_copy}/lib">
>       <copy dir="lib">
>         <include name="**/*.*" /> 
>       </copy>
>     </copy>
>   </target>
> </project>
>  
> I want to replace copy with dir 

I donĀ“t understand what you mean.


Jan

Mime
View raw message