wood burning stoves 2.0*
The moose likes Ant, Maven and Other Build Tools and the fly likes Make a *.tar file and Untar using ant script? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Make a *.tar file and Untar using ant script?" Watch "Make a *.tar file and Untar using ant script?" New topic
Author

Make a *.tar file and Untar using ant script?

prabhu pandurangan
Ranch Hand

Joined: May 23, 2008
Posts: 120
Dear All,

I need to make a *.tar file and through FTP i have to place it in another machine and using the command 'tar xvf *.tar' I have to untar it in my ftp folder.

This has to be done using an ant script.


Please let me know your ideas on this.


Regards,
Prabhu.
Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Have you tried looking for a tar task in the ANT documentation? Also look at the exec task.


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
jQuery in Action, 2nd edition
 
subject: Make a *.tar file and Untar using ant script?
 
Similar Threads
how to tar/untar a file using java?
new to java and linux
How to create a pkg
FTP file copy problem with timestamp?
How to add a war file to a tar through build file