ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arn...@locus.apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant Project.java
Date Fri, 28 Apr 2000 08:45:22 GMT
arnout      00/04/28 01:45:22

  Modified:    src/main/org/apache/tools/ant Project.java
  Log:
  Properly set the "ant.java.version" property.
  
  Submitted by:	Justyna Horwat
  
  Revision  Changes    Path
  1.19      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/Project.java
  
  Index: Project.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/Project.java,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -r1.18 -r1.19
  --- Project.java	2000/04/12 16:20:53	1.18
  +++ Project.java	2000/04/28 08:45:21	1.19
  @@ -288,11 +288,11 @@
               javaVersion = JAVA_1_2;
               Class.forName("java.lang.StrictMath");
               javaVersion = JAVA_1_3;
  -            setProperty("ant.java.version", javaVersion);
           } catch (ClassNotFoundException cnfe) {
               // swallow as we've hit the max class version that
               // we have
           }
  +        setProperty("ant.java.version", javaVersion);
   
           // sanity check
           if (javaVersion == JAVA_1_0) {
  
  
  

Mime
View raw message