geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r507817 - in /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild: config/projects/Geronimo_CTS/Controller.groovy system/commands/MavenCommand.groovy
Date Thu, 15 Feb 2007 04:57:47 GMT
Author: jdillon
Date: Wed Feb 14 20:57:46 2007
New Revision: 507817

URL: http://svn.apache.org/viewvc?view=rev&rev=507817
Log:
Use specific tmp dir with: java.io.tmpdir, looks like builds and tck is mucking up the system's
/tmp

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/commands/MavenCommand.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=507817&r1=507816&r2=507817
==============================================================================
--- 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
Wed Feb 14 20:57:46 2007
@@ -148,6 +148,12 @@
         args << "-Dj2eetck.home=${tckLib.baseDir}"
         args << "-Dj2eeri.home=${riLib.baseDir}"
         
+        // Setup a tmp dir within our workspace
+        def tmpDir = new File('tmp').canonicalFile
+        tmpDir.mkdirs()
+        
+        args << "-Djava.io.tmpdir=$tmpDir"
+        
         //
         // For this project, we need to get the java version from
         // AH configuration (since 1.2 and 2.0 use differnt versions)

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy?view=diff&rev=507817&r1=507816&r2=507817
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/system/commands/MavenCommand.groovy
Wed Feb 14 20:57:46 2007
@@ -72,6 +72,10 @@
         mavenHome = new File(mavenHome).canonicalFile
         javaHome = new File(javaHome).canonicalFile
         
+        // Setup a tmp dir within our workspace
+        def tmpDir = new File('tmp').canonicalFile
+        tmpDir.mkdirs()
+        
         log.info "POM: $pom"
         log.info "Args: $args"
         log.info "Maven Home: $mavenHome"
@@ -118,6 +122,7 @@
                 arg(file: pom)
                 
                 arg(value: "-Dmaven.repo.local=$repoDir")
+                arg(value: "-Djava.io.tmpdir=$tmpDir")
                 
                 args.each {
                     arg(line: "$it")



Mime
View raw message