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 BAF10D0B5 for ; Wed, 24 Oct 2012 01:42:12 +0000 (UTC) Received: (qmail 13900 invoked by uid 500); 24 Oct 2012 01:42:12 -0000 Delivered-To: apmail-incubator-ctakes-dev-archive@incubator.apache.org Received: (qmail 13863 invoked by uid 500); 24 Oct 2012 01:42:12 -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 13656 invoked by uid 99); 24 Oct 2012 01:42:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 01:42:12 +0000 Date: Wed, 24 Oct 2012 01:42:12 +0000 (UTC) From: "Pei Chen (JIRA)" To: ctakes-dev@incubator.apache.org Message-ID: <616304252.19679.1351042932545.JavaMail.jiratomcat@arcas> Subject: [jira] [Created] (CTAKES-89) URI is not hierarchical while getting a file from a classpath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Pei Chen created CTAKES-89: ------------------------------ Summary: URI is not hierarchical while getting a file from a classpath Key: CTAKES-89 URL: https://issues.apache.org/jira/browse/CTAKES-89 Project: cTAKES Issue Type: Improvement Components: ctakes-core Affects Versions: 2.6-incubating Reporter: Pei Chen Assignee: Pei Chen Priority: Minor Fix For: 3.0-incubating Currently, the FileResourceImpl will support loading a resource from 1) Classpath file path 2) From File location It would be nice to also support classpath from a jar (currently will throw a uri is not hierarchical exception because it tries to resolve to a path). should also add functionality to attempt to gracefully load from a jar as well. This will allow some flexibility wherever we decide to move the resources in the future. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira