you could do something like:
<zip destfile="x_new.zip" >
        <zipfileset src="x.zip" excludes="path/to/something.class" />
</zip>
<move file="x_new.zip" tofile="x.zip" />


detlef

-----Original Message-----
From: Mike Castle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 23, 2003 6:13 PM
To: [EMAIL PROTECTED]
Subject: zip task question



Is there a way to do the equivalent of the command (assuming Infozip's
version):

zip -d foo.jar path/to/something.class

I was trying to avoid the unzip/delete/zip approach if I could.

Thanks,
mrc

--
     Mike Castle      [EMAIL PROTECTED]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); --
gcc

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to