dcsimg
can use regular expression when using jar to archive?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ef_unique
Posted On:   Monday, December 1, 2003 09:54 PM

I would like to use archive files using jar command to accomplish the following...



archive all files where filename does NOT end with *.java




essentially I do not want any source files.




Is this possible? If not, what is the next best thing within Unix OS)?




Thank you




f

Re: can use regular expression when using jar to archive?

Posted By:   Christopher_Koenigsberg  
Posted On:   Tuesday, December 2, 2003 06:49 AM

Use a "find" command to implement your regexp, and add the matching files to the jar.

About | Sitemap | Contact