[Remoterengine-commits] r139 - pkg/RemoteREngine

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Sep 17 11:29:17 CEST 2009


Author: romain
Date: 2009-09-17 11:29:17 +0200 (Thu, 17 Sep 2009)
New Revision: 139

Added:
   pkg/RemoteREngine/configure.R
Modified:
   pkg/RemoteREngine/configure
   pkg/RemoteREngine/configure.win
Log:
added configure.R

Modified: pkg/RemoteREngine/configure
===================================================================
--- pkg/RemoteREngine/configure	2009-09-17 09:27:45 UTC (rev 138)
+++ pkg/RemoteREngine/configure	2009-09-17 09:29:17 UTC (rev 139)
@@ -1,4 +1,3 @@
 #!/bin/sh
+"${R_HOME}/bin/Rscript" --default-packages="base,utils,methods,rJava,ant" configure.R
 
-cd inst/java_src
-"${R_HOME}/bin/Rscript" -e "ant::ant()"

Added: pkg/RemoteREngine/configure.R
===================================================================
--- pkg/RemoteREngine/configure.R	                        (rev 0)
+++ pkg/RemoteREngine/configure.R	2009-09-17 09:29:17 UTC (rev 139)
@@ -0,0 +1,10 @@
+#!/bin/env Rscript
+version <- read.dcf( "DESCRIPTION" )[, "Version" ]
+setwd( "inst/java_src" )
+
+build.properties <- readLines( "build.properties" )
+build.properties <- gsub( "@VERSION@" , version, build.properties )
+
+cat( build.properties, file = "build.properties", sep = "\n" )
+ant()
+

Modified: pkg/RemoteREngine/configure.win
===================================================================
--- pkg/RemoteREngine/configure.win	2009-09-17 09:27:45 UTC (rev 138)
+++ pkg/RemoteREngine/configure.win	2009-09-17 09:29:17 UTC (rev 139)
@@ -1,4 +1,3 @@
 #!/bin/sh
+"${R_HOME}/bin/Rscript" --default-packages="base,utils,methods,rJava,ant" econfigure.R
 
-cd inst/java_src
-"${R_HOME}/bin/Rscript" -e "ant::ant()"



More information about the Remoterengine-commits mailing list