Found a potential problem in 2.6.0 (is probably not a blocker, because it would
only affect a test case).

JCasGen maven plugin is used to build jcas cover classes for all the Ruta basic
types.

This results in JCas classes for types like: NBSP and SPACE, etc., and in
particular, the superclass for NBSP is SPACE, since that's the supertype of NBSP
(see definition in ruta-typesystem project:

src/main/resources/  org/apache/uima  ruta/engine/DefaultSeederType.xml

But the 2.6.0 example-projects/ruta-ep-example-extensions defines the type NBSP
as having a supertype of ANY.

This doesn't match.  UV3 checks for this mismatch and throws an exception if 
found.

Changing the supertype in the ruta-ep-example-extensions file:
src/test/resources/org/apache/uima/ruta/example/extensions/BasicTypeSystem.xml

from ANY to SPACE fixes this problem.

-Marshall

On 3/2/2017 4:21 AM, Peter Klügl wrote:
> Hi,
>
> the first release candidate of Apache UIMA Ruta v2.6.0 is ready for voting.
> This release replaces the planned 2.5.1 release and is also not
> compatible with UIMA 3.0.0.
>
> Major changes in this release:
>
> UIMA Ruta Language and Analysis Engine:
> * Annotation expressions can be restricted using feature matches and
> conditions
> * Several new configuration parameters for RutaEngine
> * Experimental features to optimize internal indexing (for experienced
> users)
> * Minimal support of feature structures in feature match expressions
> * API change report for ruta-core
> * Typesystem descriptors with JCasGen classes are located in separate
> artifact
> * Implementation of RutaBasic is located in separate artifact
> * Many bug fixes and improvements, especially for label expressions
>
> UIMA Ruta Workbench:
> * Direct debugging of launched scripts in Java is supported
> * Improved error messages in launcher
> * Removed restriction of classpath size causing problems in launcher
> * Deactivated noVM preference
> * Changed UI to set annotation mode in views
> * Launcher uses project encoding
> * Bug fixes
>
>
> Staging repository:
> https://repository.apache.org/content/repositories/orgapacheuima-1124/
>
> SVN tag:
> https://svn.apache.org/repos/asf/uima/ruta/tags/ruta-2.6.0
>
> Update site:
> https://dist.apache.org/repos/dist/dev/uima/ruta-2.6.0-rc1/eclipse-update-site/ruta/
>
> Archive with all sources:
> https://dist.apache.org/repos/dist/dev/uima/ruta-2.6.0-rc1/ruta-2.6.0-source-release.zip
>
> Overall 43 issues have been fixed for this release
> (1 duplicates, 1 not a problem).
> They can be found in the RELEASE_NOTES.html.
>
> ... and here:
>
> https://issues.apache.org/jira/issues/?jql=project%20%3D%20UIMA%20AND%20status%20in%20(Open%2C%20%22In%20Progress%22%2C%20Reopened%2C%20Resolved%2C%20Closed)%20AND%20fixVersion%20%3D%202.6.0ruta%20AND%20component%20%3D%20ruta%20ORDER%20BY%20updated%20DESC%2C%20created%20DESC
>
> Please vote on release:
>
> [ ] +1 OK to release
> [ ]  0 Don't care
> [ ] -1 Not OK to release, because ...
>
> Thanks.
>
> Peter
>
>

Reply via email to