You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2018/03/20 11:17:02 UTC
[3/5] ant git commit: add the alias in verifyjar if specified
add the alias in verifyjar if specified
https://bz.apache.org/bugzilla/show_bug.cgi?id=62194
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/c09ac387
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/c09ac387
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/c09ac387
Branch: refs/heads/master
Commit: c09ac387998699d7f270e89c1165820c4230a72c
Parents: f2dd414
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Mar 20 11:56:52 2018 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Mar 20 11:56:52 2018 +0100
----------------------------------------------------------------------
src/main/org/apache/tools/ant/taskdefs/VerifyJar.java | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/c09ac387/src/main/org/apache/tools/ant/taskdefs/VerifyJar.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/VerifyJar.java b/src/main/org/apache/tools/ant/taskdefs/VerifyJar.java
index 4ab2142..a0003c7 100644
--- a/src/main/org/apache/tools/ant/taskdefs/VerifyJar.java
+++ b/src/main/org/apache/tools/ant/taskdefs/VerifyJar.java
@@ -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;