ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: removing file from jar
Date Thu, 01 Dec 2005 21:16:27 GMT
Hello Jochen,

with ant you can do something like

<jar destfile="new.jar">
      <zipfileset src="old.jar">
                <exclude name="do/not/include/this/class"/>
      </zipfileset>
</jar>
<move file="old.jar" tofile="new.jar"/>

Cheers,

Antoine

Jochen Wurster wrote:

>Hi,
>
>is there a way to remove a file from an existing jar file? Other than using 
>WinZip ;-)
>
>
>Bye
>
>Jochen
>
>  
>


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


Mime
View raw message