ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shvartsburd, Feliks" <Feliks.Shvartsb...@kmv.com>
Subject RE: File copy problem
Date Tue, 05 Feb 2002 19:13:05 GMT
I'm going to write my own task. It drove me crazy.  Thanks for the support
:))
 
-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Tuesday, February 05, 2002 11:10 AM
To: Ant Users List
Subject: RE: File copy problem


--- "Shvartsburd, Feliks" <Feliks.Shvartsburd@kmv.com> wrote:
> I use this, and I think since this thinks that there are many files it
> fails. Is that the case?
> 
> target name="copyBuild">
> 	      <echo message="Copying build file name is ${label}"/>
> 		<copy tofile="F:/cmkserver_${label}.zip">
> 			<fileset dir="${blvm_root}/build/dist"/>
> 		</copy>
> 	</target>

Yes. Don't do it that way. If you're using 'tofile', you need to specify a
single file to copy from.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

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

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


Mime
View raw message