tsd用法

阅读更多

 

 Microsoft Windows [版本 6.1.7601]                                                                                                                    

版权所有 (c) 2009 Microsoft Corporation。保留所有权利。                                                                                              

存储空间不足,无法处理此命令。                                                                                                                   

 

C:\Users\Administrator>d:

 

D:\>cd /d E:\UsersLambert\workspace\credit-web\src-test\com\sinoeyes\assign

 

E:\UsersLambert\workspace\credit-web\src-test\com\sinoeyes\assign>%java_home%\bin\xjc

'D:\Program' 不是内部或外部命令,也不是可运行的程序                                                                                                  

或批处理文件。                                                                                                                                       

 

E:\UsersLambert\workspace\credit-web\src-test\com\sinoeyes\assign>"%java_home%\bin\xjc"

grammar is not specified

 

Usage: xjc [-options ...] ... [-b ] ...

If dir is specified, all schema files in it will be compiled.

If jar is specified, /META-INF/sun-jaxb.episode binding file will be compiled.

Options:

  -nv                :  do not perform strict validation of the input schema(s)

  -extension         :  allow vendor extensions - do not strictly follow the

                        Compatibility Rules and App E.2 from the JAXB Spec

  -b      :  specify external bindings files (each must have its own -b)

                        If a directory is given, **/*.xjb is searched

  -d

          :  generated files will go into this directory

  -p           :  specifies the target package

  -httpproxy :  set HTTP/HTTPS proxy. Format is [user[:password]@]proxyHost:proxyPort

  -httpproxyfile :  Works like -httpproxy but takes the argument in a file to protect password

  -classpath   :  specify where to find user class files

  -catalog    :  specify catalog files to resolve external entity references

                        support TR9401, XCatalog, and OASIS XML Catalog format.

  -readOnly          :  generated files will be in read-only mode

  -npa               :  suppress generation of package level annotations (**/package-info.java)

  -no-header         :  suppress generation of a file header with timestamp

  -target (2.0|2.1)  :  behave like XJC 2.0 or 2.1 and generate code that doesnt use any 2.2 features.

  -encoding :  specify character encoding for generated source files

  -enableIntrospection :  enable correct generation of Boolean getters/setters to enable Bean Introspection apis

  -contentForWildcard  :  generates content property for types with multiple xs:any derived elements

  -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

  -help              :  display this help message

  -version           :  display version information

  -fullversion       :  display full version information

 

 

Extensions:

  -Xinject-code      :  inject specified Java code fragments into the generated code

  -Xlocator          :  enable source location support for generated code

  -Xsync-methods     :  generate accessor methods with the 'synchronized' keyword

  -mark-generated    :  mark the generated code as @javax.annotation.Generated

  -episode    :  generate the episode file for separate compilation

 

E:\UsersLambert\workspace\credit-web\src-test\com\sinoeyes\assign>"%java_home%\bin\xjc" testData.xsd -p com.sinoeyes.maintain.assign.test -d .

parsing a schema...

compiling a schema...

com\sinoeyes\maintain\assign\test\ObjectFactory.java

com\sinoeyes\maintain\assign\test\TestData.java

 

E:\UsersLambert\workspace\credit-web\src-test\com\sinoeyes\assign>start .

 

E:\UsersLambert\workspace\credit-web\src-test\com\sinoeyes\assign>

你可能感兴趣的:(tsd用法)