Hi John
I like the idea of supporting more locations for variable and property resolution, see "Minor RFE : Property expansion"
There are a couple of other options. We use targets and properties rather heavily in OMERO. One properties definition there contains several targets for adjusting what gets pulled in via the refid:
Code:
<properties id="JavaServer">
<target name="adh">
<property name="Ice.Default.Protocol" value="ssl"/>
<property name="Ice.Plugin.IceSSL" value="IceSSL.PluginFactory"/>
<property name="IceSSL.Ciphers" value="NONE (DH_anon)"/>
<property name="IceSSL.VerifyPeer" value="0"/>
</target>
<target name="ssl">
<property name="Ice.Default.Protocol" value="ssl"/>
<property name="Ice.Plugin.IceSSL" value="IceSSL.PluginFactory"/>
<property name="IceSSL.DefaultDir" value="etc/certs"/>
<property name="IceSSL.CertFile" value="pubkey.pem"/>
<property name="IceSSL.KeyFile" value="privkey.pem"/>
<property name="IceSSL.CertAuthFile" value="ca.pem"/>
</target>
</properties>
Another option would be to optionally include your properties element in the template:
Code:
<server-template id="IndexerTemplate">
...
<properties>
<target name="Debug">
<properties refid="Profile"/>
</target>
</properties>
Cheers,
~Josh.