File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
how to extract multi files from a jar file
Joined: Aug 25, 2003
Mar 16, 2005 02:30:00
I am trying to extract some files from a jar file using
jar xf xxx.jar
I have some problems here.
1) how can I extract all the files with ending .properties? I try "jar xf xxx.jar com/aaa/bbb/*.properties", but failed.
2) how can I avoid specify the full path? for example extract all the property files in any path.
Any one can help? Thanks very much
[ March 16, 2005: Message edited by: Howie Jiang ]
I agree. Here's the link:
subject: how to extract multi files from a jar file
JAR or zip
Using a class from a Jar File
Package javax.servlet, javax.servlet.http does not exist
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014