commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbe...@apache.org
Subject svn commit: r1082555 - in /commons/sandbox/gsoc/2010/scxml-js/trunk: run.bat run.sh
Date Thu, 17 Mar 2011 16:17:01 GMT
Author: jbeard
Date: Thu Mar 17 16:17:01 2011
New Revision: 1082555

URL: http://svn.apache.org/viewvc?rev=1082555&view=rev
Log:
Updated run.{sh,bat} so that they can be run from an external directory.

Modified:
    commons/sandbox/gsoc/2010/scxml-js/trunk/run.bat
    commons/sandbox/gsoc/2010/scxml-js/trunk/run.sh

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/run.bat
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/run.bat?rev=1082555&r1=1082554&r2=1082555&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/run.bat (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/run.bat Thu Mar 17 16:17:01 2011
@@ -1 +1 @@
-mvn -q exec:java -DscxmlInputArgs=%*
+mvn -q -f %~dp0\pom.xml exec:java -DscxmlInputArgs="%*"

Modified: commons/sandbox/gsoc/2010/scxml-js/trunk/run.sh
URL: http://svn.apache.org/viewvc/commons/sandbox/gsoc/2010/scxml-js/trunk/run.sh?rev=1082555&r1=1082554&r2=1082555&view=diff
==============================================================================
--- commons/sandbox/gsoc/2010/scxml-js/trunk/run.sh (original)
+++ commons/sandbox/gsoc/2010/scxml-js/trunk/run.sh Thu Mar 17 16:17:01 2011
@@ -1,2 +1,4 @@
 #!/bin/sh
-mvn -q exec:java -DscxmlInputArgs="$*"
+dn=`dirname $0`
+abspath=`cd $dn; pwd`
+mvn -q -f $abspath/pom.xml exec:java -DscxmlInputArgs="$*"



Mime
View raw message