Community
Participate
Working Groups
Build Identifier: With the JAXB Class Generation wizard it would be nice to have a checkbox in the wizard where the user could have the ability to create a JAR file under WEB-INF/lib instead of source files being created under src. This might be easier for some users who don't want to fuss with new packages created under src. As a comparison, the soon to be deprecated OEPE JAXB wizard places all generated class files and (optional source files) in a JAR file under lib. Reproducible: Always
I would think a more Eclipse-consistent approach would be to generate a "JAXB Utility Jar Project" that contains just the generated classes. Part of the generation of such a project could prompt to either add this project to an EAR or establish the necessary dependencies so that the project is jar'ed and packaged into an existing WAR. This project-oriented approach produces the same end result as what you're looking for, a jar in the web-inf/lib of the war, but also supports customization or augmentation of the generated classes and JAXB binding. This approach has no more fuss than the straight to jar approach but provides significant opportunities for advanced users and Dali adopters.