You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2011/05/24 16:57:47 UTC
[jira] [Created] (SLING-2088) perform system property interpolation
when setting sling.home via an init-param
perform system property interpolation when setting sling.home via an init-param
-------------------------------------------------------------------------------
Key: SLING-2088
URL: https://issues.apache.org/jira/browse/SLING-2088
Project: Sling
Issue Type: Improvement
Components: Launchpad
Reporter: Justin Edelson
If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2088) perform system property
interpolation when setting sling.home via an init-param
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065723#comment-13065723 ]
Carsten Ziegeler commented on SLING-2088:
-----------------------------------------
Agree, sling.home is sufficient and copying is fine imho
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2088) perform system property
interpolation when setting sling.home via an init-param
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065495#comment-13065495 ]
Justin Edelson commented on SLING-2088:
---------------------------------------
committed initial implementation in r1146847. Required copying code from Sling class, but I believe it was necessary.
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2088) perform system property
interpolation when setting sling.home via an init-param
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13065427#comment-13065427 ]
Justin Edelson commented on SLING-2088:
---------------------------------------
as far as I can tell, only sling.home is needed to be handled. anything else will be handled by the existing interpoliation done by sling properties. but sling.home is needed before that interpolation is done because it's needed to *get* sling.properties
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (SLING-2088) perform system property interpolation
when setting sling.home via an init-param
Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger closed SLING-2088.
------------------------------------
Close after release.
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Launchpad Base 2.4.0
>
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2088) perform system property interpolation
when setting sling.home via an init-param
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-2088:
----------------------------------
Assignee: Justin Edelson
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
> Assignee: Justin Edelson
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2088) perform system property
interpolation when setting sling.home via an init-param
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13038610#comment-13038610 ]
Carsten Ziegeler commented on SLING-2088:
-----------------------------------------
Maybe we should do this for all init parameters?
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SLING-2088) perform system property
interpolation when setting sling.home via an init-param
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-2088.
-----------------------------------
Resolution: Fixed
Fix Version/s: Launchpad Base 2.3.2
adding comment explaining code duplication in r1147158
> perform system property interpolation when setting sling.home via an init-param
> -------------------------------------------------------------------------------
>
> Key: SLING-2088
> URL: https://issues.apache.org/jira/browse/SLING-2088
> Project: Sling
> Issue Type: Improvement
> Components: Launchpad
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: Launchpad Base 2.3.2
>
>
> If web.xml contains sling.home in an init-param, the value of the parameter should be interpolated using ${propname} where propname refers to a system property.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira