You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by se...@apache.org on 2013/01/09 18:26:32 UTC
svn commit: r1430968 -
/incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat
Author: seanfinan
Date: Wed Jan 9 17:26:32 2013
New Revision: 1430968
URL: http://svn.apache.org/viewvc?rev=1430968&view=rev
Log:
CTAKES-126 :Added SETLOCAL for environment variable CTAKES_HOME
Modified:
incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat
Modified: incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat
URL: http://svn.apache.org/viewvc/incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat?rev=1430968&r1=1430967&r2=1430968&view=diff
==============================================================================
--- incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat (original)
+++ incubator/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat Wed Jan 9 17:26:32 2013
@@ -24,6 +24,7 @@
@REM -Dctakes.umlsuser=[username] -Dctakes.umlspw=[password]
@REM Guess CTAKES_HOME if not defined
+SETLOCAL
set CURRENT_DIR=%cd%
if not "%CTAKES_HOME%" == "" goto gotHome
set CTAKES_HOME=%CURRENT_DIR%
@@ -41,4 +42,5 @@ goto end
cd %CTAKES_HOME%
java -cp "%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml -Xms512M -Xmx1024M org.apache.uima.tools.cpm.CpmFrame
-:end
\ No newline at end of file
+:end
+ENDLOCAL