geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r506900 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library: Library.groovy LibraryManager.groovy
Date Tue, 13 Feb 2007 08:10:52 GMT
Author: jdillon
Date: Tue Feb 13 00:10:51 2007
New Revision: 506900

URL: http://svn.apache.org/viewvc?view=rev&rev=506900
Log:
Put back native cp, ant's copy blows up on the tck

Modified:
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/Library.groovy
    geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/LibraryManager.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=506900&r1=506899&r2=506900
==============================================================================
--- 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
Tue Feb 13 00:10:51 2007
@@ -122,16 +122,7 @@
         // NOTE: Use native 'cp' for speed, since some libraries can be large
         //       and Ant's mechanism can take forever
         //
-        
-        //
-        // TESTING: See how bad Ant's copy really is...
-        //
-        // exec('cp', [ '-r', "$baseDir/", targetDir ])
-        ant.copy(todir: targetDir) {
-            fileset(dir: baseDir, defaultexcludes: false) {
-                include(name: '**')
-            }
-        }
+        exec('cp', [ '-r', "$baseDir/", targetDir ])
         
         // If we have some perms, then set them
         if (perms) {

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/LibraryManager.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/LibraryManager.groovy?view=diff&rev=506900&r1=506899&r2=506900
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/LibraryManager.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/LibraryManager.groovy
Tue Feb 13 00:10:51 2007
@@ -39,6 +39,12 @@
     //
     private static File baseDir = new File("${System.properties['user.home']}/gbuild/libraries")
     
+    //
+    // TODO: Might use String for repo, then find the repo under gbuild.config.libraries.<Name>Repository
+    //
+    //       So getLibrary('gbuild', ...) would use gbuild.config.libraries.GbuildRepository
+    //
+    
     static Library getLibrary(LibraryRepository repo, String name, version) {
         assert repo
         assert name



Mime
View raw message