From 9d3209f826f5de79f3615e0559547387e47d1624 Mon Sep 17 00:00:00 2001 From: Jacobus Martinus Kruithof Date: Sun, 2 Oct 2005 20:11:51 +0000 Subject: [PATCH] javadoc fix git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@293158 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Jar.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Jar.java b/src/main/org/apache/tools/ant/taskdefs/Jar.java index 2ada0d2ca..27c17c4b3 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Jar.java +++ b/src/main/org/apache/tools/ant/taskdefs/Jar.java @@ -163,9 +163,14 @@ public class Jar extends Zip { } /** - * Not used for jar files. - * @param we not used - * @ant.attribute ignore="true" + * Indicates if a jar file should be created when it would only contain a + * manifest file. + * Possible values are: fail (throw an exception + * and halt the build); skip (do not create + * any archive, but issue a warning); create + * (make an archive with only a manifest file). + * Default is create; + * @param we a WhenEmpty enumerated value */ public void setWhenmanifestonly(WhenEmpty we) { emptyBehavior = we.getValue();