ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/ejb EjbJar.java
Date Sat, 20 Jan 2001 13:50:36 GMT
conor       01/01/20 05:50:36

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/ejb
                        EjbJar.java
  Log:
  Changed <support-classes> to <support> in <ejbjar> tag.
  
  Revision  Changes    Path
  1.12      +8 -7      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.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- EjbJar.java	2001/01/20 12:41:51	1.11
  +++ EjbJar.java	2001/01/20 13:50:36	1.12
  @@ -183,13 +183,14 @@
           return classpath.createPath();
       }
   
  -    public Object createElement(String elementName) {
  -        if (elementName.equals("support-classes")) {
  -            supportClasses = new FileSet();
  -            return supportClasses;
  -        }
  -        
  -        return null;
  +    /**
  +     * Create a file set for support elements
  +     *
  +     * @return a fileset which can be populated with support files.
  +     */
  +    public FileSet createSupport() {
  +        supportClasses = new FileSet();
  +        return supportClasses;
       }
       
   
  
  
  

Mime
View raw message