Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Windows
Description
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
Import imp = new Import_impl(); imp.setLocation(new File(ds.getBasedir(),descriptorLocation).getAbsolutePath()));
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.