hi,

features usually don't contain a property placeholder. So if you have one,
you should replace it during build time. For example by filtering it with
your maven build.

regards, Achim


2015-05-05 16:04 GMT+02:00 Camel Guy <[email protected]>:

> Hello,
>
> I have a features XML file that uses ${jetty.version} as the feature's
> version.
>
> feature:repo-add followed by feature:list
>
> outputs the following as the feature's version:
>
> 0.0.0.__jetty_version
> How do I set jetty.version?
>
> I tried putting a .cfg file in etc (with jetty.version=whatever) and
> restarting Karaf.
>
> Removing and then adding the feature file didn't fix the problem.
>
> In config:list I see jetty.version is under my PID but
>
> echo ${jetty.version}
>
> outputs:
> null
>
>
>
> Thank you,
> cg
>



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>
Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>

Software Architect / Project Manager / Scrum Master

Reply via email to