geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r509052 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild: config/projects/Geronimo_CTS/Controller.groovy system/library/Library.groovy
Date Mon, 19 Feb 2007 01:34:00 GMT
Author: jdillon
Date: Sun Feb 18 17:33:59 2007
New Revision: 509052

URL: http://svn.apache.org/viewvc?view=rev&rev=509052
Log:
Allow excludes to be a string or list
Exclude .svn muck when copying tck/ri libs

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

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy?view=diff&rev=509052&r1=509051&r2=509052
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/Geronimo_CTS/Controller.groovy
Sun Feb 18 17:33:59 2007
@@ -133,14 +133,14 @@
         //       we only change a few files, which always get overwritten, so its okay to

         //       re-use, and it will save ~10 minutes of time to make the copy
         //
-        def tckLib = LibraryManager.getLibrary(repo, 'j2ee14-tck', '1.4.1b').copy('target/tck')
+        def tckLib = LibraryManager.getLibrary(repo, 'j2ee14-tck', '1.4.1b').copy('target/tck',
null, '*.svn')
         
         //
         // NOTE: We *must* copy the RI each time as its setup will change a bunch of files
         //       and once changed there is no going back.  This copy is relativly cheap,
so
         //       just copy it each time.
         //
-        def riLib = LibraryManager.getLibrary(repo, 'j2ee14-ri', '1.4.1-b05').copy('target/ri')
+        def riLib = LibraryManager.getLibrary(repo, 'j2ee14-ri', '1.4.1-b05').copy('target/ri',
null, '*.svn')
         
         //
         // HACK: Show what processes and tmp we are starting with

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=509052&r1=509051&r2=509052
==============================================================================
--- 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
Sun Feb 18 17:33:59 2007
@@ -153,6 +153,12 @@
         return lib
     }
     
+    Library copy(targetPath, String perms, String excludes) {
+        assert excludes
+        
+        return copy(targetPath, perms, [ excludes ])
+    }
+    
     protected abstract Library createCloneForDir(File targetDir)
     
     /**



Mime
View raw message