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

Jerry Quinn commented on UIMA-852:
----------------------------------

import-by-name is doing what it should, I think.  If -Duima.datapath were set 
in java, then jcasgen would do the right thing, I assume.  It certainly works 
when I run a CPE.

Even if putting the paths in the classpath works, it's the wrong solution.  
Classpath is for class files and things inside jars.  These are xml typesystem 
files sitting on disk.  uima.datapath makes more sense to me.



> 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
>
> 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.

Reply via email to