[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    Re: problem with copy task
From:       Luca Ferrari <fluca1978 () infinito ! it>
Date:       2008-03-27 15:02:51
Message-ID: 200803271602.51373.fluca1978 () infinito ! it
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic