Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-4425

Nested resources not working with SharedResourceObject

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0uimaFIT
    • Fix Version/s: 2.2.0uimaFIT
    • Component/s: uimaFIT
    • Labels:
      None

      Description

      Nested resources not working with SharedResourceObject.

        @Test
        public void sharedObject_testSimpleNesting() throws Exception {
          AnalysisEngineDescription aeDesc = saveLoad(createEngineDescription(
                  TestAnalysisEngineWithSharedResourceObject.class,
                  TestAnalysisEngineWithSharedResourceObject.PARAM_RESOURCE,
                  createExternalResourceDescription(
                          TestSharedResourceObject2.class,
                          "http://dumm.my",
                          TestSharedResourceObject2.PARAM_VALUE,
                          TestSharedResourceObject2.EXPECTED_VALUE,
                          TestSharedResourceObject2.PARAM_RESOURCE,
                          createExternalResourceDescription(TestSharedResourceObject.class,
                                  "http://dumm.my", TestSharedResourceObject.PARAM_VALUE,
                                  TestSharedResourceObject.EXPECTED_VALUE))));
      
          AnalysisEngine ae = createEngine(aeDesc);
          ae.process(ae.newCAS());
        }
      

        Attachments

          Activity

            People

            • Assignee:
              rec Richard Eckart de Castilho
              Reporter:
              rec Richard Eckart de Castilho
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: