[
https://issues.apache.org/jira/browse/UIMA-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14519215#comment-14519215
]
Peter Klügl commented on UIMA-4368:
-----------------------------------
It doesn't matter if the script that is tested contains DECLARE statements at
all since no new type system descriptor is generated in the unit test. The
necessary types are included in the utilzed type system (descriptor) in
RutaTestUtils with the arguments complexTypes and features. Not the best way,
but was less work compared to provide a type system descriptor for those tests.
> syntax simplification for types declaration
> -------------------------------------------
>
> Key: UIMA-4368
> URL: https://issues.apache.org/jira/browse/UIMA-4368
> Project: UIMA
> Issue Type: Improvement
> Components: ruta
> Affects Versions: 2.3.0ruta
> Reporter: Renaud Richardet
> Assignee: Peter Klügl
> Priority: Minor
> Fix For: 2.3.0ruta
>
> Attachments: DECLARE-filelist.txt, DECLARE.diff
>
>
> Below a proposal to make the Ruta syntax more succinct:
> When declaring types with a parent type: if no parent type is specified,
> Annotation is used as the implied default parent type.
> {code}
> // before
> DECLARE Annotation MyAnnotation(STRING myFeature);
> // after
> DECLARE MyAnnotation(STRING myFeature);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)