ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant WHATSNEW
Date Wed, 12 Sep 2001 15:19:47 GMT
donaldp     01/09/12 08:19:47

  Modified:    src/main/org/apache/tools/ant/taskdefs Ear.java
               docs/manual/CoreTasks ear.html
               .        WHATSNEW
  Log:
  Deprecated earfile in favour of file.
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ear.java
  
  Index: Ear.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ear.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Ear.java	2001/04/23 16:12:07	1.2
  +++ Ear.java	2001/09/12 15:19:46	1.3
  @@ -78,7 +78,8 @@
       }
   
       public void setEarfile(File earFile) {
  -        super.setZipfile(earFile);
  +        log("DEPRECATED - The earfile attribute is deprecated. Use file attribute instead.");
  +        setFile(earFile);
       }
       
       public void setAppxml(File descr) {
  
  
  
  1.6       +2 -2      jakarta-ant/docs/manual/CoreTasks/ear.html
  
  Index: ear.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/ear.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ear.html	2001/08/30 13:23:13	1.5
  +++ ear.html	2001/09/12 15:19:46	1.6
  @@ -24,7 +24,7 @@
       <td align="center" valign="top"><b>Required</b></td>
     </tr>
     <tr>
  -    <td valign="top">earfile</td>
  +    <td valign="top">file</td>
       <td valign="top">the ear-file to create.</td>
       <td valign="top" align="center">Yes</td>
     </tr>
  @@ -112,7 +112,7 @@
   ignored and you will get a warning.</p>
   <h2>Example</h2>
   <pre>
  -    &lt;ear earfile=&quot;${build.dir}/myapp.ear&quot; appxml=&quot;${src.dir}/metadata/application.xml&quot;&gt;
  +    &lt;ear file=&quot;${build.dir}/myapp.ear&quot; appxml=&quot;${src.dir}/metadata/application.xml&quot;&gt;
         &lt;fileset dir=&quot;${build.dir}&quot; includes=&quot;*.jar,*.war&quot;/&gt;
       &lt;/ear&gt;
   </pre>
  
  
  
  1.149     +2 -2      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.148
  retrieving revision 1.149
  diff -u -r1.148 -r1.149
  --- WHATSNEW	2001/09/12 14:21:43	1.148
  +++ WHATSNEW	2001/09/12 15:19:47	1.149
  @@ -7,8 +7,8 @@
   Other changes:
   --------------
   
  -* The attributes zipfile, jarfile and warfile (from the Zip, Jar and War tasks)
  -  have been deprecated and supersceded by a new attribute "file".
  +* The attributes zipfile, jarfile, warfile and earfile (from the Zip, Jar, War and 
  +  Ear tasks) have been deprecated and supersceded by a new attribute "file".
   
   Fixed bugs:
   -----------
  
  
  

Mime
View raw message