I'm using Castor-1.1 XML and source generator. I'm having problems
getting the source generator to use the "InformViaLogClassNameCRStrategy".
The value for "nameConflictStrategies" in the default
"castorbuilder.properties" looks liks:
org.exolab.castor.builder.nameConflictStrategies=\
org.exolab.castor.builder.conflictresolution.WarningViaDialogClassNameCRStrategy,\
org.exolab.castor.builder.conflictresolution.InformViaLogClassNameCRStrategy
When I run sourcegen, Castor asks about conflicts and expects a Y/N
response. I tried switching the order of the nameConflictStrategies
list and I get the same behavior from sourcegen.
If nameConflictStrategies only contains the InformViaLog entry, then
Castor gives me the following error:
SEVERE: The ClassNameConflictResolutionStrategy 'warnViaConsoleDialog'
does not exist in the Castor builder properties file and is therefore
not supported.
What am I doing wrong here?
- Kannan
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email