ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chen...@apache.org
Subject svn commit: r1637409 - in /ctakes/trunk/ctakes-distribution/src/main/bin: runctakesCPE.bat runctakesCPE.sh runctakesCVD.bat runctakesCVD.sh
Date Fri, 07 Nov 2014 17:03:53 GMT
Author: chenpei
Date: Fri Nov  7 17:03:53 2014
New Revision: 1637409

URL: http://svn.apache.org/r1637409
Log:
CTAKES-162 - for batch scripts - bring user back to original directory after running. Also
pass in $@ any args from parent script for.sh.

Modified:
    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

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=1637409&r1=1637408&r2=1637409&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.bat Fri Nov  7 17:03:53 2014
@@ -42,6 +42,6 @@ goto end
 @set PATH=%PATH%;%CTAKES_HOME%\lib\auth\x64
 cd %CTAKES_HOME%
 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
-
+cd %CURRENT_DIR%
 :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=1637409&r1=1637408&r2=1637409&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCPE.sh Fri Nov  7 17:03:53 2014
@@ -23,6 +23,9 @@
 # or add the properties
 # -Dctakes.umlsuser=[username] -Dctakes.umlspw=[password]
 
+# You can also pass in the name of the XML descriptor to auto load as an arugement
+# -desc $CTAKES_HOME/ctakes-clinical-pipeline/desc/AggregatePlaintextUMLSProcessor.xml
+
 PRG="$0"
 while [ -h "$PRG" ]; do
   ls=`ls -ld "$PRG"`
@@ -39,4 +42,4 @@ PRGDIR=`dirname "$PRG"`
 [ -z "$CTAKES_HOME" ] && CTAKES_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
 cd $CTAKES_HOME
-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
+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=1637409&r1=1637408&r2=1637409&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.bat Fri Nov  7 17:03:53 2014
@@ -41,5 +41,5 @@ goto end
 @set PATH=%PATH%;%CTAKES_HOME%\lib\auth\x64
 cd %CTAKES_HOME%
 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
-
+cd %CURRENT_DIR%
 :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=1637409&r1=1637408&r2=1637409&view=diff
==============================================================================
--- ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh (original)
+++ ctakes/trunk/ctakes-distribution/src/main/bin/runctakesCVD.sh Fri Nov  7 17:03:53 2014
@@ -23,6 +23,9 @@
 # or add the properties
 # -Dctakes.umlsuser=[username] -Dctakes.umlspw=[password]
 
+# You can also pass in the name of the XML descriptor to auto load as an arugement
+# -desc $CTAKES_HOME/ctakes-clinical-pipeline/desc/AggregatePlaintextUMLSProcessor.xml
+
 PRG="$0"
 while [ -h "$PRG" ]; do
   ls=`ls -ld "$PRG"`
@@ -39,4 +42,4 @@ PRGDIR=`dirname "$PRG"`
 [ -z "$CTAKES_HOME" ] && CTAKES_HOME=`cd "$PRGDIR/.." >/dev/null; pwd`
 
 cd $CTAKES_HOME
-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
+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 "$@"



Mime
View raw message