ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Problem with <fileset...><different.../></fileset>
Date Tue, 21 Sep 2004 12:30:00 GMT
The Thumbs.db file is created by windows.
On windows you have to be careful with timestamps so try working with
granularity-attribute.

Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Cristina.Karpenstein@partner.commerzbank.com
> [mailto:Cristina.Karpenstein@partner.commerzbank.com]
> Gesendet am: Dienstag, 21. September 2004 14:23
> An: user@ant.apache.org
> Betreff: Problem with <fileset...><different.../></fileset>
> 
> Hi,
> 
> I tried the above, but all i get is an exact copy of the directory of
> $Source1 with a new strange file called Thumbs.db (it is 
> nowwhere else on my
> computer).
> 
> What i really wanted is to compare two directories with 
> eachother and to put
> all children-files and children-directories, which are not in both
> directories, in a new one.
> 
> I thought, this is the idea of <different....>?
> 
> Thanks
> Cristina 
> 
> 
>  </target>
>  <target name = "fileset_diff">
> <zip destfile="d:\ergebnis\fs.zip">
>  <fileset dir="${Source1}">
>     <different targetdir="${Source2}" ignoreFileTimes="true"/>
> </fileset>
> </zip>
>  </target>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message