Browse Source

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
master
Conor MacNeill 24 years ago
parent
commit
2deeb0512d
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java

+ 11
- 0
src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java View File

@@ -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 <weblogic> nested element", Project.MSG_ERR);
throw new BuildException("generateweblogic not supported - use nested <weblogic> 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


Loading…
Cancel
Save