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 269D0D226 for ; Fri, 23 Nov 2012 11:02:59 +0000 (UTC) Received: (qmail 16713 invoked by uid 500); 23 Nov 2012 11:02:58 -0000 Delivered-To: apmail-uima-user-archive@uima.apache.org Received: (qmail 16682 invoked by uid 500); 23 Nov 2012 11:02:58 -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 16644 invoked by uid 99); 23 Nov 2012 11:02:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2012 11:02:57 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ewal@pointpro.nl designates 91.192.36.142 as permitted sender) Received: from [91.192.36.142] (HELO obelix.pointpro.nl) (91.192.36.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Nov 2012 11:02:48 +0000 Received: from localhost (localhost [127.0.0.1]) by obelix.pointpro.nl (Postfix) with ESMTP id 87D55AB6C19 for ; Fri, 23 Nov 2012 12:02:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pointpro.nl; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=main; t=1353668543; x=1355482943; bh=WuHHUF938d8FGJW3Wgz/zePwMStEsBMRCtbxZODV5r4=; b= IppFhwPg6WpCMb+FcYI/kFKwjvWkQEdz+BbVBo9dRMTHtEOFrIm+YYfvEfh7jhAz H3mlpjOvB5poiAzPcNIR+/En+fZ87HzamgbUky779Vx0mgeDYJ+KlsAhaTgPIbHw iafxULv+eENjDks+77Y/jDx7bsM75fwqWAs6sKpi2Jg= X-Virus-Scanned: Debian amavisd-new at pointpro.nl Received: from obelix.pointpro.nl ([127.0.0.1]) by localhost (obelix.pointpro.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OUcFK5IglkvD for ; Fri, 23 Nov 2012 12:02:23 +0100 (CET) Received: from eggy.assistobot.ai.rug.nl (ai17816.ai.rug.nl [129.125.178.16]) (Authenticated sender: ewal@pointpro.nl) by obelix.pointpro.nl (Postfix) with ESMTPA id B425B8E91D5 for ; Fri, 23 Nov 2012 12:02:23 +0100 (CET) Message-ID: <50AF57C7.5080302@pointpro.nl> Date: Fri, 23 Nov 2012 12:02:31 +0100 From: Egbert van der Wal User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: user@uima.apache.org Subject: Re: Loading annotators from resources in JAR-file References: <50AF41D8.6090407@pointpro.nl> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Op 23-11-12 11:37, Richard Eckart de Castilho schreef: > Am 23.11.2012 um 10:28 schrieb Egbert van der Wal : > >> Anyway, I have created several annotators and one aggregate annotator that links to these annotators using a relative path. The aggregate annotator is in desc/analysis engines/ and the annotators are in desc/annotators. The aggregate annotator links to the annotatiors like so: ../annotators/MyAnnotator.xml > > Sounds like you are using location-based imports in your descriptors. You should use name-baed imports - these are resolved against the classpath like Java classes, not against the file system as with location-based imports. > > -- Richard > Ah, thanks you very much, that was indeed the problem. I did not realize there were two ways to import. Thanks a lot! Bye, Egbert