You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by de...@apache.org on 2010/04/17 15:44:24 UTC

svn commit: r935176 - /commons/sandbox/openpgp/trunk/src/main/java/org/apache/commons/openpgp/ant/OpenPgpSignerTask.java

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");