uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandar Beserminji (JIRA)" <...@uima.apache.org>
Subject [jira] [Created] (UIMA-3979) Unable to set custom RelativePathResolver in aAdditionalParams when produceAnalysisEngine
Date Wed, 06 Aug 2014 16:17:12 GMT
Aleksandar Beserminji created UIMA-3979:
-------------------------------------------

             Summary: Unable to set custom RelativePathResolver in aAdditionalParams when
produceAnalysisEngine
                 Key: UIMA-3979
                 URL: https://issues.apache.org/jira/browse/UIMA-3979
             Project: UIMA
          Issue Type: Bug
    Affects Versions: 2.6.0SDK
            Reporter: Aleksandar Beserminji
            Priority: Minor


When calling function produceAnalysisEngine, 
as additional parameter HashMap is set 
where custom RelativePathResolver is inside that HashMap identified by key DataResource.PARAM_RELATIVE_PATH_RESOLVER

That custom RelativePathResolver is never used after that, as in ResourceManager_impl class,
on registerResource function, this parameter is discarded here:

Map<String, Object> initParams = (aResourceInitParams == null) ? new HashMap<String,
Object>() : new HashMap<String, Object>(aResourceInitParams);
initParams.put(DataResource.PARAM_RELATIVE_PATH_RESOLVER, getRelativePathResolver());



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message