[ 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 PEARs were recompiled with 1.4 compliance level

> 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

        

Reply via email to