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 881E810A22 for ; Tue, 29 Oct 2013 16:43:09 +0000 (UTC) Received: (qmail 39321 invoked by uid 500); 29 Oct 2013 16:42:45 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 39203 invoked by uid 500); 29 Oct 2013 16:42:40 -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 39166 invoked by uid 99); 29 Oct 2013 16:42:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 16:42:38 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=DC_PNG_UNO_LARGO,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of cybersation@hotmail.com designates 65.55.90.144 as permitted sender) Received: from [65.55.90.144] (HELO snt0-omc3-s5.snt0.hotmail.com) (65.55.90.144) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Oct 2013 16:42:33 +0000 Received: from SNT148-W29 ([65.55.90.137]) by snt0-omc3-s5.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Oct 2013 09:42:12 -0700 X-TMN: [ACiuYr2p6u9PKTg5tqGkglWKublw5fHg] X-Originating-Email: [cybersation@hotmail.com] Message-ID: Content-Type: multipart/mixed; boundary="_51df40a0-fa17-473a-8186-204880056eac_" From: digital paula To: "user@uima.apache.org" Subject: FW: Question on Regular Expression Annotator - please disregard previous post this one is correct Date: Tue, 29 Oct 2013 12:42:11 -0400 Importance: Normal In-Reply-To: References: ,,<526FC307.1090400@schor.com>, MIME-Version: 1.0 X-OriginalArrivalTime: 29 Oct 2013 16:42:12.0545 (UTC) FILETIME=[D14CF310:01CED4C5] X-Virus-Checked: Checked by ClamAV on apache.org --_51df40a0-fa17-473a-8186-204880056eac_ Content-Type: multipart/alternative; boundary="_9abd3f3e-7e50-46b8-924a-6c9b72ca5caf_" --_9abd3f3e-7e50-46b8-924a-6c9b72ca5caf_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= Hi Marshall=2C First of all thanks for your prompt response. Per your recommendation=2C I= did the tag check out using the link you provided but ran into an error on= the maven install with the 'import maven projects' screen please see attac= hed image. There was an error with the 'uima-build-helper-maven-plugin'. = I continued with install to resolve later. After installation there was= a problem with the POM file. I opened up the POM file=2C the overview pag= e states an error with the "maven-dependency-plugin(goals "copy-dependenci= es"=2C "unpack") is not supported by m2e". The second problem (from des= cription section of eclipse project) states that "plugin execution not cove= red by lifecycle configuration org.apache.uima:uima-build-helper-maven-plu= gin:2:parse-date-time(execution: setbuildYear and buildMonth=2C phase:valid= ate)" I do appreciate your personal assistance with this. In the meantime=2C = I'll be reading up on the differences between trunks=2C tags and branches. = :-) Regards=2CPaula > Date: Tue=2C 29 Oct 2013 10:15:35 -0400 > From: msa@schor.com > To: user@uima.apache.org > Subject: Re: Question on Regular Expression Annotator - please disregard = previous post this one is correct >=20 > Hi=2C >=20 > It looks like you're working with the "trunk" level of the source. >=20 > The trunk level sometimes doesn't build=2C as people are working on it... >=20 > If you want to build a "released" level=2C just check out a tag=2C rather= than the > trunk. For instance=2C you could check out of SVN the last release tag= =2C here: > https://svn.apache.org/repos/asf/uima/addons/tags/uima-addons-2.3.1/Regul= arExpressionAnnotator >=20 > If you want to work with the trunk=2C you will need to check out=2C also= =2C the project: > uima-addons-parent=2C and build it using "mvn install". This will create= the > missing 2.3.2-SNAPSHOT version of this artifact in your local Maven .m2 > repository=2C and that will fix the problem of it not being found... >=20 > Cheers. -Marshall >=20 > On 10/28/2013 10:30 PM=2C digital paula wrote: > > Hi again=2C > > When I did a maven install via Eclipse it resolved the issues that I ha= d in my previous post. The only error that I have now is with the build. = =20 > > In the POM file there's a problem with this part: org.apache.uima uima-addons-parent = 2.3.2-SNAPSHOT ../uima-addons-parent<= /relativePath> It states on the overview tab the following Proj= ect build error: "Non-resolvable parent POM: could not find artifact org.a= pac > > Project build error: Non-resolvable parent POM: Could not find artifact= org.apache.uima:uima-addons-parent:pom:2.3.2-SNAPSHOT and 'parent.relative= Path' points at wrong local POM > > I did find a similar problem on the user archives that with the parent = POM but it was for the simple server addon:http://mail-archives.apache.org/= mod_mbox/uima-user/201206.mbox/browser > > Would appreciate any help on this.=20 > > Thanks. > > Regards=2CPaula > > From: cybersation@hotmail.com > > To: user@uima.apache.org > > Subject: Question on Regular Expression Annotator > > Date: Mon=2C 28 Oct 2013 12:59:11 -0400 > > > > > > > > > > Hi=2C > > =20 > > I had completed most of the tutorials on UIMA Framework (though I wasn'= t able to do the semantic search due to it not being open source anymore an= d removed from the uimaj-examples folder :-( I came across a reference to = the Lemur Project while researching alternatives and after an evening tryin= g to get it working just ended up scrapping it all together. I was able to= install the PEAR via the PEAR installation tool but when testing it crashe= d due to unable to resolve references to org.ibm.apache that no longer ex= isted so I imported project into Eclipse and changed the references in the = java file to java.org.apache and still ran into problems with the CVD tool= =2C the indriCASconsumer descriptor was not finding the java class. I'm = going to look into Solr next since I see it's a more recent semantic search= tool. > > =20 > > In the meantime=2C I am trying to work with the regular expression anno= tator add on. I had installed the regular expression annotator via SVN wit= hin Eclipse as a separate project. http://svn.apache.org/repos/asf/uima/a= ddons/trunk/RegularExpressionAnnotator/ > > =20 > > The problem I had first off was that the reference in each java file wa= s 'package org.apache.uima.annotator.regex' but the build path for the dire= ctories was main.java.org.apache.uima.annotator.regex in the project. This= was resolved by the quick fix in java to change all the package names in t= he files to have the correct package name of main.java.org.apache.uima.ann= otator.regex. =20 > > =20 > > In addition=2C I just manually changed the import names such as: 'impo= rt org.apache.uima.annotator.regex.Position' to=20 > > 'import main.java.org.apache.uima.annotator.regex.Position' > > =20 > > However I ran into a bit of a snag when I came across these to imports = in the java file ConceptFileParser_Imp.java > > I don't know how to resolve the error (the imports are not resolved) s= ince I don't see incubator anywhere in the project and I'm not expert enoug= h at Java to resolve the second one: > > import org.apache.incubator.uima.regex.AnnotationDocument=3B > > import org.apache.xmlbeans.XmlError=3B > > =20 > > Would appreciate any help.=20 > > =20 > > Thanks. > > =20 > > Regards=2C > > Paula > > =20 > > > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 > > =20 >=20 = --_9abd3f3e-7e50-46b8-924a-6c9b72ca5caf_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

