stevel 2005/03/23 02:24:43
Modified: src/main/org/apache/tools/ant/taskdefs SignJar.java
Log:
can't have checkstyle whining, can we?
Revision Changes Path
1.49 +32 -0 ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java
Index: SignJar.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/SignJar.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- SignJar.java 23 Mar 2005 10:07:29 -0000 1.48
+++ SignJar.java 23 Mar 2005 10:24:43 -0000 1.49
@@ -100,20 +100,52 @@
*/
private Mapper mapper;
+ /** error string for unit test verification: [EMAIL PROTECTED] */
public static final String ERROR_SIGNEDJAR_AND_FILESET =
"The signedjar attribute is not supported with filesets";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_TODIR_AND_SIGNEDJAR
= "'destdir' and 'signedjar' cannot both be set";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_TOO_MANY_MAPPERS = "Too many mappers";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_SIGNEDJAR_AND_FILESETS = "You cannot
specify the signed JAR when using filesets";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String WARN_JAR_AND_FILESET = "nested filesets will
be ignored if the jar attribute has"
+ " been specified.";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_BAD_MAP = "Cannot map source file to
anything sensible: ";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_MAPPER_WITHOUT_DEST = "The destDir
attribute is required if a mapper is set";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_NO_SOURCE = "jar must be set through
jar attribute "
+ "or nested filesets";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_NO_ALIAS = "alias attribute must be
set";
+ /**
+ * error string for unit test verification: [EMAIL PROTECTED]
+ */
public static final String ERROR_NO_STOREPASS = "storepass attribute
must be set";
+
+ /**
+ * name of JDK program we are looking for
+ */
protected static final String JARSIGNER_COMMAND = "jarsigner";
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]