Symbols can be used in configurations (attributes and element content) and in the set-property element in schema rules.
Symbol expansion in the <sub-module> tag is not supported. HiveMind requires all modules to be processed before expansion can take place.
Achim Huegen
Am Wed, 11 Aug 2004 18:06:31 +0200 schrieb Burbach, Matthias <[EMAIL PROTECTED]>:
Hi,
I try to load a sub-module using a descriptor whose file name is determined
by the value of a symbol that I contribute to the FactoryDefaults.
However, Hivemind doesn't seem to resolve the symbol but tries to load the
descriptor using the literal name of the symbol, that is
${framework.objectmgr.config-ext}. Obviously, this must eventually fail;-)
Here's the relevant part of my hivemodule.xml: [...] <contribution configuration-id="hivemind.FactoryDefaults"> <default symbol="framework.objectmgr.config-ext" value="hive-objectmgr-default.xml"/> </contribution>
<sub-module descriptor="${framework.objectmgr.config-ext}"/> </module>
Are there restrictions as to which XML attribute values can be dynamically
resolved using symbols?
The exception message is: Unable to locate [...].jar!/META-INF/${framework.objectmgr.configext}. at org.apache.hivemind.parse.DescriptorParser.parse(DescriptorParser.java:1435)
I'm using Hivemind Beta-2.
Hope you can help, Matthias
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
