ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r807463 - /ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/conditions/HasMode.java
Date Tue, 25 Aug 2009 03:23:56 GMT
Author: bodewig
Date: Tue Aug 25 03:23:38 2009
New Revision: 807463

URL: http://svn.apache.org/viewvc?rev=807463&view=rev
Log:
verbose logging of ocat permissions

Modified:
    ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/conditions/HasMode.java

Modified: ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/conditions/HasMode.java
URL: http://svn.apache.org/viewvc/ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/conditions/HasMode.java?rev=807463&r1=807462&r2=807463&view=diff
==============================================================================
--- ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/conditions/HasMode.java
(original)
+++ ant/sandbox/antlibs/compress/trunk/src/main/org/apache/ant/compress/conditions/HasMode.java
Tue Aug 25 03:23:38 2009
@@ -58,7 +58,9 @@
         if (mode <= UnixStat.PERM_MASK) {
             actual &= UnixStat.PERM_MASK;
         }
-        log("expected: " + mode + ", actual: " + actual, Project.MSG_VERBOSE);
+        log("expected: " + mode + " (octal " + Integer.toString(mode, 8)
+            + "), actual: " + actual + " (octal " + Integer.toString(actual, 8)
+            + ")", Project.MSG_VERBOSE);
         return mode == actual;
     }
 }



Mime
View raw message