jQuery in Action, 2nd edition
The moose likes Java in General and the fly likes how to tar files from within the java program? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "how to tar files from within the java program?" Watch "how to tar files from within the java program?" New topic
Author

how to tar files from within the java program?

Andrew Paul
Greenhorn

Joined: Jun 17, 2006
Posts: 5
Hello!

Within a complex process I have to tar a lot of files. Is there a possibility to do it? I have only found java.util.zip and java.util.jar but not .tar.

Or is the result of using java.util.jar the same as the tar-result?

Thank you for your tipps and hints?
Kind regards
Andrew Paul


Diplomacy is to say "Goood doggie" - until you find a stone.
Edwin Dalorzo
Ranch Hand

Joined: Dec 31, 2004
Posts: 961
Take a look at Java Tar Package

There is also an ant task that creates tar file, that, too, might help you.

Good luck!
Andrew Paul
Greenhorn

Joined: Jun 17, 2006
Posts: 5
Thanks a lot. Also for the "good luck". I'll try it!

Kind regards
Andrew Paul
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to tar files from within the java program?
 
Similar Threads
java and tar
How to extract a tar file using java
Need help to save .tar files in data base
Tar a folder excluding pdf's
Finding files in war file...??