Skip to main content

Using xjc:superClass binding option

1 reply [Last post]
Joined: 2005-04-06

I've just tried using the superClass option with xjc to make the generated classes inherit from another class. It seems to be generating the super class, but nothing that is generated extends it.

This is what I'm adding to the schema file:

I get a file called created containing an empty class called Node, but none of the classes generated from the schema use it. If I create the file and compile it before running xjc (which I think the instructions said to do) it gets overwritten.

Any ideas?



Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2003-06-09

I think this is another known bug in the EA, which is already fixed in the current weekly.

For issues like this, please consider filing an issue to directly.