Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
XJC -p Option for Class Package Name
How to specify the package name for the generated Java classes with XJC (XML to Java Compiler)? I don't like the default package name "generated".
✍: FYIcenter.com
I don't like the default package name "generated" of the output Java classes
given by XJC (XML to Java Compiler),
you can change it by using the "xjc -p" option as shown below:
fyicenter> mkdir src fyicenter> ../jaxb-ri/bin/xjc.sh -p com.fyicenter.demo User.xsd -d src parsing a schema... compiling a schema... com\fyicenter\demo\ObjectFactory.java com\fyicenter\demo\User.java
Remember that:
⇒ Identify JAXB Implementation Classes
⇐ User.java - Java Data Type Class Generated by XJC
2018-05-08, 1966🔥, 0💬
Popular Posts:
JDK 11 java.management.jmod is the JMOD file for JDK 11 Management module. JDK 11 Management module ...
JRE 8 deploy.jar is the JAR file for JRE 8 Java Control Panel and other deploy tools. JRE (Java Runt...
JDK 11 java.xml.crypto.jmod is the JMOD file for JDK 11 XML (eXtensible Markup Language) Crypto modu...
Guava is a suite of core and expanded libraries that include utility classes, google's collections, ...
What is ojdbc.jar - JDBC Driver for Oracle? ojdbc.jar is a JDBC driver from Oracle that provides dat...