No need to be sorry. I just noted the inconsistency when walking through
the existing properties in both the property file and the property
constants in XMLConfiguration.
Werner
Joachim Grüneis wrote:
To be honest, the feature to set it via configuration was just drafted
until now - Sorry for that.
the name should be "org.castor.xml.java_naming" as it is set for all
Castor XML stuff and it is about JavaNaming
I will check the properties files and send another reply with them
Regards
Joachim
On 07/09/2007, Werner Guttmann <[EMAIL PROTECTED]> wrote:
Joachim,
I am just looking at XMLConfiguration and there's a property defined as
follows:
/**
* Property specifying the 'type' of the Java naming conventions
* to use. Values of this property must be either null or
* the name of a class which extends [EMAIL PROTECTED]
org.castor.xml.JavaNaming}.
*
* Possible values:
* - null
* - A class name (which extends [EMAIL PROTECTED]
org.castor.xml.JavaNaming}).
*
* <pre>
* org.castor.xml.java_naming
* </pre>
*
*/
public static final String JAVA_NAMING =
"org.castor.xml.java.naming";
In castor.properties, this property does not exist at all, whereas in
castor.xml.properties, you'll see the following entry:
# Property specifying the 'type' of the Java naming conventions
# to use. Values of this property must be either null or
# the name of a class which extends [EMAIL PROTECTED]
org.castor.xml.JavaNaming}.
org.castor.xml.java_naming=
Hmm .... a bit inconsistent. Given that we are going to drop all XML
properties from castor.properties after all, I'd - at least - like to
know what the correct name of the property is.
Thanks
Werner
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email