Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-430

don't force a karaf deploy to have a lib directory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.3
    • 2.1.4
    • karaf
    • None
    • ubuntu 10.04

    Description

      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.

      Attachments

        Activity

          People

            pieber Andreas Pieber
            aradzak jamie campbell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: