ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/util ResourceUtils.java
Date Wed, 01 Dec 2004 15:56:01 GMT
peterreilly    2004/12/01 07:56:00

  Modified:    src/main/org/apache/tools/ant/util Tag: ANT_16_BRANCH
                        ResourceUtils.java
  Log:
  sync
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.4.2.6   +2 -3      ant/src/main/org/apache/tools/ant/util/ResourceUtils.java
  
  Index: ResourceUtils.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/ResourceUtils.java,v
  retrieving revision 1.4.2.5
  retrieving revision 1.4.2.6
  diff -u -r1.4.2.5 -r1.4.2.6
  --- ResourceUtils.java	25 May 2004 12:12:57 -0000	1.4.2.5
  +++ ResourceUtils.java	1 Dec 2004 15:55:57 -0000	1.4.2.6
  @@ -18,7 +18,6 @@
   
   import org.apache.tools.ant.Project;
   import org.apache.tools.ant.ProjectComponent;
  -import org.apache.tools.ant.taskdefs.condition.Os;
   import org.apache.tools.ant.types.Resource;
   import org.apache.tools.ant.types.ResourceFactory;
   import org.apache.tools.ant.types.selectors.SelectorUtils;
  @@ -108,8 +107,8 @@
                                     + " doesn\'t exist.", Project.MSG_VERBOSE);
                           vresult.addElement(source[counter]);
                           added = true;
  -                    } else if (!atarget.isDirectory() &&
  -                               SelectorUtils.isOutOfDate(source[counter],
  +                    } else if (!atarget.isDirectory()
  +                               && SelectorUtils.isOutOfDate(source[counter],
                                                            atarget,
                                                            (int) granularity)) {
                           logTo.log(source[counter].getName() + " added as "
  
  
  

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


Mime
View raw message