Hi Mike, You must do it in 2 steps:
<j:set var="bundleProperty" value="test.bundle.${bundlePropertyName}"/> <j:if test="${dep.getProperty(bundleProperty)=='true'}"> -Vincent > -----Original Message----- > From: Michael Owen [mailto:[EMAIL PROTECTED] > Sent: jeudi 4 août 2005 16:36 > To: users@maven.apache.org > Subject: Getting dynamic property > > Hi, > > I writing a plugin for Maven 1.0.2 and I'm trying to do: > > <j:set var="bundlePropertyName" value="diststandalone" /> > > <j:if > test="${dep.getProperty('test.bundle.${bundlePropertyName}')=='true'}"> > > However, either though syntactical ok, this doesn't work in theory. When I > do: > > <j:if > test="${dep.getProperty('test.bundle.diststandalone')=='true'}"> > > it works in theory. > > Anybody know how to get it to work so I can load a "dynamic" property? > > Mike --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]