[XJC] silent failure with xs:enumeration
I run a Ant build under Netbeans 6.0.1, including a XJC task which looks like the following (target markup omitted):
The target XSD has many types, one is a simple type which is an enumeration based on a string type:
When running it through XJC, all the other types in the XSD are well transformed into Java classes, except this one. So what am I supposed to do if I must have a string-based enumeration which contains some numeric values I wish to get as strings? is it a bug?
Plus, XJC curiously does not show any compiling output. All I get is:
removing old output files
Writing output to foo/src
BUILD SUCCESSFUL (total time: 1 second)
It seems XJC is running in quiet mode (despite the -verbose option), even when an error like above is encountered. How can I fix this? In comparison, a wsimport task displays the name of all the generated classes...