RE: AW: How to delete files from a zip/jar?

2004-12-07 Thread Andreas.Ebbert
Hi, > [EMAIL PROTECTED] writes: > > >> zip -d target.jar `jar -tf compare.jar | grep \.class` > > > > Nice command :-) > > But the > > `jar -tf compare.jar | grep \.class` > > is evaluated by the shell to get a fileset which is passed to > > the zip command. > > > > So I think you have to s

RE: How to delete files from a zip/jar?

2004-12-07 Thread Andreas.Ebbert
Hi, my current approach is to execute this command, which should work fine, since ant is used in a linux or cygwin environment: zip -d target.jar `jar -tf compare.jar | grep \.class` I am using this target:

How to delete files from a zip/jar?

2004-12-07 Thread Andreas.Ebbert
Hi, what is the easiest way to remove files from a jar file or zip file? The feature was requested in may last year on this list ( http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED] &msgNo=30613), but I could n