ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: <property refid=> question
Date Thu, 27 Feb 2003 15:10:16 GMT
How about:

       <copy todir="${jar.dir}/lib">
         <fileset file="${jaxb.home}/jaxb-libs.jar" />
         <fileset file="${log4j.home}/log4j-1.2.5.jar" />


       <copy file="${jaxb.home}/jaxb-libs.jar"
             tofile="${jar.dir}/lib/jaxb-libs.jar" />
       <copy file="${log4j.home}/log4j-1.2.5.jar"
             tofile="${jar.dir}/lib/log4j-1.2.5.jar" />

-----Original Message-----
From: webhiker [] 
Sent: Thursday, February 27, 2003 5:55 AM
To: Ant Users List
Subject: Re: <property refid=> question

I'm having a somewhat related problem trying to copy all the files in a 
<path>, to a specified directory.
But there is no way I can see to get a <copy> task to accept a refid.
Anyone have any idea how to do this?

Something along the lines of :

       <path id="gui.external.classpath">
         <pathelement location="${jaxb.home}/jaxb-libs.jar" />
         <pathelement location="${log4j.home}/log4j-1.2.5.jar" />

       <copy todir="${jar.dir}/lib">
          <path refid="gui.external.classpath"/>


View raw message