ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <dave.alvar...@remanresource.com>
Subject Copying everything except one file
Date Wed, 06 Aug 2008 19:28:05 GMT
Hi,

I'm using this command to copy a directory

 <target name="copyDevConf" depends="dev-create-log-dir,dev-create-conf-dir">
        <delete>
                <fileset dir="${conf-dir}">
                        <include name="*.properties"/>
                </fileset>
        </delete>
        <copy toDir="${conf-dir}">
                 <fileset dir="${basedir}/conf/dev">
                   <include name="*.properties"/>
                 </fileset>
       </copy>
 </target>

but what I would like to copy all files in that directory except the one named "mine.properties".
 What is the quickest way to do this?

 - Dave

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


Mime
View raw message