Return-Path: X-Original-To: apmail-incubator-ctakes-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ctakes-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1D746D192 for ; Fri, 5 Oct 2012 14:41:29 +0000 (UTC) Received: (qmail 11557 invoked by uid 500); 5 Oct 2012 14:41:27 -0000 Delivered-To: apmail-incubator-ctakes-dev-archive@incubator.apache.org Received: (qmail 11522 invoked by uid 500); 5 Oct 2012 14:41:27 -0000 Mailing-List: contact ctakes-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ctakes-dev@incubator.apache.org Delivered-To: mailing list ctakes-dev@incubator.apache.org Received: (qmail 11488 invoked by uid 99); 5 Oct 2012 14:41:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 14:41:27 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Pei.Chen@childrens.harvard.edu designates 134.174.13.92 as permitted sender) Received: from [134.174.13.92] (HELO mailsmtp2.childrenshospital.org) (134.174.13.92) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 14:41:20 +0000 Received: from pps.filterd (mailsmtp2 [127.0.0.1]) by mailsmtp2.childrenshospital.org (8.14.5/8.14.5) with SMTP id q95EXOg9025766 for ; Fri, 5 Oct 2012 10:40:58 -0400 Received: from smtpndc2.chboston.org (smtpndc2.chboston.org [10.20.50.105]) by mailsmtp2.childrenshospital.org with ESMTP id 17rtvnnr6y-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 05 Oct 2012 10:40:57 -0400 Received: from pps.filterd (smtpndc2 [127.0.0.1]) by smtpndc2.chboston.org (8.14.5/8.14.5) with SMTP id q95EesAh006799 for ; Fri, 5 Oct 2012 10:40:57 -0400 Received: from chexhubcasbdc1.chboston.org (chexhubcasbdc1.chboston.org [10.20.18.71]) by smtpndc2.chboston.org with ESMTP id 17ay3dmudr-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 05 Oct 2012 10:40:57 -0400 Received: from CHEXMBX1A.CHBOSTON.ORG ([fe80::3c05:8ca9:55a6:f320]) by CHEXHUBCASBDC1.CHBOSTON.ORG ([fe80::192f:54df:3040:8bb0%15]) with mapi id 14.02.0309.002; Fri, 5 Oct 2012 10:40:56 -0400 From: "Chen, Pei" To: "ctakes-dev@incubator.apache.org" Subject: RE: cTAKES resources and the classpath Thread-Topic: cTAKES resources and the classpath Thread-Index: Ac2g3wcy35FBrtrbScWtQbvXpHj90QAAz3RgAAjn9YAAXdFicAAqUn8AAAfIgHA= Date: Fri, 5 Oct 2012 14:40:55 +0000 Message-ID: <924DE05C19409B438EB81DE683A942D9202426@CHEXMBX1A.CHBOSTON.ORG> References: <924DE05C19409B438EB81DE683A942D92021C8@CHEXMBX1A.CHBOSTON.ORG> <5E12F7FD7D58D54DA5542ECC8B14519801523D@MSGPEXCHA28B.mfad.mfroot.org> In-Reply-To: <5E12F7FD7D58D54DA5542ECC8B14519801523D@MSGPEXCHA28B.mfad.mfroot.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.7.2.184] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-10-05_03:2012-10-05,2012-10-05,1970-01-01 signatures=0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855,1.0.431,0.0.0000 definitions=2012-10-05_03:2012-10-05,2012-10-05,1970-01-01 signatures=0 I used=20 /ctakes/trunk/ctakes-clinical-pipeline/resources/launch/UIMA_CVD--clinical_= documents_pipeline.launch Not sure what the differences are, but some housekeeping is probably in ord= er... > -----Original Message----- > From: Wu, Stephen T., Ph.D. [mailto:Wu.Stephen@mayo.edu] > Sent: Friday, October 05, 2012 10:24 AM > To: ctakes-dev@incubator.apache.org > Subject: Re: cTAKES resources and the classpath >=20 > Being new to maven (and maven in eclipse)... How do you run the default > pipeline with CVD? I've checked out, and tried going to > /ctakes/ctakes-clinical-pipeline/resources/launch/CVD cTAKES.launch but > that doesn't work. >=20 > stephen >=20 >=20 > On 10/4/12 5:26 PM, "Chen, Pei" wrote: >=20 > > The individual resources have been moved to src/main/resources so that > > maven will automatically add it to the classpath and individual jar(s). > > It was also an opportunity to add a fully qualified namespace such as > > /org/apach/ctakes/{project}/somemodelsresourcedirectory. This will be > > important to avoid clashes if we decide to distribute some > > uber-jar/war or move resources around again. [Even though the > > resources were updated in the descriptor xml files, still haven't > > decided to move those yet since it's working now and we may move to > > uimaFIT style in the future.] > > > > I just tested the default clinical documents pipeline in trunk with > > the CVD and it should be working now. > > Feel free to check out and work off trunk in ASF SVN now: svn co > > https://svn.apache.org/repos/asf/incubator/ctakes/trunk > > (The OrangeBook will still require Lucene 3.0.2 so you might have to > > update that from 3.5.0 if you plan to use the dictionary lookup) > > > > [Disclaimer: over ~5000-6000 files were touched since we updated java > > namespaces, license headers, resource paths, etc. and wouldn't be > > surprised if we missed something. Feel free to let us know if you > > encounter any issues or even better- open up a Jira and fix it :)] > > > > <-- Will get some coffee and start looking into some of the open Jira > > issues now. I think we should have a Release Candidate for > > 3.0.0-incubating or a baseline within ASF very soon. > > > > --Pei > > > >> -----Original Message----- > >> From: Steven Bethard [mailto:steven.bethard@Colorado.EDU] > >> Sent: Tuesday, October 02, 2012 5:25 PM > >> To: ctakes-dev@incubator.apache.org > >> Subject: Re: cTAKES resources and the classpath > >> > >> Yeah, I'm going to commit a change to the dependency parser that > >> allows me to do this. (Currently the location of the lemmatized data > >> file is hard > >> coded.) > >> > >> Steve > >> > >> On Oct 2, 2012, at 3:12 PM, "Chen, Pei" > >> > >> wrote: > >> > >>> Hi Steve, > >>> I didn't get a chance to do this last week, but will work on it > >>> tonight and > >> tomorrow. > >>> Don't want this to stop you though, so feel free to read in the > >>> resource > >> from an another location temporarily... > >>> --Pei > >>> > >>>> -----Original Message----- > >>>> From: Steven Bethard [mailto:steven.bethard@Colorado.EDU] > >>>> Sent: Tuesday, October 02, 2012 4:47 PM > >>>> To: ctakes-dev@incubator.apache.org > >>>> Subject: cTAKES resources and the classpath > >>>> > >>>> On Sep 25, 2012, at 3:22 PM, "Chen, Pei" > >>>> > >>>> wrote: > >>>>> I think Brandyn and others had a reasonable suggestion to use the > >>>>> name > >>>> instead of location paths in those pesky descriptor xml files- > >>>> Assuming they're in the classpath (placed in src/main/resources). > >>>>> I'll take a stab at this later this week if I get a chance. > >>>> > >>>> Pei, are you still working on this? I'm currently unable to use the > >>>> dependency parser from another project because it can't find it's > >>>> resources. Specifically, it fails on this line: > >>>> > >>>> URL lemmatizerDataFileURL =3D > >>>> this.getClass().getResource(ENG_LEMMATIZER_DATA_FILE); > >>>> > >>>> I would take a stab at fixing these myself, but the JCasGen issue > >>>> makes these kind of broad changes really difficult for me. > >>>> > >>>> Steve > >>> > >