=0A= =0A= =0A=
Hi Marshall=2C

First of all thanks for your prompt response.  =3BPer your recommendation=2C I did the tag check= out using the link you provided but ran into an error on the maven install= with the 'import maven projects' screen please see attached image.  = =3B There was an error with the 'uima-build-helper-maven-plugin'.  =3BI= continued with install to resolve later.  =3B  =3BAfter installation there was a problem with the P= OM file.  =3BI opened up the POM file=2C the overview page  =3Bstat= es an error with the "maven-dependency-plugin(goals "copy-dependencies"=2C = "unpack") is not supported by m2e".  =3B  =3B The second problem (f= rom description section of eclipse project) states that "plugin execution n= ot covered by  =3Blifecycle configuration org.apache.uima:uima-build-he= lper-maven-plugin:2:parse-date-time(execution: setbuildYear and buildMonth= =2C phase:validate)"

I do appreciate your p= ersonal assistance with this.  =3B  =3B In the meantime=2C I'll be = reading up on the differences between trunks=2C tags and branches.  =3B= :-)

Regards=2C
Paula

= >=3B Date: Tue=2C 29 Oct 2013 10:15:35 -0400
>=3B From: msa@schor.co= m
>=3B To: user@uima.apache.org
>=3B Subject: Re: Question on Reg= ular Expression Annotator - please disregard previous post this one is corr= ect
>=3B
>=3B Hi=2C
>=3B
>=3B It looks like you're wo= rking with the "trunk" level of the source.
>=3B
>=3B The trunk = level sometimes doesn't build=2C as people are working on it...
>=3B <= br>>=3B If you want to build a "released" level=2C just check out a tag= =2C rather than the
>=3B trunk. For instance=2C you could check out o= f SVN the last release tag=2C here:
>=3B https://svn.apache.org/repos/= asf/uima/addons/tags/uima-addons-2.3.1/RegularExpressionAnnotator
>=3B=
>=3B If you want to work with the trunk=2C you will need to check ou= t=2C also=2C the project:
>=3B uima-addons-parent=2C and build it usin= g "mvn install". This will create the
>=3B missing 2.3.2-SNAPSHOT ver= sion of this artifact in your local Maven .m2
>=3B repository=2C and t= hat will fix the problem of it not being found...
>=3B
>=3B Chee= rs. -Marshall
>=3B
>=3B On 10/28/2013 10:30 PM=2C digital paula = wrote:
>=3B >=3B Hi again=2C
>=3B >=3B When I did a maven ins= tall via Eclipse it resolved the issues that I had in my previous post. T= he only error that I have now is with the build.
>=3B >=3B In the = POM file there's a problem with this part: <=3Bparent>=3B <=3Bgro= upId>=3Borg.apache.uima<=3B/groupId>=3B <=3BartifactId>=3Buima= -addons-parent<=3B/artifactId>=3B <=3Bversion>=3B2.3.2-SNAPSHOT&= lt=3B/version>=3B <=3BrelativePath>=3B../uima-addons-parent<=3B/= relativePath>=3B <=3B/parent>=3B It states on the overview tab the = following Project build error: "Non-resolvable parent POM: could not find = artifact org.apac
>=3B >=3B Project build error: Non-resolvable pare= nt POM: Could not find artifact org.apache.uima:uima-addons-parent:pom:2.3.= 2-SNAPSHOT and 'parent.relativePath' points at wrong local POM
>=3B &g= t=3B I did find a similar problem on the user archives that with the parent= POM but it was for the simple server addon:http://mail-archives.apache.org= /mod_mbox/uima-user/201206.mbox/browser
>=3B >=3B Would appreciate a= ny help on this.
>=3B >=3B Thanks.
>=3B >=3B Regards=2CPaula=
>=3B >=3B From: cybersation@hotmail.com
>=3B >=3B To: user@u= ima.apache.org
>=3B >=3B Subject: Question on Regular Expression Ann= otator
>=3B >=3B Date: Mon=2C 28 Oct 2013 12:59:11 -0400
>=3B &= gt=3B
>=3B >=3B
>=3B >=3B
>=3B >=3B
>=3B >=3B H= i=2C
>=3B >=3B
>=3B >=3B I had completed most of the tutori= als on UIMA Framework (though I wasn't able to do the semantic search due t= o it not being open source anymore and removed from the uimaj-examples fold= er :-( I came across a reference to the Lemur Project while researching al= ternatives and after an evening trying to get it working just ended up scra= pping it all together. I was able to install the PEAR via the PEAR install= ation tool but when testing it crashed due to unable to resolve references= to org.ibm.apache that no longer existed so I imported project into Eclip= se and changed the references in the java file to java.org.apache and still= ran into problems with the CVD tool=2C the indriCASconsumer descriptor wa= s not finding the java class. I'm going to look into Solr next since I se= e it's a more recent semantic search tool.
>=3B >=3B
>=3B >= =3B In the meantime=2C I am trying to work with the regular expression anno= tator add on. I had installed the regular expression annotator via SVN wit= hin Eclipse as a separate project. http://svn.apache.org/repos/asf/uima/a= ddons/trunk/RegularExpressionAnnotator/
>=3B >=3B
>=3B >=3B= The problem I had first off was that the reference in each java file was '= package org.apache.uima.annotator.regex' but the build path for the directo= ries was main.java.org.apache.uima.annotator.regex in the project. This wa= s resolved by the quick fix in java to change all the package names in the = files to have the correct package name of main.java.org.apache.uima.annota= tor.regex.
>=3B >=3B
>=3B >=3B In addition=2C I just manu= ally changed the import names such as: 'import org.apache.uima.annotator.r= egex.Position' to
>=3B >=3B 'import main.java.org.apache.uima.annot= ator.regex.Position'
>=3B >=3B
>=3B >=3B However I ran into= a bit of a snag when I came across these to imports in the java file Conce= ptFileParser_Imp.java
>=3B >=3B I don't know how to resolve the erro= r (the imports are not resolved) since I don't see incubator anywhere in t= he project and I'm not expert enough at Java to resolve the second one:
= >=3B >=3B import org.apache.incubator.uima.regex.AnnotationDocument=3B<= br>>=3B >=3B import org.apache.xmlbeans.XmlError=3B
>=3B >=3B <= br>>=3B >=3B Would appreciate any help.
>=3B >=3B
>=3B &= gt=3B Thanks.
>=3B >=3B
>=3B >=3B Regards=2C
>=3B >= =3B Paula
>=3B >=3B
>=3B >=3B
>=3B >=3B
>=3B = >=3B
>=3B >=3B
>=3B >=3B
>=3B >=3B
>=3B= >=3B
>=3B >=3B
>=3B >=3B
>=3B >=3B
>= =3B >=3B
>=3B >=3B
>=3B >=3B >=3B
= --_9abd3f3e-7e50-46b8-924a-6c9b72ca5caf_-- --_51df40a0-fa17-473a-8186-204880056eac_--