[prev in list] [next in list] [prev in thread] [next in thread]
List: ant-user
Subject: RE: moving from server to server
From: "Rick Genter" <rgenter () silverlink ! com>
Date: 2008-03-30 18:16:41
Message-ID: B9550324A189244E9C8922F053FF990506826C7E () ex01silver ! silverlink ! com
[Download RAW message or body]
> From: mindspin311 [mailto:connoc.mindspin@gmail.com]
> Sent: Sunday, March 30, 2008 10:49 AM
> To: user@ant.apache.org
> Subject: moving from server to server
>
>
> Can I do this all in ant without having to create a temp tar
> file, then ftp
> it to another server, then go back and delete the temp tar file?
>
> Can I use move instead of copy across different servers, so I
> don't have to
> remove the temp file after?
You can do from ant pretty much anything you can do from a shell. If you
can write a shell script to do what you describe, you can generally do
the same via an ant build file through a combination of ant tasks and
embedded scripts.
Note that when you say "move instead of copy across different servers,
so I don't have to remove the temp file after", that's what's most
likely going to happen behind the scenes anyway, even if your FTP client
has a "move" command. I guess I just don't understand why it's such a
big deal to have to specify both steps.
--
Rick Genter
Principal Software Engineer
Silverlink Communications
rgenter@silverlink.com
www.silverlink.com
Office (781) 425-5763
Mobile (781) 771-9677
This e-mail, including attachments, may include confidential and/or
proprietary information, and may only be used by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately
---------------------------------------------------------------------
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