ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Ferrari <fluca1...@infinito.it>
Subject Re: problem with copy task
Date Thu, 27 Mar 2008 15:02:51 GMT
On Thursday 27 March 2008 Luca Ferrari's cat, walking on the keyboard, wrote:
> Hi all,
> I've got the following task in my ant build file:
>
> <target name="_copyDependencies" depends="_createDirectoryStructure"
> description="Copies all the jars this project depdends on contained in
> ${src.lib.dir}"  if="${src.lib.dir}">
> 		<copy todir="${build.lib.dir}" >
> 			<fileset dir="${src.lib.dir}">
> 				<include name="*.jar" />
> 			</fileset>
> 		</copy>
> 	</target>
>

Ops...I found the problem: the if statement has the property value 
${src.lib.dir} instead of the property name src.lib.dir.

Thanks,
Luca

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


Mime
View raw message