You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Jerry Cwiklik (JIRA)" <de...@uima.apache.org> on 2013/12/20 18:46:28 UTC

[jira] [Closed] (UIMA-2686) Derive DUCC_HOME from the location of executable jars in CLI.

     [ https://issues.apache.org/jira/browse/UIMA-2686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jerry Cwiklik closed UIMA-2686.
-------------------------------

    Resolution: Fixed

> Derive DUCC_HOME  from the location of executable jars in CLI.
> --------------------------------------------------------------
>
>                 Key: UIMA-2686
>                 URL: https://issues.apache.org/jira/browse/UIMA-2686
>             Project: UIMA
>          Issue Type: Task
>          Components: DUCC
>            Reporter: Jim Challenger
>            Assignee: Jim Challenger
>             Fix For: 1.0-Ducc
>
>
> The scripting currently derives the location of DUCC_HOME based on where it is invoked from.  When using the API the invoked code should do the same thing, based on where it is invoked from.
> A search-order is established:
>   1) search environment for DUCC_HOME
>   2) look in system properties (-DDUCC_HOME)
>   3) infer DUCC_HOME from the location of the jar file the API is invoked from
> If DUCC_HOME is not found in any of these places, throw and fail.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)