karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Konstantinov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-3148) Extract common part of karaf bin scripts to a separate file to avoid duplication
Date Mon, 04 Aug 2014 14:43:12 GMT
Dmitry Konstantinov created KARAF-3148:
------------------------------------------

             Summary: Extract common part of karaf bin scripts to a separate file to avoid
duplication
                 Key: KARAF-3148
                 URL: https://issues.apache.org/jira/browse/KARAF-3148
             Project: Karaf
          Issue Type: Improvement
    Affects Versions: 2.3.6, 3.0.1
            Reporter: Dmitry Konstantinov


It make sense to extract the following functions to a separate file and reuse them:
    # Determine if there is special OS handling we must perform
    detectOS
    # Unlimit the number of file descriptors if possible
    unlimitFD
    # Locate the Karaf home directory
    locateHome
    # Locate the Karaf base directory
    locateBase
    # Locate the Karaf data directory
    locateData
    # Setup the native library path
    setupNativePath
    # Locate the Java VM to execute
    locateJava
    # Determine the JVM vendor
    detectJVM
    # Setup default options
    setupDefaults



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message