geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r543016 - /geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/JavaEE_TCK/Controller.groovy
Date Thu, 31 May 2007 01:46:24 GMT
Author: jdillon
Date: Wed May 30 18:46:23 2007
New Revision: 543016

URL: http://svn.apache.org/viewvc?view=rev&rev=543016
Log:
For the moment, just unzip the dist

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

Modified: geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/JavaEE_TCK/Controller.groovy
URL: http://svn.apache.org/viewvc/geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/JavaEE_TCK/Controller.groovy?view=diff&rev=543016&r1=543015&r2=543016
==============================================================================
--- geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/JavaEE_TCK/Controller.groovy
(original)
+++ geronimo/sandbox/build-support/libraries/system/1/groovy/gbuild/config/projects/JavaEE_TCK/Controller.groovy
Wed May 30 18:46:23 2007
@@ -33,8 +33,16 @@
 class Controller extends gbuild.system.ProjectController
 {
     def build = {
-        def maven = new MavenCommand(context)
-        maven.javaVersion = 1.5
-        maven.execute()
+        def imageDir = new File('target/image').canonicalFile
+        imageDir.mkdirs()
+        
+        def distributionsDir = new File('project/src/main/distributions').canonicalFile
+        def javaeeTckZip = new File(distributionsDir, 'javaee-tck.zip')
+        
+        ant.exec(executable: 'unzip', failonerror: true) {
+            arg(file: javaeeTckZip)
+            arg(value: '-d')
+            arg(file: imageDir)
+        }
     }
 }



Mime
View raw message