ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vjapa...@apache.org
Subject svn commit: r1555220 - in /ctakes/branches/ytex/ctakes-distribution/src/main/bin: ant.bat runctakesCPE.bat runctakesCVD.bat setenv.bat
Date Fri, 03 Jan 2014 19:33:28 GMT
Author: vjapache
Date: Fri Jan  3 19:33:27 2014
New Revision: 1555220

URL: http://svn.apache.org/r1555220
Log:
increase memory
add scripts for ant & ytex

Added:
    ctakes/branches/ytex/ctakes-distribution/src/main/bin/ant.bat
    ctakes/branches/ytex/ctakes-distribution/src/main/bin/setenv.bat
Modified:
    ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCPE.bat
    ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCVD.bat

Added: ctakes/branches/ytex/ctakes-distribution/src/main/bin/ant.bat
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-distribution/src/main/bin/ant.bat?rev=1555220&view=auto
==============================================================================
--- ctakes/branches/ytex/ctakes-distribution/src/main/bin/ant.bat (added)
+++ ctakes/branches/ytex/ctakes-distribution/src/main/bin/ant.bat Fri Jan  3 19:33:27 2014
@@ -0,0 +1,24 @@
+@REM
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements.  See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership.  The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License.  You may obtain a copy of the License at
+@REM
+@REM   http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied.  See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM
+
+@rem simple script to run ant
+@setlocal
+@call %~dp0setenv.bat
+java -cp %ANT_CP% org.apache.tools.ant.Main %1 %2 %3 %4 %5 %6 %7 %8 %9
+@endlocal
\ No newline at end of file

Modified: ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCPE.bat
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCPE.bat?rev=1555220&r1=1555219&r2=1555220&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCPE.bat (original)
+++ ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCPE.bat Fri Jan  3 19:33:27
2014
@@ -39,8 +39,9 @@ echo This environment variable is needed
 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 -Xmx1024M org.apache.uima.tools.cpm.CpmFrame
+java -cp "%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml
-Xms512M -Xmx2g org.apache.uima.tools.cpm.CpmFrame
 
 :end
 ENDLOCAL

Modified: ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCVD.bat
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCVD.bat?rev=1555220&r1=1555219&r2=1555220&view=diff
==============================================================================
--- ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCVD.bat (original)
+++ ctakes/branches/ytex/ctakes-distribution/src/main/bin/runctakesCVD.bat Fri Jan  3 19:33:27
2014
@@ -38,7 +38,8 @@ echo This environment variable is needed
 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 -Xmx1024M org.apache.uima.tools.cvd.CVD
+java -cp "%CTAKES_HOME%/lib/*;%CTAKES_HOME%/desc/;%CTAKES_HOME%/resources/" -Dlog4j.configuration=file:/%CTAKES_HOME%/config/log4j.xml
-Xms512M -Xmx2g org.apache.uima.tools.cvd.CVD
 
 :end
\ No newline at end of file

Added: ctakes/branches/ytex/ctakes-distribution/src/main/bin/setenv.bat
URL: http://svn.apache.org/viewvc/ctakes/branches/ytex/ctakes-distribution/src/main/bin/setenv.bat?rev=1555220&view=auto
==============================================================================
--- ctakes/branches/ytex/ctakes-distribution/src/main/bin/setenv.bat (added)
+++ ctakes/branches/ytex/ctakes-distribution/src/main/bin/setenv.bat Fri Jan  3 19:33:27 2014
@@ -0,0 +1,44 @@
+@REM
+@REM Licensed to the Apache Software Foundation (ASF) under one
+@REM or more contributor license agreements.  See the NOTICE file
+@REM distributed with this work for additional information
+@REM regarding copyright ownership.  The ASF licenses this file
+@REM to you under the Apache License, Version 2.0 (the
+@REM "License"); you may not use this file except in compliance
+@REM with the License.  You may obtain a copy of the License at
+@REM
+@REM   http://www.apache.org/licenses/LICENSE-2.0
+@REM
+@REM Unless required by applicable law or agreed to in writing,
+@REM software distributed under the License is distributed on an
+@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+@REM KIND, either express or implied.  See the License for the
+@REM specific language governing permissions and limitations
+@REM under the License.
+@REM
+
+@rem -------------------------------------------
+@rem customize these variables to match your environment
+@rem -------------------------------------------
+@rem where java JDK is installed
+@set JAVA_HOME=C:\java\jdk1.7.0_25
+
+@rem where ctakes is/will be installed
+@set CTAKES_HOME=C:\java\apache-ctakes-3.1.2-SNAPSHOT
+
+@rem where metamap is installed (optional)
+@set MM_HOME=c:\java\public_mm
+
+@rem use a minimal path
+@set PATH=%JAVA_HOME%\bin;%CTAKES_HOME%\bin;%SystemRoot%;%SystemRoot%\System32;%SystemRoot%\System32\wbem
+
+@rem add 64-bit MS SQL Server authentication library to path
+@rem modify this accordingly if you are using the 32-bit jdk
+@set PATH=%PATH%;%CTAKES_HOME%\lib\auth\x64
+
+@rem -------------------------------------------
+@rem end customizations.  The following is environment-independent
+@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/"



Mime
View raw message