java - Using JAXB .episode files -
i trying generate .java files xsd files using jaxb. have 2 xsd schemas, base.xsd , area.xsd. area.xsd imports base.xsd. have been able create java files each of schemas separately, results in duplicate java files base.xsd. tried solve problem creating episode file base.xsd using command:
xjc -d out -episode base.episode base.xsd
this worked fine , created episode file expected. next attempted create java files each of schemas:
xjc -d ...\src\main\java base.xsd -p mypackage.base xjc -d ...\src\main\java area.xsd -p mypackage.area -extension -b base.episode
the java files base.xsd created successfully, no files created area.xsd (including area-specific classes). have spent lot of time looking issue, , seems should work expected.
is noticeably wrong doing? please advise me if there recommend changing.
thanks in advance.
Comments
Post a Comment