You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@opennlp.apache.org by "James Kosin (JIRA)" <ji...@apache.org> on 2011/02/01 00:55:29 UTC

[jira] Created: (OPENNLP-112) Windows Batch File OPENNLP.BAT

Windows Batch File OPENNLP.BAT
------------------------------

                 Key: OPENNLP-112
                 URL: https://issues.apache.org/jira/browse/OPENNLP-112
             Project: OpenNLP
          Issue Type: Improvement
          Components: Build, Packaging and Test
    Affects Versions: tools-1.5.0-sourceforge
         Environment: Windows XP, VISTA, 7
            Reporter: James Kosin
            Assignee: James Kosin


The OPENNLP_HOME environment variable really needs the location of the installed binary libraries or (jar files).
The default right now assumes that the user ran the opennlp.bat file from the directory above the bin directory the batch file is located in.  This may not be the case and cause the improper path to be passed to java for running.

Windows XP and newer contain batch file extensions that allow us to extract the path from the default environment.  Unfortunately, any OS before XP may require manual adjustments to the script (batch file) provided.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (OPENNLP-112) Windows Batch File OPENNLP.BAT

Posted by "James Kosin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Kosin resolved OPENNLP-112.
---------------------------------

    Resolution: Fixed

Retested everything with Windows 7.
Patch is working and the path to the OPENNLP_HOME is setup correctly.


> Windows Batch File OPENNLP.BAT
> ------------------------------
>
>                 Key: OPENNLP-112
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-112
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>    Affects Versions: tools-1.5.0-sourceforge
>         Environment: Windows XP, VISTA, 7
>            Reporter: James Kosin
>            Assignee: James Kosin
>
> The OPENNLP_HOME environment variable really needs the location of the installed binary libraries or (jar files).
> The default right now assumes that the user ran the opennlp.bat file from the directory above the bin directory the batch file is located in.  This may not be the case and cause the improper path to be passed to java for running.
> Windows XP and newer contain batch file extensions that allow us to extract the path from the default environment.  Unfortunately, any OS before XP may require manual adjustments to the script (batch file) provided.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (OPENNLP-112) Windows Batch File OPENNLP.BAT

Posted by "James Kosin (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OPENNLP-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Kosin closed OPENNLP-112.
-------------------------------


> Windows Batch File OPENNLP.BAT
> ------------------------------
>
>                 Key: OPENNLP-112
>                 URL: https://issues.apache.org/jira/browse/OPENNLP-112
>             Project: OpenNLP
>          Issue Type: Improvement
>          Components: Build, Packaging and Test
>    Affects Versions: tools-1.5.0-sourceforge
>         Environment: Windows XP, VISTA, 7
>            Reporter: James Kosin
>            Assignee: James Kosin
>
> The OPENNLP_HOME environment variable really needs the location of the installed binary libraries or (jar files).
> The default right now assumes that the user ran the opennlp.bat file from the directory above the bin directory the batch file is located in.  This may not be the case and cause the improper path to be passed to java for running.
> Windows XP and newer contain batch file extensions that allow us to extract the path from the default environment.  Unfortunately, any OS before XP may require manual adjustments to the script (batch file) provided.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira