You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Lev Kozakov (JIRA)" <ui...@incubator.apache.org> on 2006/11/16 22:16:39 UTC

[jira] Updated: (UIMA-20) PearMerger unit test failure

     [ http://issues.apache.org/jira/browse/UIMA-20?page=all ]

Lev Kozakov updated UIMA-20:
----------------------------

    Attachment: uima.example.DateTime.pear
                uima.example.RoomNumber.pear

Both PEAR files are modified to ensure PEAR Merger test does not fail in Apache UIMA environment.

> PearMerger unit test failure
> ----------------------------
>
>                 Key: UIMA-20
>                 URL: http://issues.apache.org/jira/browse/UIMA-20
>             Project: UIMA
>          Issue Type: Bug
>          Components: Tools
>            Reporter: Adam Lally
>         Attachments: uima.example.DateTime.pear, uima.example.RoomNumber.pear
>
>
> PearMergerTest fails with error message:
> java.lang.NoClassDefFoundError: org/apache/uima/tutorial/DateAnnot
> 	at org.apache.uima.example.DateTime.<clinit>(DateTime.java:131)
>         ...
> 	at org.apache.uima.tools.pear.merger.PearMergerTest.testPearMerger(PearMergerTest.java:138)
> A look into the pear files that are being merged shows that JCAS classes (including DateTime) are located in the directory org/apache/uima/example/types, which doesn't match the package name.  So this is a bad PEAR file and the PearMergerTest is correctly reporting an error.
> Previously this issue was masked because the classpath for the tests incorrectly included the uimaj-examples project, which does contain the correct JCAS types.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira