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 87886D21B for ; Fri, 5 Oct 2012 14:53:14 +0000 (UTC) Received: (qmail 60906 invoked by uid 500); 5 Oct 2012 14:53:14 -0000 Delivered-To: apmail-incubator-ctakes-dev-archive@incubator.apache.org Received: (qmail 60855 invoked by uid 500); 5 Oct 2012 14:53:14 -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 60847 invoked by uid 99); 5 Oct 2012 14:53:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 14:53:14 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Pei.Chen@childrens.harvard.edu designates 134.174.13.91 as permitted sender) Received: from [134.174.13.91] (HELO mailsmtp1.childrenshospital.org) (134.174.13.91) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Oct 2012 14:53:09 +0000 Received: from pps.filterd (mailsmtp1 [127.0.0.1]) by mailsmtp1.childrenshospital.org (8.14.5/8.14.5) with SMTP id q95EqfeW010474 for ; Fri, 5 Oct 2012 10:52:47 -0400 Received: from smtpndc1.chboston.org (smtpndc1.chboston.org [10.20.50.104]) by mailsmtp1.childrenshospital.org with ESMTP id 17spts9hns-1 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 05 Oct 2012 10:52:47 -0400 Received: from pps.filterd (smtpndc1 [127.0.0.1]) by smtpndc1.chboston.org (8.14.5/8.14.5) with SMTP id q95EpKIt002963 for ; Fri, 5 Oct 2012 10:52:46 -0400 Received: from chexhubcas1.chboston.org (internal-ndc-nat-v1260.tch.harvard.edu [10.20.50.4]) by smtpndc1.chboston.org with ESMTP id 17ay3f6dn2-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 05 Oct 2012 10:52:46 -0400 Received: from CHEXMBX1A.CHBOSTON.ORG ([fe80::3c05:8ca9:55a6:f320]) by CHEXHUBCAS1.CHBOSTON.ORG ([::1]) with mapi id 14.02.0309.002; Fri, 5 Oct 2012 10:52:45 -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: Ac2g3wcy35FBrtrbScWtQbvXpHj90QAAz3RgAAjn9YAAXdFicAAqUn8AAAfIgHD//8kPgIAAQnqw Date: Fri, 5 Oct 2012 14:52:45 +0000 Message-ID: <924DE05C19409B438EB81DE683A942D920244B@CHEXMBX1A.CHBOSTON.ORG> References: <924DE05C19409B438EB81DE683A942D9202426@CHEXMBX1A.CHBOSTON.ORG> <5E12F7FD7D58D54DA5542ECC8B145198015289@MSGPEXCHA28B.mfad.mfroot.org> In-Reply-To: <5E12F7FD7D58D54DA5542ECC8B145198015289@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 X-Virus-Checked: Checked by ClamAV on apache.org Within Eclipse, did you import "existing maven projects"? or import existi= ng maven projects from SVN? > -----Original Message----- > From: Wu, Stephen T., Ph.D. [mailto:Wu.Stephen@mayo.edu] > Sent: Friday, October 05, 2012 10:50 AM > To: ctakes-dev@incubator.apache.org > Subject: Re: cTAKES resources and the classpath >=20 > I tried all the different launches. I should've posted my error: >=20 > Launch configuration UIMA_CVD--clinical_documents_pipeline references > non-existing project ctakes-clinical-pipeline. >=20 > I get the same thing for any of the things in resources/launch. >=20 > I figure since I checked out at trunk, eclipse is not recognizing each > ctakes-* as a project and doesn't know where the src, bin, and other > directories are. This seems to be normal for maven projects and this kin= d of > directory structure? >=20 > stephen >=20 >=20 >=20 > On 10/5/12 9:40 AM, "Chen, Pei" wrote: >=20 > > I used > > /ctakes/trunk/ctakes-clinical-pipeline/resources/launch/UIMA_CVD--clin > > ical_doc > > uments_pipeline.launch > > Not sure what the differences are, but some housekeeping is probably > > in order... > > > >> -----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 > >> > >> 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. > >> > >> stephen > >> > >> > >> On 10/4/12 5:26 PM, "Chen, Pei" > wrote: > >> > >>> 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 > >>>>> > >>> > >