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 877A9D572 for ; Thu, 11 Oct 2012 14:49:16 +0000 (UTC) Received: (qmail 79127 invoked by uid 500); 11 Oct 2012 14:49:16 -0000 Delivered-To: apmail-incubator-ctakes-dev-archive@incubator.apache.org Received: (qmail 79099 invoked by uid 500); 11 Oct 2012 14:49:16 -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 79091 invoked by uid 99); 11 Oct 2012 14:49:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 14:49:16 +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 steven.bethard@colorado.edu designates 128.138.128.246 as permitted sender) Received: from [128.138.128.246] (HELO ipmx6.colorado.edu) (128.138.128.246) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Oct 2012 14:49:08 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAKbbdlDAqBGb/2dsb2JhbABEgm69XoIgAQEFgQkCAQgYLjIlAQEEE4gEAQqxMIkIi0eFQGADiFiOKo8bgww X-IronPort-AV: E=Sophos;i="4.80,572,1344232800"; d="scan'208";a="8353357" Received: from omr-raz-2-priv.int.colorado.edu ([192.168.17.155]) by ipmx6-priv.int.colorado.edu with ESMTP; 11 Oct 2012 08:48:47 -0600 Received: from exhub2-pub.colorado.edu (EHLO exhub2.ad.colorado.edu) ([128.138.123.208]) by omr-raz-2-priv.int.colorado.edu (MOS 4.1.10-GA FastPath queued) with ESMTP id HQE01443; Thu, 11 Oct 2012 08:48:47 -0600 (MDT) Received: from EXC2.ad.colorado.edu ([fe80::8d06:1219:77d3:6e0]) by exhub2.ad.colorado.edu ([::1]) with mapi; Thu, 11 Oct 2012 08:48:47 -0600 From: Steven Bethard To: "ctakes-dev@incubator.apache.org" Date: Thu, 11 Oct 2012 08:48:45 -0600 Subject: Re: Update cTAKES Building and Running page? Thread-Topic: Update cTAKES Building and Running page? Thread-Index: Ac2nv4R513r5HdziSUqIQmdYVaniFg== Message-ID: <0AF7FEE5-260C-44EE-935D-F5ED1906A2A9@colorado.edu> References: <924DE05C19409B438EB81DE683A942D9204733@CHEXMBX1A.CHBOSTON.ORG> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org On Oct 11, 2012, at 8:29 AM, Oleg Tikhonov wrote: > I've svn'ed the source and tryed to mvn clean install. Are you sure you want to run `mvn install`? In my experience you almost *ne= ver* want to do that. If you just want to compile the source, why not use `mvn compile`? If you want to run the tests too, run `mvn test`. If you want to compile, run tests and build jar files, run `mvn package`. If the tests are failing, but you still want to build the jar files, you ca= n add -DskipTests=3Dtrue to the command line (http://maven.apache.org/plugi= ns/maven-surefire-plugin/test-mojo.html#skipTests). (This will also work fo= r `mvn install` if you're really sure that's what you want to run.) All that said, I can confirm that I also see test failures: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.apache.ctakes.core.ae.SimpleSegmentAnnotatorTests =85 Caused by: org.apache.uima.cas.CASRuntimeException: JCas type "org.apache.c= takes.typesystem.type.textspan.Segment" used in Java code, but was not dec= lared in the XML type descriptor. at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:412) at org.apache.uima.jcas.cas.TOP.(TOP.java:92) at org.apache.uima.jcas.cas.AnnotationBase.(AnnotationBase.java:53) at org.apache.uima.jcas.tcas.Annotation.(Annotation.java:54) at org.apache.ctakes.typesystem.type.textspan.Segment.(Segment.java:= 46) at org.apache.ctakes.core.ae.SimpleSegmentAnnotator.process(SimpleSegmentA= nnotator.java:54) at org.apache.uima.analysis_component.JCasAnnotator_ImplBase.process(JCasA= nnotator_ImplBase.java:48) at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callA= nalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:375) ... 34 more Running org.apache.ctakes.core.ci.HyphenTextModifierImplTests =85 java.io.FileNotFoundException: resources/tokenizer/hyphenated.txt (No such = file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.(FileInputStream.java:120) at java.io.FileReader.(FileReader.java:55) at org.apache.ctakes.core.ci.HyphenTextModifierImpl.(HyphenTextModif= ierImpl.java:66) ... Results : Failed tests: testTokenizerAnnotatorPTB(org.apache.ctakes.core.ae.Tokeniz= erAnnotatorPTBTests): expected: but was: testTest(org.apache.ctakes.core.ci.HyphenTextModifierImplTests) Tests in error:=20 testSimpleSegment(org.apache.ctakes.core.ae.SimpleSegmentAnnotatorTests):= Annotator processing failed. =20 Tests run: 3, Failures: 2, Errors: 1, Skipped: 0 Steve