geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r532270 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
Date Wed, 25 Apr 2007 08:58:38 GMT
Author: jdillon
Date: Wed Apr 25 01:58:37 2007
New Revision: 532270

URL: http://svn.apache.org/viewvc?view=rev&rev=532270
Log:
The hacks just keep coming... Can't set basedir, as it won't exist

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

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy?view=diff&rev=532270&r1=532269&r2=532270
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/library/svn/LibraryImpl.groovy
Wed Apr 25 01:58:37 2007
@@ -56,7 +56,7 @@
         def watch = new StopWatch()
         watch.start()
         
-        ant.exec(executable: 'svn', dir: baseDir, failonerror: true) {
+        ant.exec(executable: 'svn', /*dir: baseDir,*/ failonerror: true) {
             arg(value: command)
             
             //
@@ -84,7 +84,7 @@
         // Ant does not like to replace props, so make a unique one each time
         def propname = 'svnoutput.' + UUID.randomUUID()
         
-        ant.exec(executable: 'svn', dir: baseDir, failonerror: true, outputproperty: propname)
{
+        ant.exec(executable: 'svn', /*dir: baseDir,*/ failonerror: true, outputproperty:
propname) {
             arg(value: command)
             arg(value: '--non-interactive')
             args.each {
@@ -129,7 +129,7 @@
         log.info "Checking out library from: $sourceURL"
         
         assert !exists()
-        baseDir.mkdirs()
+        baseDir.parentFile.mkdirs()
         
         //
         // HACK: Export a specific revision so we can avoid those evil .svn



Mime
View raw message