Re: Removing a file from .jar file

2006-05-05 Thread Scot P. Floess
But wouldn't that imply one could do so with a vanilla jar command (as in from the command line)? I haven't looked at the java.util.jar API in sometime...but I don't recall that being available. Of course, I suppose an implementation could see the resource as a jar and do some appropriate wor

RE: Removing a file from .jar file

2006-05-05 Thread Matt Benson
--- "Burgess, Benjamin" <[EMAIL PROTECTED]> wrote: > Correct me if I am wrong, Okay... ;) > but I believe that in Ant > 1.7 you will be able > to do this because the delete task will allow any > resource, such as a > file in an archive. > It'd be nice, but is one of those tasks that is so what

RE: Removing a file from .jar file

2006-05-05 Thread Burgess, Benjamin
Correct me if I am wrong, but I believe that in Ant 1.7 you will be able to do this because the delete task will allow any resource, such as a file in an archive. Ben -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, May 05, 2006 10:20 AM To: user@ant.apa

Re: Removing a file from .jar file

2006-05-05 Thread Scot P. Floess
When I say rejar - I don't mean updating the jar you unpacked...I mean literally creating a new jar file after the class file in question has been deleted from the file system. Otherwise, you will be just be doing an update...and the old class file will still be maintained... Scot P. Floess w

Re: Removing a file from .jar file

2006-05-05 Thread Scot P. Floess
Leomar: I don't think you can delete the class file...but you can certainly update the jar file with a new class or modified class. To delete, you will probably need to unjar, delete the file in question and rejar... Leomar Costa wrote: Hi ! How I can remove a file from a jar ?