Return-Path: Delivered-To: apmail-karaf-user-archive@minotaur.apache.org Received: (qmail 46478 invoked from network); 22 Dec 2010 15:41:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 Dec 2010 15:41:55 -0000 Received: (qmail 27584 invoked by uid 500); 22 Dec 2010 15:41:55 -0000 Delivered-To: apmail-karaf-user-archive@karaf.apache.org Received: (qmail 27498 invoked by uid 500); 22 Dec 2010 15:41:54 -0000 Mailing-List: contact user-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@karaf.apache.org Delivered-To: mailing list user@karaf.apache.org Received: (qmail 27485 invoked by uid 99); 22 Dec 2010 15:41:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 15:41:53 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,RFC_ABUSE_POST,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 216.139.236.26 is neither permitted nor denied by domain of mvangeertruy@comcast.net) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Dec 2010 15:41:47 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1PVQog-0005Jp-3N for user@karaf.apache.org; Wed, 22 Dec 2010 07:41:26 -0800 Date: Wed, 22 Dec 2010 07:41:26 -0800 (PST) From: karafman To: user@karaf.apache.org Message-ID: <1293032486072-2131894.post@n3.nabble.com> Subject: features.cfg issue MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org When adding custom features.xml documents to org.apache.karaf.features.cfg on the featuresRepositories line using the "file:///" url, this works: featuresRepositories=file:///home/myArea/karaf-apache-2.0.0/etc/myApp.features.cfg But this does not: featuresRepositories=file://${karaf.base}/etc/myApp.features.cfg When running config:list, the following is seen: featuresRepositories file:///home/myArea/karaf-apache-2.0.0/etc/myApp.features.cfg The error in the log is: Caused by: java.net.URISyntaxException: Illegal character in authority at index 7: file://${karaf.base}/etc/myApp.features.cfg Karaf should resolve variables in the file url prior to attempting to get a file-handle, thus allowing users to specify a file url containing ${karaf.base} instead of hard-coding the file location. ----- Karafman Slayer of the JEE Pounder of the Perl Programmer -- View this message in context: http://karaf.922171.n3.nabble.com/features-cfg-issue-tp2131894p2131894.html Sent from the Karaf - User mailing list archive at Nabble.com.