dos下的help命令打印出来的东西的说明

C370228492 2013-11-20 10:49:25
比如我执行wsdl2java -help 打印了如下的东西
下面的 | 表示或者吧 这个猜到, <> 是表示必须的 还有[] * 等符号 神马意思的
wsdl2java -fe|-frontend <front-end-name> -db|-databinding <data-binding-name> -wv <wsdl-version> -p <[wsdl-namespace =]package-name>* -sn <service-name> -b <binding-file-name>* -reserveClass <class-name>* -catalog <catalog-file-name> -d <output-directory> -compile -classdir <compile-classes-directory> -impl -server -client -clientjar <jar-file-name> -all -autoNameResolution -allowElementReferences|-aer<=true> -defaultValues<=class-name-for-DefaultValueProvider> -ant -nexclude <schema-namespace [= java-package-name]>* -exsh <(true, false)> -noTypes -dns <Default value is true> -dex <(true, false)> -validate<[=all|basic|none]> -keep -wsdlLocation <wsdlLocation> -xjc<xjc-arguments>* -asyncMethods<[=method1,method2,...]>* -bareMethods<[=method1,method2,...]>* -mimeMethods<[=method1,method2,...]>* -noAddressBinding -faultSerialVersionUID <fault-serialVersionUID> -encoding <encoding> -exceptionSuper <exceptionSuper> -mark-generated -h|-?|-help -version|-v -verbose|-V -quiet|-q|-Q -wsdlList <wsdlurl>

Options:

-fe|-frontend <front-end-name>
Specifies the front end. (defaults to JAXWS)

-db|-databinding <data-binding-name>
Specifies the data binding. (defaults to JAXB)

-wv <wsdl-version>
Specifies the WSDL version. (default is WSDL1.1)

-p <[wsdl-namespace =]package-name>*
Specifies the java package name to use for the generated
code. Optionally specify a WSDL namespace to Java package
name mapping.

-sn <service-name>
Specify he WSDL service name to use for the generated code.
Also, optionally specify the WSDL namespace.

-b <binding-file-name>*
Specify an external jaxws or jaxb binding files. Use one -b
flag for each binding file.

-reserveClass <class-name>*
Reserve a class name to keep the code generator from
generating a class of the given name. In name cases, a
binding file or use of -autoNameResolution flag may be
necessary for the code generator to completely generate
usable code.

-catalog <catalog-file-name>
Specify catalog file to map the imported wsdl/schema.

-d <output-directory>
Specify the directory into which the code is placed.

-compile Specifies that the generated code is compiled by the tool.

-classdir <compile-classes-directory>
Specifies the directory into which compiled class files are
placed.

-impl Specifies that a dummy service implementation is generated.

-server Specifies that server code is generated.

-client Specifies that client code is generated.

-clientjar <jar-file-name>
Package all the client classes and wsdl in a jar file

-all Specifies that interfaces, types , service, server , dummy
impl, client and ant script are generated.

-autoNameResolution
Specifies that the tool will attempt to resolve class
naming conflicts without requiring the use of binding
customizations.

-allowElementReferences|-aer<=true>
allowElementReferences

-defaultValues<=class-name-for-DefaultValueProvider>
Specifies that default values are generated for the dummy
implementation and client. You can specify the name of the
class to provide the default values. The default is
RandomValueProvider.

-ant Specifies that an ant build script is generated for the
project.

-nexclude <schema-namespace [= java-package-name]>*
Specifies a WSDL namespace to exclude when generating code.
This option can be specified multiple times. Optionally
specify the Java package name to use for the WSDL
namespace.

-exsh <(true, false)>
Enables the processing of extended SOAP header message
binding.

-noTypes Turns off generating types

-dns <Default value is true>
Enables loading the default namespace package name mapping.
The default is true.

-dex <(true, false)>
Enable loading the default excludes namespace mapping. The
default is true.

-validate<[=all|basic|none]>
Specifies that the WSDL is validated before generating the
code. Using this option is highly recommended. By default,
only very basic validation is done to make sure the WSDL
meets the WSI-BasicProfile standards that CXF requires.
-validate=none can turn off those checks while -validate or
-validate=all turns on additional schema validation and
other checks.

