From 2deeb0512d5eb2cf2dd9d35490a0469d2a111d02 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Mon, 16 Oct 2000 09:38:57 +0000 Subject: [PATCH] Add warning about sytnax change for this task git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268091 13f79535-47bb-0310-9956-ffa450edef68 --- .../tools/ant/taskdefs/optional/ejb/EjbJar.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java index 852bf4dd8..e6c0d7f40 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java @@ -202,6 +202,17 @@ public class EjbJar extends MatchingTask { this.baseNameTerminator = inValue; } + /** + * Setter used to store the value of generateweblogic. + * @param inValue a string, either 'true' or 'false'. + */ + public void setGenerateweblogic(String inValue) { + log("The syntax for using ejbjar with Weblogic has changed.", Project.MSG_ERR); + log("Please refer to the ejbjar documentation" + + " for information on the using the nested element", Project.MSG_ERR); + throw new BuildException("generateweblogic not supported - use nested element"); + } + /** * Invoked by Ant after the task is prepared, when it is ready to execute * this task. Parses the XML deployment descriptor to acquire the list of