commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From denn...@apache.org
Subject svn commit: r935176 - /commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java
Date Sat, 17 Apr 2010 13:44:24 GMT
Author: dennisl
Date: Sat Apr 17 13:44:23 2010
New Revision: 935176

URL: http://svn.apache.org/viewvc?rev=935176&view=rev
Log:
Fix attribute name in exception message.

Modified:
    commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java

Modified: commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java
URL: http://svn.apache.org/viewvc/commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java?rev=935176&r1=935175&r2=935176&view=diff
==============================================================================
--- commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java
(original)
+++ commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java
Sat Apr 17 13:44:23 2010
@@ -122,7 +122,7 @@ public class OpenPgpSignerTask extends T
             throw new BuildException("password attribute compulsory");
         }
         if (tosign.size() == 0 && artefact == null) {
-            throw new BuildException("supply the attribute tosign or one nested fileset");
+            throw new BuildException("supply the attribute 'artefact' or one nested fileset");
         }
         if (!secring.exists() || !secring.canRead()) {
             throw new  BuildException("secret keyring file '" + secring.getAbsolutePath()
+ "' does not exist or is not readable");



Mime
View raw message