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

Nested resources not working with SharedResourceObject

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0uimaFIT
    • 2.2.0uimaFIT
    • uimaFIT
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: