Hi, As Aaron said in his previous message the problem should have been fixed :
https://issues.apache.org/jira/browse/UIMA-1107 But I tested again my aggregate, Aaron too. We found that the BUG appears again now. Because I absolutely need to fix this BUG I tried to debug a very simple workflow which integrate an aggregate. I am in the same situation , I integrate 2 annotators in an aggregate, the first creates a new Sofa and the second works on this created Sofa. I found that when the two annotators of my aggregate are declared using the '_pear.xml' descriptor, in the second annotator the CAS has a 'mSofaMappings' (in fact JCasImpl.casImpl.svd.componentInfo.mSofaMappings) member empty (but it should not !). componentInfo is of type RootUimaContext_Impl When the second annotator is declared with the component descriptor (not the '_pear.xml' one) the 'mSofaMappings' contains {_InitialView=MY_PRODUCED_SOFA}, so it seams right in this case. I search during hours to find why this 'mSofaMappings' is empty without success. So, could you give me clues to help me find the problem ? What could be the responsible classes ? If you want I cant send you my simple workflow to test that thing. Thanks for your help, Baptiste ---------------------------------------- > Date: Tue, 7 Oct 2008 16:53:08 +0200 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: Imports with '_pear.xml' in aggregate prevent annotators to work > on the right Sofa > > Baptiste, > > This issue has been fixed in SVN, and the fix will be in the next release. > > https://issues.apache.org/jira/browse/UIMA-1107 > > -Aaron > > > [EMAIL PROTECTED] wrote: >> Hi, >> >> >> >> I have to integrate 2 annotators in an aggregate, the first creates a new >> Sofa and the second work on this created Sofa. >> >> >> >> My problem is that when I use the Annotators descriptors in the imports >> everything works, but when I specify the '_pear.xml' descriptors the second >> annotator continue to work on the 'DEFAULT' Sofa. >> >> >> >> For example with this descriptor my second annotator (InfomagicXipFrench) >> annotates the Sofa 'txt' : >> >> >> >> >> >> >> >> org.apache.uima.java >> >> false >> >> >> >> >> >> > location="../../XmlStripAnnotator/XmlStripAnnotator_pear.xml"/> >> >> >> >> >> >> > location="../../InfomagicXipFrench/desc/InfomagicXipFrench.xml"/> >> >> >> >> >> >> >> >> AggregateXeroxIGM >> >> >> >> 1.0 >> >> >> >> >> >> >> >> >> >> >> >> XmlStripAnnotator >> >> InfomagicXipFrench >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> txt >> >> >> >> >> >> >> >> >> >> >> >> true >> >> false >> >> false >> >> >> >> >> >> >> >> >> >> >> >> XmlStripAnnotator >> >> txt >> >> txt >> >> >> >> >> >> InfomagicXipFrench >> >> txt >> >> >> >> >> >> >> >> >> >> But when I use this import : >> >> >> >> > location="../../InfomagicXipFrench/InfomagicXipFrench_pear.xml"/> >> >> >> >> >> >> Instead of >> >> >> >> > location="../../InfomagicXipFrench/desc/InfomagicXipFrench.xml"/> >> >> >> >> >> >> The annotator works only on the 'DEFAULT' Sofa. >> >> >> >> This is very problematic because UIMA does not built the correct CLASSPATH >> when I use the import based on >> "../../InfomagicXipFrench/desc/InfomagicXipFrench.xml". As I have to >> integrate other annotators (with a lot of JAR dependencies) I must use the >> '_pear.xml' descriptor. >> >> >> >> Do you know how can I force my annotators to use the right Sofa using >> '_pear.xml' imports in my aggregate ? >> >> >> >> Thanks, >> >> >> >> Baptiste GAILLARD. >> >> >> >> > _________________________________________________________________ Téléphonez gratuitement à tous vos proches avec Windows Live Messenger ! Téléchargez-le maintenant ! http://www.windowslive.fr/messenger/1.asp
