Browse Source

add the alias in verifyjar if specified

https://bz.apache.org/bugzilla/show_bug.cgi?id=62194
master
Stefan Bodewig 7 years ago
parent
commit
c09ac38799
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/main/org/apache/tools/ant/taskdefs/VerifyJar.java

+ 4
- 0
src/main/org/apache/tools/ant/taskdefs/VerifyJar.java View File

@@ -123,6 +123,10 @@ public class VerifyJar extends AbstractJarSignerTask {
//JAR is required
addValue(cmd, jar.getPath());

if (alias != null) {
addValue(cmd, alias);
}

log("Verifying JAR: " + jar.getAbsolutePath());
outputCache.clear();
BuildException ex = null;


Loading…
Cancel
Save