> > I want to read some files from a certain directory and > write the results > > back in the same folder (in a subdirectory, to be more > exactly). (How) > > can I define parameters that are both accessible in a > CollectionReader > > and in a Cas Consumer? Or do I have to define the folder parameter > > twice, first in the CollectionReaderXML and second in the > CasConsumerXML? > > > > Thanks for your help > > Philipp > > Excellent question. I tried to figure this out from our > documentation and couldn't. Anyone?
As a workaround, one could define the parameter in the CollectionReader and add a document annotation that holds the path. The consumer then reads the path from the document annotation, so it knows where to put the results. -Torsten
