uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Patry (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-3303) Add a way to alias types in RUTA (e.g. "IMPORT type AS alias")
Date Thu, 16 Jan 2014 13:23:20 GMT

    [ https://issues.apache.org/jira/browse/UIMA-3303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873359#comment-13873359
] 

Alexandre Patry commented on UIMA-3303:
---------------------------------------

bq. About strictImport: I would maybe set the default to true, and set it explicitly to false
in Ruta.apply() and friends. Opinions?

I think it is a very good idea, but it breaks backward compatibility. Should we wait for version
3.0.0 to make this change?

> Add a way to alias types in RUTA (e.g. "IMPORT type AS alias")
> --------------------------------------------------------------
>
>                 Key: UIMA-3303
>                 URL: https://issues.apache.org/jira/browse/UIMA-3303
>             Project: UIMA
>          Issue Type: Bug
>          Components: ruta
>    Affects Versions: 2.2.0ruta
>            Reporter: Alexandre Patry
>            Assignee: Alexandre Patry
>             Fix For: 2.2.0ruta
>
>
> It would be convenient to define type aliases in RUTA script.
> One scenario where it would help is when many types have the same short name:
> {noformat}
> IMPORT com.example.a.T AS TA
> IMPORT com.example.b.T AS TB
> {noformat}
> For a discussion about it, see UIMA-3292.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message