This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- http://frank.zinepal.com/unsign-a-jar-with-ant --> | |
<macrodef name="unsignjar"> | |
<attribute name="jar"/> | |
<sequential> | |
<!-- Remove any existing signatures from a JAR file. --> | |
<tempfile prefix="usignjar-" destdir="${java.io.tmpdir}" property="temp.file"/> | |
<echo message="Removing signatures from JAR: @{jar}"/> | |
<mkdir dir="${temp.file}"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// from http://waffle.codeplex.com/workitem/10034 | |
// | |
package waffle.servlet.spi; | |
import java.io.IOException; | |
import java.security.Principal; | |
import java.util.Date; | |
import java.util.Enumeration; |