• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

how to extract multi files from a jar file

Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic