incubator-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1159193 - /incubator/public/trunk/build.bat
Date Thu, 18 Aug 2011 12:41:35 GMT
Author: sebb
Date: Thu Aug 18 12:41:35 2011
New Revision: 1159193

URL: http://svn.apache.org/viewvc?rev=1159193&view=rev
Log:
Allow script to be run from IDE etc

Modified:
    incubator/public/trunk/build.bat

Modified: incubator/public/trunk/build.bat
URL: http://svn.apache.org/viewvc/incubator/public/trunk/build.bat?rev=1159193&r1=1159192&r2=1159193&view=diff
==============================================================================
--- incubator/public/trunk/build.bat (original)
+++ incubator/public/trunk/build.bat Thu Aug 18 12:41:35 2011
@@ -1,5 +1,8 @@
 @echo off
 
+rem Change to containing directory. Allows script to be executed from explorer/IDEs
+cd /d %~dp0
+
 for %%i in (.\lib\*.jar) do call cpappend.bat %%i
 
 echo CLASSPATH="%_CP%"



---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@incubator.apache.org
For additional commands, e-mail: cvs-help@incubator.apache.org


Mime
View raw message