-keep Specifies that existing code will not be over written.
NOTE: You will have to solve any resulting compilation
problems by yourself

-wsdlLocation <wsdlLocation>
Specifies the value of the @WebServiceClient annotation's
wsdlLocation property.

-xjc<xjc-arguments>*
Specifies a comma separated list of arguments that are
passed directly to XJC when the JAXB data binding is used.
This option causes XJC to load additional plugins that
augment code generation. For example to load the
toString(ts) plugin that will add a toString() method to
all generated types the following <xjc arguments> would be
used: -xjc-Xts A list of available XJC plugins can be
obtained by using -xjc-X.

-asyncMethods<[=method1,method2,...]>*
Specifies a comma separated list of methods that should
have asynchronous version generated in addition to the
normal synchronous versions. If no methods are listed, all
methods are generated with asynchronous versions.

-bareMethods<[=method1,method2,...]>*
Specifies a comma separated list of methods that should not
be unwrapped into individual parameters and instead be left
in their "bare" form.

-mimeMethods<[=method1,method2,...]>*
Specifies a comma separated list of methods where the
mime:content information is used to generate the type.

-noAddressBinding Specifies that the generator should not use the address
jaxb binding file to map wsa:EndpointReferenceType or
wsa:EndpointReference to
javax.xml.ws.wsaddressing.W3CEndpointReference.

-faultSerialVersionUID <fault-serialVersionUID>
Specifies how to generate fault Exception's SUID, can use
NONE|TIMESTAMP|FQCN|####", the default is NONE. FQCN uses a
hash of the fully qualified class name. #### would be any
valid Long to use as the SUID.

-encoding <encoding>
Specifies the charset encoding to use when generating java
sources

-exceptionSuper <exceptionSuper>
Specifies the superclass to use for generated exceptions,
the default is java.lang.Exception.

-mark-generated Adds @Generated annotation in all java files that are
generated.

-h|-?|-help Display detailed information for options.

-version|-v Display the version of the tool.

-verbose|-V Specifies that the generator runs in verbose mode.

-quiet|-q|-Q Specifies that the generator runs in quiet mode.

-wsdlList Indicates the wsdlurl is a plain text list of wsdlurls that
are new line delimited. As an example the wsdlurl might
point to
http://127.0.0.1:8080/context_path/ws?formatted=false&wsdlL
ist=true on a cxf server.

<wsdlurl> wsdl-url


...全文
120 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
C370228492 2013-11-20
  • 打赏
  • 举报
回复
在dos下执行help copy 打印出来的东西如下: 将一份或多份文件复制到另一个位置。 COPY [/D] [/V] [/N] [/Y | /-Y] [/Z] [/L] [/A | /B ] source [/A | /B] [+ source [/A | /B] [+ ...]] [destination [/A | /B]] source 指定要复制的文件。 /A 表示一个 ASCII 文本文件。 /B 表示一个二进位文件。 /D 允许解密要创建的目标文件 destination 为新文件指定目录和/或文件名。 /V 验证新文件写入是否正确。 /N 复制带有非 8dot3 名称的文件时, 尽可能使用短文件名。 /Y 不使用确认是否要覆盖现有目标文件 的提示。 /-Y 使用确认是否要覆盖现有目标文件 的提示。 /Z 用可重新启动模式复制已联网的文件。 /L 如果源是符号链接,请将链接复制 到目标而不是源链接指向的实际文件。 命令行开关 /Y 可以在 COPYCMD 环境变量中预先设定。 这可能会被命令行上的 /-Y 替代。除非 COPY 命令是在一个批处理脚本中执行的,默认值应为 在覆盖时进行提示。 要附加文件,请为目标指定一个文件,为源指定 数个文件(用通配符或 file1+file2+file3 格式)。

67,513

社区成员

发帖
与我相关
我的任务
社区描述
J2EE只是Java企业应用。我们需要一个跨J2SE/WEB/EJB的微容器,保护我们的业务核心组件(中间件),以延续它的生命力,而不是依赖J2SE/J2EE版本。
社区管理员
  • Java EE
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