You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Greg Holmberg (JIRA)" <ui...@incubator.apache.org> on 2010/03/22 22:03:27 UTC

[jira] Created: (UIMA-1748) BSFAnnotator fails tests

BSFAnnotator fails tests
------------------------

                 Key: UIMA-1748
                 URL: https://issues.apache.org/jira/browse/UIMA-1748
             Project: UIMA
          Issue Type: Bug
          Components: Sandbox-BSFAnnotator
    Affects Versions: 2.3
         Environment: Windows
            Reporter: Greg Holmberg
            Priority: Minor


All tests fail saying it can't locate files such as TEST.bsh.



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


[jira] Commented: (UIMA-1748) BSFAnnotator fails tests

Posted by "Greg Holmberg (JIRA)" <ui...@incubator.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-1748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12848342#action_12848342 ] 

Greg Holmberg commented on UIMA-1748:
-------------------------------------

Perhaps this would be better:

    return new File(url.toURI());

> BSFAnnotator fails tests
> ------------------------
>
>                 Key: UIMA-1748
>                 URL: https://issues.apache.org/jira/browse/UIMA-1748
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-BSFAnnotator
>    Affects Versions: 2.3
>         Environment: Windows
>            Reporter: Greg Holmberg
>            Priority: Minor
>         Attachments: UIMA-1748-patch.txt
>
>
> All tests fail saying it can't locate files such as TEST.bsh.

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


[jira] Updated: (UIMA-1748) BSFAnnotator fails tests

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

Greg Holmberg updated UIMA-1748:
--------------------------------

    Attachment: UIMA-1748-patch.txt

This happens when the path to the source project includes spaces.  In my case, my workspace is in my home directory in Windows, which is under "C:\Documents and Settings".

The problem is that the file URL is not decoded to translate "%20" to a space.

I've attached a suggested fix for BSFAnnotator.java.


> BSFAnnotator fails tests
> ------------------------
>
>                 Key: UIMA-1748
>                 URL: https://issues.apache.org/jira/browse/UIMA-1748
>             Project: UIMA
>          Issue Type: Bug
>          Components: Sandbox-BSFAnnotator
>    Affects Versions: 2.3
>         Environment: Windows
>            Reporter: Greg Holmberg
>            Priority: Minor
>         Attachments: UIMA-1748-patch.txt
>
>
> All tests fail saying it can't locate files such as TEST.bsh.

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