aspose file tools*
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
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: 132
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Make a *.tar file and Untar using ant script?