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/optional Cab.java
Date Mon, 19 Nov 2001 06:31:36 GMT
bodewig     01/11/18 22:31:36

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional Cab.java
  Log:
  fix reversal of logic I introduced with my last patch
  
  Submitted by:	Ilya A. Kriveshko <ilya@kaon.com>
  
  Revision  Changes    Path
  1.13      +1 -4      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java
  
  Index: Cab.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/Cab.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Cab.java	2001/11/18 11:35:24	1.12
  +++ Cab.java	2001/11/19 06:31:36	1.13
  @@ -90,8 +90,6 @@
       
       protected String archiveType = "cab";
   
  -    private static String myos;
  -
       private FileUtils fileUtils = FileUtils.newFileUtils();
   
       /**
  @@ -288,8 +286,7 @@
   
           log("Building "+ archiveType +": "+ cabFile.getAbsolutePath());
   
  -        // we must be on Windows to continue
  -        if (Os.isFamily("windows")) {
  +        if (!Os.isFamily("windows")) {
               log("Using listcab/libcabinet", Project.MSG_VERBOSE);
               
               StringBuffer sb = new StringBuffer();
  
  
  

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