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

[jira] Created: (UIMA-995) [uima-as] dd2spring doesn't properly handle urls in import by location which are absolute

[uima-as] dd2spring doesn't properly handle urls in import by location which are absolute
-----------------------------------------------------------------------------------------

                 Key: UIMA-995
                 URL: https://issues.apache.org/jira/browse/UIMA-995
             Project: UIMA
          Issue Type: Bug
          Components: Async Scaleout
            Reporter: Marshall Schor
            Assignee: Marshall Schor
            Priority: Minor


UIMA Descriptors have <import> statements.  One variety of these is import by location.  The location can be relative or absolute; if relative, it is relative to the location of the file having the <import> statement. 

dd2spring handles this by keeping track of the importing file's file path, and (for relative urls) using that as the "base" to be relative from.  It has a heuristic test for determining if a path is absolute: it looks for a path that starts with a "/" or something like "c:/"  

The CDE, when you import something outside the Eclipse workspace, uses the URL format "file:/c:/xxxx/etc"  This is an "absolute" location, but the dd2spring code's test for this fails.

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


[jira] Closed: (UIMA-995) [uima-as] dd2spring doesn't properly handle urls in import by location which are absolute

Posted by "Marshall Schor (JIRA)" <ui...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marshall Schor closed UIMA-995.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2AS

> [uima-as] dd2spring doesn't properly handle urls in import by location which are absolute
> -----------------------------------------------------------------------------------------
>
>                 Key: UIMA-995
>                 URL: https://issues.apache.org/jira/browse/UIMA-995
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 2.2.2AS
>
>
> UIMA Descriptors have <import> statements.  One variety of these is import by location.  The location can be relative or absolute; if relative, it is relative to the location of the file having the <import> statement. 
> dd2spring handles this by keeping track of the importing file's file path, and (for relative urls) using that as the "base" to be relative from.  It has a heuristic test for determining if a path is absolute: it looks for a path that starts with a "/" or something like "c:/"  
> The CDE, when you import something outside the Eclipse workspace, uses the URL format "file:/c:/xxxx/etc"  This is an "absolute" location, but the dd2spring code's test for this fails.

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