ctakes-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Troy Bleeker (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CTAKES-162) Command line scripts leave the user back one directory
Date Mon, 18 Feb 2013 19:41:12 GMT
Troy Bleeker created CTAKES-162:

             Summary: Command line scripts leave the user back one directory
                 Key: CTAKES-162
                 URL: https://issues.apache.org/jira/browse/CTAKES-162
             Project: cTAKES
          Issue Type: Bug
          Components: ctakes-utils
    Affects Versions: 3.0-incubating
            Reporter: Troy Bleeker
            Priority: Minor

Windows was tested. When you run either command runctakesCVD.bat or runctakesCPE.bat the scripts
run commands to kick off java that will ultimately change the operating directory back to
the home directory.  For example,

C:\apache-ctakes-3.0.0-incubating>cd \apache-ctakes-3.0.0-incubating\bin


C:\apache-ctakes-3.0.0-incubating\bin>set CURRENT_DIR=C:\apache-ctakes-3.0.0-inc

C:\apache-ctakes-3.0.0-incubating\bin>if not "C:\apache-ctakes-3.0.0-incubating"
 == "" goto gotHome

C:\apache-ctakes-3.0.0-incubating\bin>if exist "C:\apache-ctakes-3.0.0-incubatin
g\bin\runctakesCVD.bat" goto okHome

C:\apache-ctakes-3.0.0-incubating\bin>cd C:\apache-ctakes-3.0.0-incubating

C:\apache-ctakes-3.0.0-incubating>java -cp "C:\apache-ctakes-3.0.0-incubating/li
sources/" -Dlog4j.configuration=file:/C:\apache-ctakes-3.0.0-incubating/config/l
og4j.xml -Xms512M -Xmx1024M org.apache.uima.tools.cvd.CVD

I started in the bin directory. After the command I am no longer there. Why does that matter?
If a newcomer does not notice this they will not understand why they cannot run the command
twice in a row. It is also just inconvenient.

As a workaround a user can start in cTAKES_HOME and issue the command prefixed with the bin
directory like so bin\runctakesCVD.bat but again this is not convenient.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message