[jboss-svn-commits] JBL Code SVN: r34095 - labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Wed Jul 21 09:23:57 EDT 2010
Author: whitingjr
Date: 2010-07-21 09:23:57 -0400 (Wed, 21 Jul 2010)
New Revision: 34095
Modified:
labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml
Log:
Replaced environment configuration.
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-21 13:19:28 UTC (rev 34094)
+++ labs/jbosstm/workspace/whitingjr/sandbox/batch-execution-SPEC-jms2007/scripts/build-api.xml 2010-07-21 13:23:57 UTC (rev 34095)
@@ -48,7 +48,7 @@
<sleep minutes="${sever.startup.sleep.inMinutes}"/>
<delete file="${jps.output.file}" failonerror="false"/>
- <scp remotefile="root at hornetq:${jps.output.file}" localTodir="${jps.output.file}" failonerror="false" password="${eap.server.password}"/>
+ <scp remotefile="${eap.server.username}@${eap.server.host}:${jps.output.file}" localTodir="${jps.output.file}" failonerror="false" password="${eap.server.password}"/>
<sleep seconds="10"/>
@@ -77,8 +77,8 @@
<target name="gather-configuration" depends="clean">
<echo>Gathering configuration located on EAP server.</echo>
- <scp remotefile="root at hornetq:${server.deployment.dir}/bin/run.conf" localTodir="${spec.install.dir}/config/run.conf" failonerror="true" password="${eap.server.password}"/>
- <scp remotefile="root at hornetq:${server.deployment.dir}/server/production/deploy/hornetq/hornetq-configuration.xml" localTodir="${spec.install.dir}/config/hornetq-configuration.xml" failonerror="true" password="${eap.server.password}"/>
+ <scp remotefile="${eap.server.username}@${eap.server.host}:${server.deployment.dir}/bin/run.conf" localTodir="${spec.install.dir}/config/run.conf" failonerror="true" password="${eap.server.password}"/>
+ <scp remotefile="${eap.server.username}@${eap.server.host}:${server.deployment.dir}/server/production/deploy/hornetq/hornetq-configuration.xml" localTodir="${spec.install.dir}/config/hornetq-configuration.xml" failonerror="true" password="${eap.server.password}"/>
</target>
<target name="start-benchmark">
@@ -107,8 +107,8 @@
<target name="gather-logs">
<echo>Gathering log files</echo>
<parallel failonany="false">
- <scp remotefile="root at hornetq:/jboss-5.1.0.Branch/server/production/log/jstat-hornetq.txt" localTodir="${spec.install.dir}/output/${org.spec.internal.runId}/config/jstat-hornetq.txt" failonerror="false" password="${eap.server.password}"/>
- <scp remotefile="root at hornetq:/tmp/verbose-gc.txt" localTodir="${spec.install.dir}/output/${org.spec.internal.runId}/config/verbose-gc.txt" failonerror="false" password="${eap.server.password}"/>
+ <scp remotefile="${eap.server.username}@${eap.server.host}:/jboss-5.1.0.Branch/server/production/log/jstat-hornetq.txt" localTodir="${spec.install.dir}/output/${org.spec.internal.runId}/config/jstat-hornetq.txt" failonerror="false" password="${eap.server.password}"/>
+ <scp remotefile="${eap.server.username}@${eap.server.host}:/tmp/verbose-gc.txt" localTodir="${spec.install.dir}/output/${org.spec.internal.runId}/config/verbose-gc.txt" failonerror="false" password="${eap.server.password}"/>
</parallel>
</target>
@@ -234,7 +234,7 @@
<equals arg1="true" arg2="${replacement.file.exists}"/>
<then>
<echo>Replacing file ${replacement.file.source.name} </echo>
- <scp localFile="${replacement.file.source.name}" remoteTofile="root at hornetq:${replacement.file.target.name}" failonerror="true" password="${eap.server.password}" />
+ <scp localFile="${replacement.file.source.name}" remoteTofile="${eap.server.username}@${eap.server.host}:${replacement.file.target.name}" failonerror="true" password="${eap.server.password}" />
</then>
<else>
<echo>No replacement of remote file.</echo>
More information about the jboss-svn-commits
mailing list