You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christian Schneider (JIRA)" <ji...@apache.org> on 2017/01/27 09:28:24 UTC
[jira] [Commented] (KARAF-4092) feature.xml to support
SystemProperties
[ https://issues.apache.org/jira/browse/KARAF-4092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842436#comment-15842436 ]
Christian Schneider commented on KARAF-4092:
--------------------------------------------
I think we should not allow this. I think features should always do the same independent of the environment. For example it is completely useless to validate a feature if it can behave differently next time.
So I am -1 on this change.
> feature.xml to support SystemProperties
> ---------------------------------------
>
> Key: KARAF-4092
> URL: https://issues.apache.org/jira/browse/KARAF-4092
> Project: Karaf
> Issue Type: Improvement
> Components: karaf-feature
> Reporter: Amit Patel
> Assignee: Jean-Baptiste Onofré
> Fix For: 4.1.0, 3.0.9, 4.0.9
>
>
> We need feature.xml file to have access to systemProperty. For example we are using feature in below format and it has <repo.dir> and <xxx.version>
> define in SystemProperty file. so we can externalized the jar file location and it can be specified at runtime though SystemProperties
> <feature name='ajsc-jar' version='0.0.1-SNAPSHOT' description="xxx-jar">
> <bundle start-level="260" start="true">file:<repo.dir>/ajsc-jars/osgiservice1/<xxx.version>/xxxx-<xxx.version>.jar</bundle> -
> <!-- </feature> -->
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)