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 Get.java Touch.java
Date Tue, 23 Apr 2002 08:35:05 GMT
bodewig     02/04/23 01:35:05

  Modified:    src/main/org/apache/tools/ant/taskdefs Get.java Touch.java
  Log:
  reverted the logic in two tasks by accident.
  
  Revision  Changes    Path
  1.22      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Get.java
  
  Index: Get.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Get.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- Get.java	23 Apr 2002 08:15:51 -0000	1.21
  +++ Get.java	23 Apr 2002 08:35:05 -0000	1.22
  @@ -304,7 +304,7 @@
        * @param v "true" to enable file time fetching
        */
       public void setUseTimestamp(boolean v) {
  -        if (JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1)) {
  +        if (!JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1)) {
               useTimestamp = v;
           }
       }
  
  
  
  1.24      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Touch.java
  
  Index: Touch.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Touch.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- Touch.java	23 Apr 2002 08:15:51 -0000	1.23
  +++ Touch.java	23 Apr 2002 08:35:05 -0000	1.24
  @@ -187,7 +187,7 @@
           }
   
           if (millis >= 0 && 
  -            !JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1)) {
  +            JavaEnvUtils.isJavaVersion(JavaEnvUtils.JAVA_1_1)) {
               log("modification time of files cannot be set in JDK 1.1",
                   Project.MSG_WARN);
               return;
  
  
  

--
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