[jboss-svn-commits] JBL Code SVN: r33812 - labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Jul 9 13:09:00 EDT 2010


Author: whitingjr
Date: 2010-07-09 13:09:00 -0400 (Fri, 09 Jul 2010)
New Revision: 33812

Modified:
   labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml
Log:
Fixed remote replacement scripting.

Modified: labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml
===================================================================
--- labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml	2010-07-09 16:45:25 UTC (rev 33811)
+++ labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml	2010-07-09 17:09:00 UTC (rev 33812)
@@ -99,7 +99,7 @@
       <exec executable="printgcstats" output="${spec.install.dir}/output/${org.spec.internal.runId}/config/verbose-gc-stats.txt" failonerror="false">
          <arg value="-v"/>
          <arg value="cpus=16"/>
-         <arg value="${spec.install.dir}/output/${org.spec.internal.runId}/verbose-gc.txt"/>
+         <arg value="${spec.install.dir}/output/${org.spec.internal.runId}/config/verbose-gc.txt"/>
       </exec>
    </target>
    
@@ -171,11 +171,14 @@
    <target name="replace-remote-file">
       
       <if>
-         <equals arg1="true" arg2="replacement.file.exists"/>
+         <equals arg1="true" arg2="${replacement.file.exists}"/>
          <then>
             <echo>Replacing file ${replacement.runconf.file} </echo>
             <scp localFile="${replacement.runconf.file}" remoteTofile="root at hornetq:${replacement.runconf.target.name}"  failonerror="true" password="${r_p}"/>
          </then>
+         <else>
+            <echo>No replacement of remote file.</echo>
+         </else>
       </if>
    </target>
    



More information about the jboss-svn-commits mailing list