[tor-commits] [metrics-web/master] Make paths absolute and add concluding echo messages to helper tasks.

karsten at torproject.org karsten at torproject.org
Wed Dec 20 08:41:23 UTC 2017


commit 940e00cc754f32721c04622081c7a924ba7d402e
Author: iwakeh <iwakeh at torproject.org>
Date:   Mon Dec 4 11:14:53 2017 +0000

    Make paths absolute and add concluding echo messages to helper tasks.
---
 build.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/build.xml b/build.xml
index eaf8a3d..941cfc2 100644
--- a/build.xml
+++ b/build.xml
@@ -322,8 +322,8 @@
       <param name="module.Rscript" value="merge-clients.R" />
     </antcall>
 
-    <copy file="clients.csv" todir="${statsdir}" />
-    <copy file="userstats-combined.csv" todir="${statsdir}" />
+    <copy file="${localmoddir}/clients.csv" todir="${statsdir}" />
+    <copy file="${localmoddir}/userstats-combined.csv" todir="${statsdir}" />
 
     <antcall target="run-R" >
       <param name="module.Rscript" value="split-clients.R" />
@@ -350,7 +350,7 @@
       <arg value="--no-save" />
       <arg value="--quiet" />
       <arg value="--RS-conf" />
-      <arg value="Rserv.conf" />
+      <arg value="${Rsources}/Rserv.conf" />
     </exec>
   </target>
 
@@ -397,6 +397,7 @@
       <jvmarg value="-Duser.language=us" />
       <jvmarg value="-Duser.region=US" />
     </java>
+    <echo message="Java module ${module.name} finished. " />
   </target>
 
   <target name="run-R" >
@@ -410,6 +411,7 @@
       <arg value="-f"/>
       <arg value="${Rscript}" />
     </exec>
+    <echo message="R module ${module.name}, script ${module.Rscript} finished. " />
   </target>
 
   <!-- The following line adds the common targets and properties





More information about the tor-commits mailing list