karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré (JIRA) <j...@apache.org>
Subject [jira] [Commented] (KARAF-3148) Extract common part of karaf bin scripts to a separate file to avoid duplication
Date Mon, 04 Aug 2014 14:47:11 GMT

    [ 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)

Mime
View raw message