You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2014/08/04 16:47:11 UTC

[jira] [Commented] (KARAF-3148) Extract common part of karaf bin scripts to a separate file to avoid duplication

    [ https://issues.apache.org/jira/browse/KARAF-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084716#comment-14084716 ] 

Jean-Baptiste Onofré commented on KARAF-3148:
---------------------------------------------

You mean duplication between which scripts ? These checks are in bin/karaf, and the other scripts (like start, stop, etc) reuse the karaf one.

> 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: 3.0.1, 2.3.6
>            Reporter: Dmitry Konstantinov
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> 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)