Return-Path: X-Original-To: apmail-uima-user-archive@www.apache.org Delivered-To: apmail-uima-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 29C3A103FE for ; Mon, 26 Aug 2013 13:46:50 +0000 (UTC) Received: (qmail 21843 invoked by uid 500); 26 Aug 2013 13:46:49 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 21572 invoked by uid 500); 26 Aug 2013 13:46:48 -0000 Mailing-List: contact user-help@uima.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@uima.apache.org Delivered-To: mailing list user@uima.apache.org Received: (qmail 21564 invoked by uid 99); 26 Aug 2013 13:46:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 13:46:47 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of uimaee@gmail.com designates 209.85.214.194 as permitted sender) Received: from [209.85.214.194] (HELO mail-ob0-f194.google.com) (209.85.214.194) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 13:46:42 +0000 Received: by mail-ob0-f194.google.com with SMTP id eh20so1488690obb.5 for ; Mon, 26 Aug 2013 06:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=25vKLqZdY9gimAdPteQDRVl/UrD+m3zSobDxsXyO5L8=; b=Q3/YSyA3ADadBZ5v1gEjdhXxSGKRVjLNuO6XSMmquEj3++Xc0qAzjwPdYfvKbY1tc2 JJba/CBT+4omW5+5V28zCjTgjd6/M0JyJUox9WodYQ/WC1jIMtsPn1v53xECO0vE6FmF DIfRgyFTiT+AMpkGYCCFd4SBciSFn249SO4ZvUfHTs2oX6img93qOdej59KGLXB9d0YJ zlzuAn+P/xngciIiifPLFSU0x3LiONSPpIf9td4t2ZtSk6qLGJ3wnqATFW27qEn82zXD d460TJiJbOEJSBH6I2mUoHM3MfIFtDgZEEkaaZlHrjujraJmipq2klHXiNssFjURV5St jKwg== MIME-Version: 1.0 X-Received: by 10.182.18.9 with SMTP id s9mr14500013obd.15.1377524781458; Mon, 26 Aug 2013 06:46:21 -0700 (PDT) Received: by 10.182.47.36 with HTTP; Mon, 26 Aug 2013 06:46:21 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Aug 2013 09:46:21 -0400 Message-ID: Subject: Re: Passing arguments To Collection Reader From: Jaroslaw Cwiklik To: user@uima.apache.org Content-Type: multipart/alternative; boundary=001a11c2d6a044aedb04e4d9fb40 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2d6a044aedb04e4d9fb40 Content-Type: text/plain; charset=ISO-8859-1 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 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 .. > --001a11c2d6a044aedb04e4d9fb40--