Am trying to do something like the below..
<property name="INSTANCE_NAME" value="${PRODUCT5_JBOSS_INSTANCE}" />
PRODUCT5_JBOSS_INSTANCE-takes the value of that key name from a property file So when i give like the above my value for INSTANCE_NAME = product5-jboss.
But the above line is repeated multiple times for different products like
<property name="INSTANCE_NAME" value="${PRODUCT6_JBOSS_INSTANCE}" />
<property name="INSTANCE_NAME" value="${PRODUCT7_JBOSS_INSTANCE}" />
So inside value="${PRODUCT7_JBOSS_INSTANCE}" i would like to pass product7 dynamically like the below..
value="${${PRODUCT_NUMBER}_JBOSS_INSTANCE}" --But this doesnt work.Because two $ symbols doesnt work.My target now is PRODUCT_NUMBER should get the value as PRODUCT7 and then
PRODUCT7_JBOSS_INSTANCE should get the value from file as product7-jboss
Can u help me with an approach for this