[
https://issues.apache.org/jira/browse/KARAF-145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved KARAF-145.
-----------------------------------
Fix Version/s: 2.1.0
Resolution: Fixed
Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
M main/src/main/java/org/apache/karaf/main/Main.java
Committed r996550
I actually used a different strategy which is to trim all the properties just
after reading the file.
It looks a bit cleaner to me.
> Reading Properties like karaf.framework should be trimmed before reusage
> ------------------------------------------------------------------------
>
> Key: KARAF-145
> URL: https://issues.apache.org/jira/browse/KARAF-145
> Project: Karaf
> Issue Type: Bug
> Affects Versions: 2.1.0
> Reporter: Achim Nierbeck
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 2.1.0
>
> Attachments: Main.java.patch
>
>
> the configProps.getProperty(XXX) should be appended with a trim where
> applicable. Since some of the values are reused for other keys.
> In case someone does set
> {code}
> karaf.framework=equinox
> {code}
> appended by a blank no one sees it directly in the config file but the server
> doesn't start either.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.