ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Ant.java
Date Mon, 06 Jan 2003 14:12:36 GMT
bodewig     2003/01/06 06:12:36

  Modified:    .        WHATSNEW
               src/main/org/apache/tools/ant/taskdefs Ant.java
  Log:
  Keep track of fixes
  
  Revision  Changes    Path
  1.335     +8 -1      jakarta-ant/WHATSNEW
  
  Index: WHATSNEW
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/WHATSNEW,v
  retrieving revision 1.334
  retrieving revision 1.335
  diff -u -r1.334 -r1.335
  --- WHATSNEW	23 Dec 2002 12:00:55 -0000	1.334
  +++ WHATSNEW	6 Jan 2003 14:12:36 -0000	1.335
  @@ -75,8 +75,15 @@
   
   * random component of temporary files is now always a positive integer.
   
  -* Fix <ilasm> outputfile tetsing so that the output file does not need
  +* Fix <ilasm> outputfile testing so that the output file does not need
     to exist beforehand.
  +
  +* Ant could incorrectly try to use the 1.4 regexp implementation even
  +  if it isn't available if you run the JVM with -Xverify:none.
  +
  +* Ant would die with an exception if you used nested <reference>
  +  elements in Ant and the refid attribute didn't point to an existing
  +  project reference.
   
   Other changes:
   --------------
  
  
  
  1.70      +5 -3      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ant.java
  
  Index: Ant.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Ant.java,v
  retrieving revision 1.69
  retrieving revision 1.70
  diff -u -r1.69 -r1.70
  --- Ant.java	6 Jan 2003 07:30:34 -0000	1.69
  +++ Ant.java	6 Jan 2003 14:12:36 -0000	1.70
  @@ -467,11 +467,13 @@
        */
       private void copyReference(String oldKey, String newKey) {
           Object orig = getProject().getReference(oldKey);
  -        if( orig==null ) {
  -            log( "No object referenced by " + oldKey + ". Can't copy to " + newKey,
  -                    Project.MSG_WARN);
  +        if (orig == null) {
  +            log("No object referenced by " + oldKey + ". Can't copy to " 
  +                + newKey, 
  +                Project.MSG_WARN);
               return;
           }
  +
           Class c = orig.getClass();
           Object copy = orig;
           try {
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message