Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 98783 invoked from network); 17 Mar 2011 16:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Mar 2011 16:17:26 -0000 Received: (qmail 48214 invoked by uid 500); 17 Mar 2011 16:17:26 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 48073 invoked by uid 500); 17 Mar 2011 16:17:25 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 48066 invoked by uid 99); 17 Mar 2011 16:17:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 16:17:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Mar 2011 16:17:23 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 906CC2388AAA; Thu, 17 Mar 2011 16:17:01 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1082555 - in /commons/sandbox/gsoc/2010/scxml-js/trunk: run.bat run.sh Date: Thu, 17 Mar 2011 16:17:01 -0000 To: commits@commons.apache.org From: jbeard@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110317161701.906CC2388AAA@eris.apache.org> 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="$*"