[jboss-jira] [JBoss JIRA] (WFLY-9971) wsprovide && wsconsume scritps don't work on Windows
Jan Blizňák (JIRA)
issues at jboss.org
Wed Mar 14 20:41:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-9971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Blizňák reassigned WFLY-9971:
---------------------------------
Assignee: Jan Blizňák (was: R Searls)
> wsprovide && wsconsume scritps don't work on Windows
> ----------------------------------------------------
>
> Key: WFLY-9971
> URL: https://issues.jboss.org/browse/WFLY-9971
> Project: WildFly
> Issue Type: Bug
> Components: Scripts, Web Services
> Affects Versions: 12.0.0.Final
> Reporter: Marek Kopecký
> Assignee: Jan Blizňák
> Priority: Blocker
>
> *Description of the issue:*
> Wsprovide and wsconsume scripts don't work on Windows. Scripts print jboss-modules help message with any attributes.
> *How reproducible:*
> Always
> *Steps to Reproduce:*
> # wsprovide.bat -h
> # wsconsume.bat -h
> *Actual results:*
> {noformat}
> C:\Users\Administrator\playground\wfly.12\wildfly\bin>wsprovide.bat -h
> Argument expected for option
> Usage: java [-jvmoptions...] -jar jboss-modules.jar [-options...] <module-spec> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar [-options...] -jar <jar-name> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar [-options...] -cp <class-path> <class-name> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar [-options...] -class <class-name> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar -addindex [-modify] <jar-name>
> where <module-spec> is a valid module specification string
> and options include:
> -help Display this message
> -mp, -modulepath <search path of directories>
> A list of directories, separated by ';', where modules may be located
> If not specified, the value of the "module.path" system property is used
> -class Specify that the final argument is a
> class to load from the class path; not compatible with -jar
> -cp,-classpath <search path of archives or directories>
> A search path for class files; implies -class
> -dep,-dependencies <module-spec>[,<module-spec>,...]
> A list of module dependencies to add to the class path;
> requires -class or -cp
> -deptree Print the dependency tree of the given module instead of running it
> -debuglog Enable debug mode output to System.out during bootstrap before any logging manager is installed
> -jar Specify that the final argument is the name of a
> JAR file to run as a module; not compatible with -class
> -jaxpmodule <module-spec>
> The default JAXP implementation to use of the JDK
> -secmgr Run with a security manager installed; not compatible with -secmgrmodule
> -secmgrmodule <module-spec>
> Run with a security manager module; not compatible with -secmgr
> -addindex Specify that the final argument is a
> jar to create an index for
> -modify Modify the indexes jar in-place
> -version Print version and exit
> C:\Users\Administrator\playground\wfly.12\wildfly\bin>wsconsume.bat -h
> Argument expected for option
> Usage: java [-jvmoptions...] -jar jboss-modules.jar [-options...] <module-spec> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar [-options...] -jar <jar-name> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar [-options...] -cp <class-path> <class-name> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar [-options...] -class <class-name> [args...]
> java [-jvmoptions...] -jar jboss-modules.jar -addindex [-modify] <jar-name>
> where <module-spec> is a valid module specification string
> and options include:
> -help Display this message
> -mp, -modulepath <search path of directories>
> A list of directories, separated by ';', where modules may be located
> If not specified, the value of the "module.path" system property is used
> -class Specify that the final argument is a
> class to load from the class path; not compatible with -jar
> -cp,-classpath <search path of archives or directories>
> A search path for class files; implies -class
> -dep,-dependencies <module-spec>[,<module-spec>,...]
> A list of module dependencies to add to the class path;
> requires -class or -cp
> -deptree Print the dependency tree of the given module instead of running it
> -debuglog Enable debug mode output to System.out during bootstrap before any logging manager is installed
> -jar Specify that the final argument is the name of a
> JAR file to run as a module; not compatible with -class
> -jaxpmodule <module-spec>
> The default JAXP implementation to use of the JDK
> -secmgr Run with a security manager installed; not compatible with -secmgrmodule
> -secmgrmodule <module-spec>
> Run with a security manager module; not compatible with -secmgr
> -addindex Specify that the final argument is a
> jar to create an index for
> -modify Modify the indexes jar in-place
> -version Print version and exit
> C:\Users\Administrator\playground\wfly.12\wildfly\bin>
> {noformat}
> *Expected results:*
> {noformat}
> C:\Users\Administrator\playground\7.1.0.CR4\jboss-eap-7.1\bin>wsprovide.bat -h
> WSProvideTask generates portable JAX-WS artifacts for an endpoint implementation.
> usage: wsprovide.bat [options] <endpoint class name>
> options:
> -h, --help Show this help message
> -k, --keep Keep/Generate Java source
> -w, --wsdl Enable WSDL file generation
> -a, --address=<address> The generated port soap:address in wsdl
> -c, --classpath=<path> The classpath that contains the endpoint
> -o, --output=<directory> The directory to put generated artifacts
> -r, --resource=<directory> The directory to put resource artifacts
> -s, --source=<directory> The directory to put Java source
> -e, --extension Enable SOAP 1.2 binding extension
> -q, --quiet Be somewhat more quiet
> -t, --show-traces Show full exception stack traces
> -v, --verbose Show full exception stack traces
> -l, --load-provider Load the provider and exit (debug utility)
> C:\Users\Administrator\playground\7.1.0.CR4\jboss-eap-7.1\bin>wsconsume.bat -h
> WSConsumeTask is a cmd line tool that generates portable JAX-WS artifacts from a WSDL file.
> usage: wsconsume.bat [options] <wsdl-url>
> options:
> -h, --help Show this help message
> -b, --binding=<file> One or more JAX-WS or JAXB binding files
> -k, --keep Keep/Generate Java source
> -c --catalog=<file> Oasis XML Catalog file for entity resolution
> -j --clientjar=<name> Create a jar file of the generated artifacts for calling the webservice
> -p --package=<name> The target package for generated source
> -w --wsdlLocation=<loc> Value to use for @WebService.wsdlLocation
> -o, --output=<directory> The directory to put generated artifacts
> -s, --source=<directory> The directory to put Java source
> -t, --target=<2.1|2.2> The JAX-WS specification target
> -q, --quiet Be somewhat more quiet
> -v, --verbose Show full exception stack traces
> -l, --load-consumer Load the consumer and exit (debug utility)
> -e, --extension Enable SOAP 1.2 binding extension
> -a, --additionalHeaders Enable processing of implicit SOAP headers
> -d --encoding=<charset> The charset encoding to use for generated sources
> -n, --nocompile Do not compile generated sources
> C:\Users\Administrator\playground\7.1.0.CR4\jboss-eap-7.1\bin>
> {noformat}
> *Additional info:*
> cc: [~asoldano], [~jbliznak]
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list