You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Burn Lewis (JIRA)" <de...@uima.apache.org> on 2017/01/31 18:53:51 UTC

[jira] (UIMA-5274) Support descriptor customization by allowing external setting variables in some fields

     [ https://issues.apache.org/jira/browse/UIMA-5274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Burn Lewis updated UIMA-5274:
-----------------------------
    Description: 
Currently the <envVarRef> element supports customization via system properties in 4 ways (see below).  UIMA could also support the $\{variable-name} syntax in these text fields.  In addition it could also be supported in the value for the name and location attributes of the import element so that an aggregate's delegates could be controlled via external settings.  This might also be done by changing the primitive descriptor as in 2 & 3 below, but in some cases a completely different delegate descriptor is preferable.

From the References document:
The syntax for environment variable references is <envVarRef>[VariableName]</envVarRef> , where [VariableName] is any valid Java system property name. Environment variable references are valid in the following places:
1)   The value of a configuration parameter (String-valued parameters only)
2)  The <annotatorImplementationName> element of a primitive AE descriptor
3)   The <name> element within <analysisEngineMetaData>
4)   Within a <fileResourceSpecifier> or <fileLanguageResourceSpecifier> 

  was:
Currently the <envVarRef> element supports customization via system properties in 4 ways (see below).  UIMA could also support the ${variable-name} syntax in these text fields.  In addition it could also be supported in the value for the name and location attributes of the import element so that an aggregate's delegates could be controlled via external settings.  This might also be done by changing the primitive descriptor as in 2 & 3 below, but in some cases a completely different delegate descriptor is preferable.

From the References document:
The syntax for environment variable references is <envVarRef>[VariableName]</envVarRef> , where [VariableName] is any valid Java system property name. Environment variable references are valid in the following places:
1)   The value of a configuration parameter (String-valued parameters only)
2)  The <annotatorImplementationName> element of a primitive AE descriptor
3)   The <name> element within <analysisEngineMetaData>
4)   Within a <fileResourceSpecifier> or <fileLanguageResourceSpecifier> 


> Support descriptor customization by allowing external setting variables in some fields
> --------------------------------------------------------------------------------------
>
>                 Key: UIMA-5274
>                 URL: https://issues.apache.org/jira/browse/UIMA-5274
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Burn Lewis
>            Assignee: Burn Lewis
>            Priority: Minor
>             Fix For: 3.0.0SDK-beta, 2.10.0SDK
>
>
> Currently the <envVarRef> element supports customization via system properties in 4 ways (see below).  UIMA could also support the $\{variable-name} syntax in these text fields.  In addition it could also be supported in the value for the name and location attributes of the import element so that an aggregate's delegates could be controlled via external settings.  This might also be done by changing the primitive descriptor as in 2 & 3 below, but in some cases a completely different delegate descriptor is preferable.
> From the References document:
> The syntax for environment variable references is <envVarRef>[VariableName]</envVarRef> , where [VariableName] is any valid Java system property name. Environment variable references are valid in the following places:
> 1)   The value of a configuration parameter (String-valued parameters only)
> 2)  The <annotatorImplementationName> element of a primitive AE descriptor
> 3)   The <name> element within <analysisEngineMetaData>
> 4)   Within a <fileResourceSpecifier> or <fileLanguageResourceSpecifier> 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)