[
https://issues.apache.org/jira/browse/KARAF-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814959#comment-13814959
]
Martin Lichtin commented on KARAF-2546:
---------------------------------------
Yes, but that doesn't mean that setenv should not receive the default values
for this.
Also, consider that setenv really should receive KARAF_HOME, as this path
cannot be overriden.
In addition, for setenv to do any real work, it might need JAVA_HOME, might
want to check for cygwin=true/false,
might need to know JVM_VENDOR, so it can set some -XX... options, etc...
> bin scripts - setenv should be source'd after initializing KARAF_HOME et al
> ---------------------------------------------------------------------------
>
> Key: KARAF-2546
> URL: https://issues.apache.org/jira/browse/KARAF-2546
> Project: Karaf
> Issue Type: Improvement
> Affects Versions: 2.3.1
> Reporter: Martin Lichtin
> Assignee: Jean-Baptiste Onofré
>
> It'd be great if setenv could be source'd only after
> detectOS
> unlimitFD
> locateHome
> locateBase
> locateData
> setupNativePath
> locateJava
> has been called.
> This makes it possible to use the discovered values in the setenv script.
--
This message was sent by Atlassian JIRA
(v6.1#6144)