ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vjapa...@apache.org
Subject svn commit: r1631728 - in /ctakes/trunk/ctakes-distribution/src/main/bin: ctakes.profile runctakesCPE.bat runctakesCPE.sh runctakesCVD.bat runctakesCVD.sh setenv.bat
Date Tue, 14 Oct 2014 12:11:05 GMT
Author: vjapache
Date: Tue Oct 14 12:11:04 2014
New Revision: 1631728

URL: http://svn.apache.org/r1631728
Log:
modify classpath so that resources is before lib, allowing users to override config files
in resources dir

Modified:
    ctakes/trunk/ctakes-distribution/src/main/bin/ctakes.profile
    ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat
    ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh
    ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat
    ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh
    ctakes/trunk/ctakes-distribution/src/main/bin/setenv.bat

Modified: ctakes/trunk/ctakes-distribution/src/main/bin/ctakes.profile
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-distribution/src/main/bin/ctakes.profile?rev=1631728&r1=1631727&r2=1631728&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/ctakes.profile (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/ctakes.profile Tue Oct 14 12:11:04 2014
@@ -30,5 +30,5 @@ export CTAKES_HOME
 ANT_CP=${CTAKES_HOME}/lib/ant-1.9.2.jar:${CTAKES_HOME}/lib/ant-launcher-1.9.2.jar:${CTAKES_HOME}/lib/ant-contrib-1.0b3.jar
 export ANT_CP
 
-CLASSPATH="${CTAKES_HOME}/lib/*:${CTAKES_HOME}/desc/:${CTAKES_HOME}/resources/"
+CLASSPATH="${CTAKES_HOME}/desc/:${CTAKES_HOME}/resources/:${CTAKES_HOME}/lib/*"
 export CLASSPATH

Modified: ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat?rev=1631728&r1=1631727&r2=1631728&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat Tue Oct 14 12:11:04 2014
@@ -41,7 +41,7 @@ goto end
 :okHome
 @set PATH=%PATH%;%CTAKES_HOME%\lib\auth\x64
 cd %CTAKES_HOME%
-java -cp "%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cpm.CpmFrame
+java -cp "%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/;%CTAKES_HOME%/lib/*" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cpm.CpmFrame
 
 :end
 ENDLOCAL

Modified: ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh?rev=1631728&r1=1631727&r2=1631728&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh Tue Oct 14 12:11:04 2014
@@ -39,4 +39,4 @@ PRGDIR=`dirname "$PRG"`
 [ -z "$CTAKES_HOME" ] && CTAKES_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
 cd $CTAKES_HOME
-java -cp $CTAKES_HOME/lib/*:$CTAKES_HOME/desc/:$CTAKES_HOME/resources/ -Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cpm.CpmFrame
+java -cp $CTAKES_HOME/desc/:$CTAKES_HOME/resources/:$CTAKES_HOME/lib/* -Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cpm.CpmFrame

Modified: ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat?rev=1631728&r1=1631727&r2=1631728&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat Tue Oct 14 12:11:04 2014
@@ -40,6 +40,6 @@ goto end
 :okHome
 @set PATH=%PATH%;%CTAKES_HOME%\lib\auth\x64
 cd %CTAKES_HOME%
-java -cp "%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cvd.CVD
+java -cp "%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/;%CTAKES_HOME%/lib/*" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cvd.CVD
 
 :end
\ No newline at end of file

Modified: ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh?rev=1631728&r1=1631727&r2=1631728&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh Tue Oct 14 12:11:04 2014
@@ -39,4 +39,4 @@ PRGDIR=`dirname "$PRG"`
 [ -z "$CTAKES_HOME" ] && CTAKES_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
 cd $CTAKES_HOME
-java -cp $CTAKES_HOME/lib/*:$CTAKES_HOME/desc/:$CTAKES_HOME/resources/ -Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cvd.CVD
+java -cp $CTAKES_HOME/desc/:$CTAKES_HOME/resources/:$CTAKES_HOME/lib/* -Dlog4j.configuration=file:$CTAKES_HOME/config/log4j.xml
-Xms512M -Xmx3g org.apache.uima.tools.cvd.CVD

Modified: ctakes/trunk/ctakes-distribution/src/main/bin/setenv.bat
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-distribution/src/main/bin/setenv.bat?rev=1631728&r1=1631727&r2=1631728&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/setenv.bat (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/setenv.bat Tue Oct 14 12:11:04 2014
@@ -40,4 +40,4 @@
 @rem -------------------------------------------
 
 @set ANT_CP=%CTAKES_HOME%\lib\ant-1.9.2.jar;%CTAKES_HOME%\lib\ant-launcher-1.9.2.jar;%CTAKES_HOME%\lib\ant-contrib-1.0b3.jar
-@set CLASSPATH="%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/"
+@set CLASSPATH="%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/;%CTAKES_HOME%/lib/*"



Mime
View raw message