Not knowing your particular CPE deployment details here is one way to
programmatically configure the CR:
CollectionProcessingEngine cpe =
UIMAFramework.produceCollectionProcessingEngine(cpeDescriptor, params);
cpe.getCollectionReader().getProcessingResourceMetaData().getConfigurationParameterSettings().setAttributeValue(aName,
aValue);
JC
On Mon, Aug 26, 2013 at 1:19 AM, Ankit Kumar <[email protected]>wrote:
> How do we pass arguments to collection reader ,from CPE , i want to pass
> the location of docs from a CPE , can do it using CPEGUI how to do it from
> a program ..
>