Skip to content

Instantly share code, notes, and snippets.

@wuservices
Created August 20, 2012 18:12
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save wuservices/3406283 to your computer and use it in GitHub Desktop.
Ant post-processing target to remove signature files from jar
<target name="remove-signatures">
<exec executable="zip">
<arg value="-d"/>
<arg value="${artifact.output.path}/output.jar"/>
<arg value="*.RSA"/>
<arg value="*.SF"/>
<arg value="*.DSA"/>
</exec>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment