You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Burn Lewis (JIRA)" <ui...@incubator.apache.org> on 2008/04/21 21:47:21 UTC

[jira] Commented: (UIMA-852) jcasgen.sh has trouble with import by name

    [ https://issues.apache.org/jira/browse/UIMA-852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591017#action_12591017 ] 

Burn Lewis commented on UIMA-852:
---------------------------------

A work-around is to pass the value via the UIMA_JVM_OPTS env var, e.g.

  set UIMA_JVM_OPTS=-Duima.datapath=%UIMA_DATAPATH% %UIMA_JVM_OPTS%
  jcasgen <yourDescriptor> <outputDir>

> jcasgen.sh has trouble with import by name
> ------------------------------------------
>
>                 Key: UIMA-852
>                 URL: https://issues.apache.org/jira/browse/UIMA-852
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>         Environment: Linux RHEL5.1
> IBM Java6
>            Reporter: Jerry Quinn
>         Attachments: UIMA-852.patch
>
>
> If processing a typesystem file that uses <import name="some/path/to/blah">, and the path to blah is not relative to where jcasgen is run, jcasgen will fail because uima.datapath cannot be set.
> The simplest approach to resolve it would be to read the value from an evironment variable such as UIMA_DATAPATH.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.