Open stigkj opened 12 years ago
This would be a very useful enhancement.
I'd also be glad to have this feature. I tried to have a look at the sources to find the spot where I can add that property - no luck so far ;) Is that plugin similar to the antlr plugin from gradleware?
Just to make sure; you know that this can be specified inside the xsd? This is more for when you're using an external xsd that you "cannot" change, but need another package.
Yes I've seen this in your samples. But when generating code from the schema, the common case is that you have an external xsd. Usually not patching the external xsd is favored.
Nice Plugin btw :)
I just submitted a pull request for a fix to this issue. I hope you find it suitable.
The package can be specified inside the xsd now, but sometimes one needs to overwrite it. For example when you're using an external schema that one "cannot" change.