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 486281854B for ; Tue, 19 Jan 2016 08:55:33 +0000 (UTC) Received: (qmail 82100 invoked by uid 500); 19 Jan 2016 08:55:32 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 82053 invoked by uid 500); 19 Jan 2016 08:55:32 -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 82042 invoked by uid 99); 19 Jan 2016 08:55:32 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Jan 2016 08:55:32 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id F1348C0D4B for ; Tue, 19 Jan 2016 08:55:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1 X-Spam-Level: * X-Spam-Status: No, score=1 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H2=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 06Aim-ZqvFuW for ; Tue, 19 Jan 2016 08:55:23 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E30FC20BC2 for ; Tue, 19 Jan 2016 08:55:22 +0000 (UTC) Received: from [192.168.11.110] ([132.230.176.14]) by mrelayeu.kundenserver.de (mreue002) with ESMTPSA (Nemesis) id 0MCUTZ-1aTwNf1Fzd-00978y for ; Tue, 19 Jan 2016 09:55:22 +0100 Subject: Re: examples of using maven with uima, uimaFit, ruta, etc? To: user@uima.apache.org References: <569C08EB.6010401@averbis.com> From: =?UTF-8?Q?Peter_Kl=c3=bcgl?= Message-ID: <569DFA0F.5070000@averbis.com> Date: Tue, 19 Jan 2016 09:55:43 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:H1fDX1S3m6lY1UhofkGBJnlCPVufi4zLSNJ3AjxWr3UTnWlREI/ xQDPGHclBsCI6XkW3CXthr6wSfx3FroVo+sTDVfNndigt/+RJmEvvwnihssQxQKrtGJPPVm gJb/szLgJBckUq8xN9C1UU2REf0WlpaD0yOISimCd4wq48EBspCf0lnfdZUSfYVQ25Yk8mZ Tqq/sEZffrrLhlsK0pdXQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:sr3hTmtXnvc=:UuOG7Z8kKhROrKBq1Pufd2 +OWXu1JuO2Z+7QNDmyIyorOfUfmqewvC7r5bYW+Ece8ZEOb7mAoVd9RfmL2TUhW38HHkaAjfG /ZRC8ftlfyRJoHPQi/gO1ZgzwdqaLOknfL/sXDr1B17nY7qr0eyG5aF0YjUN0UO2STBnorGHt 55xwh66lvsOUzVs/ya4p3GkmN85K5ZT4aBfQZUY+pcYfqfiK6irxP6bQQm3ysPA91Tzgfj0ZG rREXLDVUkb1G5295eUanS4XX59x6Cf5WLuCAlMiu4IqQnbTO+iOZZ7in2ZUAgebKvX1u/TYI+ flTu+cRYNlwDN+iVip5LgNYyY59bxtmapFuJyK0Ypa4b48jodjcecUq9UAFcqvPfONCKNIEiw yrb/bK7RRwULr+SwAJDDJZ2BBcFc3YcPDfLbIL6bWgXpgqsFuiNmQFWjXZPLHqcyVYlBxv7Ok CsoEHvNvoiV2ihO+s+Q5eYMwFFktUL9cXeHqX8o3FJwWyve9LKxjEkBsUkdUNG7rcDZ2GCjZo wNlfFybBQCkJHuKpRrrEjSgyok6U/P0M00ubD1/SLl96geOxpOjuxhx9y/tIhk3dvWhJmff/C swlDDIRiLR/vhbR+Nf+WoJ/U+1UfqMplsU+rqEY4L5a3M0rMdO39oJ/uOCW2bemJVpbr4vlKv awOLU2jve/EK7g2u8LHKkHeDfrwmarENIVHfjetOUsd35+2eg80SmXHu/ZkUHT9pGsfudsS/1 tzG7KbJJLorsVwqK It's possible, I do it every day :-) Let's see where the problem is... Can you post the folder structure and the pom.xml (especially the ruta-maven-plugin) of your project? Can you describe the launch configuration of your script? Is there an errer in your Eclispe installation (views->Error Log) Best, Peter Am 18.01.2016 um 22:46 schrieb Bonnie MacKellar: > Hi, > > Thanks. I had actually found these links 2 days ago. I sat with a friend > who is very good with Maven, and we tried to figure it all out. I think we > have gotten it to the point now where I can specify where to find the Ruta > script file, meaning I can put it in src with the rest of the project. One > problem though - I can't run the ruta script as a standalone, which makes > it hard to test and develop. It isn't a Ruta project. But if I create my > project as a Ruta project, then I get that default folder structure that I > don't want. I am not sure how to correctly create a project so that it uses > Maven, lets me put my script under the Src folder, and STILL lets me use > the Workbench tools. Perhaps that just isn't possible? > > thanks, > Bonnie MacKellar > > On Sun, Jan 17, 2016 at 4:34 PM, Peter Klügl > wrote: > >> Hi, >> >> first of all, sorry that I did not answer your last mail on Friday as I >> said. >> >> There are some example/test projects for UIMA Ruta based on maven: >> >> http://home.apache.org/~pkluegl/examples/date-example.zip >> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/conflictingShortName >> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/importByName >> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/multimodule >> >> https://svn.apache.org/repos/asf/uima/ruta/trunk/ruta-maven-plugin/src/it/wordlists >> >> In the last four projects, the version needs to be set since they are >> integration tests. To test the projects, siply download/ extract or >> checkout the projects and import them as mexisting maven projects in >> Eclipse. >> >> The documentation of the maven plugin for ruta can be found here: >> >> >> https://uima.apache.org/d/ruta-current/tools.ruta.book.html#ugr.tools.ruta.maven >> >> >> I will try to provide a more information (also for your last mail) >> tomorrow. >> >> Best, >> >> Peter >> >> >> >> Am 17.01.2016 um 20:34 schrieb Bonnie MacKellar: >> >>> Hi, >>> >>> I had posted earlier asking about best practices for building a project >>> that uses uimaFit, Ruta, and the Metamap annotator. My current project, >>> while it works, is inordinately complex and I can't seem to figure out the >>> right way to structure it. I did get the advice to use Maven. I don't >>> normally use Maven, but I would if it gave some way to simplify this mess. >>> However, I can't find any mention of using Maven in the Uima tutorial, so >>> I >>> am at a loss as to how to start. Are there instructions on the web that I >>> am just not finding? An example project? >>> >>> thanks, >>> Bonnie MacKellar >>> >>>