ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mindspin311 <>
Subject Can I zip a folder on server A, and send it to Server B
Date Sun, 30 Mar 2008 17:47:15 GMT

This is all being done in Unix for tarring a directory of php files.

The process I'm trying to do is: 

given a folder you're either in or are sending as a command line argument, 

1. tar it
2. use svn update to get the version number to append to the file name.
3. send it to a different server. 

I also have to execute some commands like sudo and possibly exec. 

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? 

I'm new to ant, so any help would be greatly appreciated. Just trying to get
an idea if this can be done as simply as possible.
View this message in context:
Sent from the Ant - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message