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 BD9362060 for ; Thu, 5 May 2011 10:55:56 +0000 (UTC) Received: (qmail 59157 invoked by uid 500); 5 May 2011 10:55:56 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 59129 invoked by uid 500); 5 May 2011 10:55:56 -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 59121 invoked by uid 99); 5 May 2011 10:55:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 10:55:56 +0000 X-ASF-Spam-Status: No, hits=0.9 required=5.0 tests=RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gcaug-uima-user@m.gmane.org designates 80.91.229.12 as permitted sender) Received: from [80.91.229.12] (HELO lo.gmane.org) (80.91.229.12) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 May 2011 10:55:48 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QHwDQ-0001ut-1d for user@uima.apache.org; Thu, 05 May 2011 12:55:28 +0200 Received: from 84.88.76.136 ([84.88.76.136]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 May 2011 12:55:28 +0200 Received: from j+asf by 84.88.76.136 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 May 2011 12:55:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: user@uima.apache.org From: Jens Grivolla Subject: Re: Cas Editor: selecting annotation type Date: Thu, 05 May 2011 12:55:16 +0200 Lines: 25 Message-ID: References: <4DC11AAA.8070401@gmail.com> <4DC14A20.80700@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 84.88.76.136 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14) Gecko/20110223 Lightning/1.0b2 Thunderbird/3.1.8 In-Reply-To: On 05/05/2011 12:37 PM, Jens Grivolla wrote: > I'm getting errors when opening an > XMI with the Annotation editor: > > Caused by: org.eclipse.core.internal.resources.ResourceException: > Resource '/OneOfMyClosedProjects' is not open. > at > org.eclipse.core.internal.resources.Project.checkAccessible(Project.java:137) > > at org.eclipse.core.internal.resources.Project.hasNature(Project.java:511) > at org.apache.uima.caseditor.CasEditorPlugin.start(CasEditorPlugin.java:90) > > Apparently the migration from CasEditorProjects to the new way fails > whenever there is a closed project in the workspace. I don't have any > projects that need to be migrated, but it tries to check every project I > have and fails hard when it can't. It would be good if somebody could > verify that before filing a bug report. It works fine after I removed the check. - if ( project.hasNature("org.apache.uima.caseditor.NLPProject")) { + if (false) { Bye, Jens