Return-Path: Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: (qmail 20917 invoked from network); 1 Feb 2011 03:19:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Feb 2011 03:19:22 -0000 Received: (qmail 20814 invoked by uid 500); 1 Feb 2011 03:19:21 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 20778 invoked by uid 500); 1 Feb 2011 03:19:20 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 20770 invoked by uid 99); 1 Feb 2011 03:19:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 03:19:19 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Feb 2011 03:19:19 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F209618430C for ; Tue, 1 Feb 2011 03:18:28 +0000 (UTC) Date: Tue, 1 Feb 2011 03:18:28 +0000 (UTC) From: "jamie campbell (JIRA)" To: issues@karaf.apache.org Message-ID: <1566832841.1359.1296530308987.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Created: (KARAF-430) don't force a karaf deploy to have a lib directory MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 don't force a karaf deploy to have a lib directory -------------------------------------------------- Key: KARAF-430 URL: https://issues.apache.org/jira/browse/KARAF-430 Project: Karaf Issue Type: Wish Components: runtime Affects Versions: 2.1.3 Environment: ubuntu 10.04 Reporter: jamie campbell Priority: Minor I've done a maven-based approach to creation of a karaf environment using the same dependencies as the downloadable karaf does. In mine, the jaas.boot and karaf main jars are in the system/ hierarchy, not in lib. However, I have to have my deploy create an empty lib directory because karaf crashes with null pointer exception otherwise. This is because it does a for loop based on listfiles() for this directory, which crashes if it doesn't exist. My wish is for this code (src/main/src/main/java/org/apache/karaf/main/Main.java , line 950) to first check existence of lib directory, and skip the for loop if there is no such directory. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira