Community
Participate
Working Groups
Build Identifier: Currently the JAXB Class Generation Wizard has options to specify a package, catalog file and bindings files. It would be nice to add on the bottom of the generation page wizard , or a subsequent page (by clicking next), further options for a user to turn speficy further arguments. For example a user could: 1) turn off generation of package-info.java 2) make files readonly 3) turn off strict validation 4) Allow vendor extensions As a comparison, other OEPE web service wizards have added checkboxes for more common command line arguments that a user would want when invoking the wizard. Otherwise, the wizard might be considered a minimal substitute for running the xjc on the command line. Reproducible: Always Steps to Reproduce: 1. Create web service project with latest WLS runtime in OEPE helios 2. Create package under source 3. Create new XSD or copy existing XSD to package 4. Launch JAXB generation wizard 5. Note options on current wizard
making this a normal bug. We do need checkboxes in the wizard (for some command line args) to provide robust functionality in the wizard. Otherwise, some users might just want to create types on the command line or through an ant script since the wizard might miss some more common customizations.
I think we will want to add these options on an additional wizard page so the user can easily finish beforehand. One or perhaps two columns of checkboxes (depending on space constraints) with a text input field on the bottom that can be used to pass in non-standard args to the generation process. This could perhaps be labeled, "Non-standard arguments:" or "Additional arguments:". "Additional arguments:" is probably better if we choose not to include all possible class gen compiler options at first. Some will not make sense given current functionality, but as we provide additional schema input options (from a URL, allowing multiples) we can add relevant options into the compiler options page.
Additional 2.1 compiler arguments we might want to add: -httpproxy <proxy> : set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost:proxyPort -httpproxyfile <f> : Works like -httpproxy but takes the argument in a file to protect password -classpath <arg> : specify where to find user class files -no-header : suppress generation of a file header with timestamp -target 2.0 : behave like XJC 2.0 and generate code that doesnt use any 2.1 features. -xmlschema : treat input as W3C XML Schema (default) -relaxng : treat input as RELAX NG (experimental,unsupported) -relaxng-compact : treat input as RELAX NG compact syntax (experimental,unsupported) -dtd : treat input as XML DTD (experimental,unsupported) -wsdl : treat input as WSDL and compile schemas inside it (experimental,unsupported) -verbose : be extra verbose -quiet : suppress compiler output -version : display version information
Completed for M1.