ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: Removing a file from .jar file
Date Fri, 05 May 2006 13:56:41 GMT
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 ? 
>
>     For instance: I have a helloworld.jar with a helloworld.class and a xxx.class inside.
>
>     Can I with ant remove the xxx.class that is inside helloworld.jar ? 
>
>     I want only helloworld.class inside helloworld.jar ...
>
>     Thanks a lot, 
>
>     Leomar 
>     From Brazil
>
>     
>   

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message