[
https://issues.apache.org/jira/browse/UIMA-2983?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marshall Schor resolved UIMA-2983.
----------------------------------
Resolution: Fixed
> Tests for jcasgen-maven-plugin failing (on Windows) due to malformed URL
> ------------------------------------------------------------------------
>
> Key: UIMA-2983
> URL: https://issues.apache.org/jira/browse/UIMA-2983
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Environment: Windows
> Reporter: Marshall Schor
> Assignee: Marshall Schor
> Fix For: 2.4.1SDK
>
>
> On Windows (and maybe other platform) the plugin is generating UIMA
> descriptors having import statements that are importing by location. These
> are being generated using
> {noformat}
> Import imp = new Import_impl();
> imp.setLocation(new
> File(ds.getBasedir(),descriptorLocation).getAbsolutePath()));
> {noformat}
> But the document for UIMA for location parameters says they have to be URLs,
> see
> http://uima.apache.org/d/uimaj-2.4.0/references.html#ugr.ref.xml.component_descriptor.imports
> The example there for "absolute" paths says to prefix the path with
> "file:///" to make it a valid URL. Change the code which sets import
> location that generates absolute paths to prefix the path with this.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira