ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb EjbJar.java
Date Mon, 16 Oct 2000 09:38:58 GMT
conor       00/10/16 02:38:57

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        EjbJar.java
  Log:
  Add warning about sytnax change for this task
  
  Revision  Changes    Path
  1.8       +11 -0     jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java
  
  Index: EjbJar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb/EjbJar.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- EjbJar.java	2000/09/09 11:48:11	1.7
  +++ EjbJar.java	2000/10/16 09:38:57	1.8
  @@ -203,6 +203,17 @@
       }
   
       /**
  +     * 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
        * files, then constructs the destination jar file (first deleting it if it
  
  
  

Mime
View raw message