Skip to content

-Xjaxbindex plugin from JAXB commons does not work with the xew plugin #41

@bertramn

Description

@bertramn

I recently added -Xjaxbindex to the xjc schema compiler and noticed that the generated jaxb.index file still contains the public wrapper classes that xew discharges. A quick look in the jaxb index plugin source suggest around line 28 that it is using the overall xjc outline that is passed through the plugins. I did add the -Xjaxbindex arg after the -Xxew arg in the XJC compiler but it seems xew is not removing the classes it deletes in the generated code from the outline, hence the jaxb index plugin producing a wrong index file.

That's how jaxb index plugin decides what goes into the jaxb.index file:

for (final ClassOutline classOutline : packageOutline.getClasses()) {
...
}

Is that hard to fix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions