Hi again,

I think I figured it out. I need to use createSharedResourceDescription 
instead, correct?

The URI parameter has moved to the front instead. That method seems to have 
been there previously, but I never used it.

Best
Mario


> On 28 Mar 2020, at 08:32 , Mario Juric <[email protected]> wrote:
>
>
> Hi Richard,
>
> I am in the middle of trying to migrate our codebase to UIMA 3, and I have 
> some questions regarding the changes to 
> org.apache.uima.fit.factory.ExternalResourceFactory.createExternalResourceDescription,
>  which appears to have been replaced by 
> org.apache.uima.fit.factory.ExternalResourceFactory.createResourceDescription.
>  The signatures are not entirely the same, since the deprecated method 
> required a String before the array of paired parameter objects, which was 
> then passed to the load call as the DataResource URI string during 
> initialization. I can’t find any migration documentation for this change, so 
> I wonder whether this is still the way to pass any URI information to the 
> resource, or do I need to define an explicit parameter like I normally do for 
> uimaFit AEs, and then initialise it with a normal array of paired parameter 
> objects only? I.e. can I keep the parameter input as it was with the new 
> method?
>
> Thanks :)
>
> Best
> Mario


________________________________
Disclaimer:
This email and any files transmitted with it are confidential and directed 
solely for the use of the intended addressee or addressees and may contain 
information that is legally privileged, confidential, and exempt from 
disclosure. If you have received this email in error, please notify the sender 
by telephone, fax, or return email and immediately delete this email and any 
files transmitted along with it. Unintended recipients are not authorized to 
disclose, disseminate, distribute, copy or take any action in reliance on 
information contained in this email and/or any files attached thereto, in any 
manner other than to notify the sender; any unauthorized use is subject to 
legal prosecution.

Reply via email to