How to avoid hard-coded paths in features.xml ?
Issue
- Is it possible to have some type of path resolver in
features.xml, not usingmavenrepository. - We have several environments running on
windowsand others onunix. I would like to create exactly ONEfeatures.xmlfile for each of our projects. This file CANNOT contain hard-coded file paths (to third party jars). - Please provide an example where the path (to third party jars) is EITHER:
- injected as a property.
- relative to the container.
- is defined in org.apache.karaf.features.cfg.
Environment
- Red Hat JBoss Fuse
- 6.2.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.