You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2014/11/23 18:50:12 UTC
[jira] [Commented] (UIMA-4119) jcasgen-maven-plugin generates no
files on Windows
[ https://issues.apache.org/jira/browse/UIMA-4119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14222433#comment-14222433 ]
Richard Eckart de Castilho commented on UIMA-4119:
--------------------------------------------------
On windows, the default path representation and the URI path representation differ: "/C:/..." vs. "C:\...". For this reason, Jg.isOutOfScope() fails to detect that types are within scope on Windows and generates nothing.
> jcasgen-maven-plugin generates no files on Windows
> --------------------------------------------------
>
> Key: UIMA-4119
> URL: https://issues.apache.org/jira/browse/UIMA-4119
> Project: UIMA
> Issue Type: Bug
> Components: jcasgen-maven-plugin
> Affects Versions: 2.6.0SDK
> Reporter: Richard Eckart de Castilho
> Assignee: Richard Eckart de Castilho
> Fix For: 2.7.0SDK
>
>
> jcasgen-maven-plugin generates a temporary type system file importing all type system files for which JCas classes should be generated. On Windows, this file contains invalid imports, e.g.:
> {noformat}<?xml version="1.0" encoding="UTF-8"?>
> <typeSystemDescription xmlns="http://uima.apache.org/resourceSpecifier">
> <imports>
> <import location="file:/C:/de.tudarmstadt.ukp.dkpro.core-asl/de.tudarmstadt.ukp.dkpro.core.api.lexmorph-asl/src/main/resources/desc/type/Morpheme.xml"/>
> <import location="file:/C:/de.tudarmstadt.ukp.dkpro.core-asl/de.tudarmstadt.ukp.dkpro.core.api.lexmorph-asl/src/main/resources/desc/type/POS.xml"/>
> </imports>
> </typeSystemDescription>
> {noformat}
> The paths in this file appear to be absolute paths starting with C:\, but actually they are relative to the Eclipse workspace root.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)