Forum Home » General » General Questions

Thread: variable in features.xml file

 
This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 1 - Last Post: Aug 12, 2012 2:15 AM Last Post By: foobarbazquux
camel

Posts: 43
Registered: 02/02/12
variable in features.xml file
Posted: Jul 9, 2012 3:10 PM
 
  Click to reply to this thread Reply
how is it possible to use a variable in features.xml file?

I define it as stated in http://fusesource.com/docs/esb/4.2/deploy_osgi/DeployFeatures-Create.html and how should I use it?

<?xml version="1.0" encoding="UTF-8"?>
<features>
<feature name="foobar-file" version="1.04.00.01-SNAPSHOT">

<config name="pl.foobar">
jar_dir=C:/projects/dir_with_jars
</config>

<bundle>file:${jar_dir}/foo-bar/1.04.00.01-SNAPSHOT.jar</bundle>
....

but it doesnt work, smx doesn't resolve ${jar_dir}

how shall I do it?
thx

foobarbazquux

Posts: 4
Registered: 07/21/12
Re: variable in features.xml file
Posted: Aug 12, 2012 2:15 AM   in response to: camel in response to: camel
 
  Click to reply to this thread Reply
These are taken from your maven pom file using maven properties