geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r506886 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy
Date Tue, 13 Feb 2007 06:48:14 GMT
Author: jdillon
Date: Mon Feb 12 22:48:14 2007
New Revision: 506886

URL: http://svn.apache.org/viewvc?view=rev&rev=506886
Log:
Comment about -q

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy?view=diff&rev=506886&r1=506885&r2=506886
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy
Mon Feb 12 22:48:14 2007
@@ -48,10 +48,6 @@
         this.baseDir = baseDir
     }
     
-    boolean exists() {
-        return baseDir.exists()
-    }
-    
     private void exec(String command, List args) {
         assert command
         assert args
@@ -81,14 +77,6 @@
         exec('chmod', [ '-R', perm, dir ])
     }
     
-    def lock() {
-        chmod(baseDir, 'a-w')
-    }
-    
-    def unlock() {
-        chmod(baseDir, 'u+w')
-    }
-    
     private void svn(String command, List args) {
         assert command
         assert args
@@ -130,6 +118,18 @@
         return ant.antProject.properties[propname]
     }
     
+    boolean exists() {
+        return baseDir.exists()
+    }
+    
+    def lock() {
+        chmod(baseDir, 'a-w')
+    }
+    
+    def unlock() {
+        chmod(baseDir, 'u+w')
+    }
+    
     /**
      * Check out the library.
      */
@@ -139,6 +139,10 @@
         assert !exists()
         
         ant.mkdir(dir: baseDir)
+        
+        //
+        // TODO: May want to use --quiet for checkout operations
+        //
         
         svn('checkout', [ sourceURL, baseDir ])
     }



Mime
View raw message