1.1 --- a/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java Thu Sep 26 10:43:28 2013 -0700 1.2 +++ b/src/share/jaxws_classes/com/sun/tools/internal/ws/resources/WscompileMessages.java Fri Oct 04 16:21:34 2013 +0100 1.3 @@ -269,6 +269,20 @@ 1.4 return localizer.localize(localizableWSIMPORT_USAGE(arg0)); 1.5 } 1.6 1.7 + public static Localizable localizableWSGEN_USAGE_EXTENSIONS() { 1.8 + return messageFactory.getMessage("wsgen.usage.extensions"); 1.9 + } 1.10 + 1.11 + /** 1.12 + * 1.13 + * Extensions: 1.14 + * -Xnocompile do not compile generated Java files 1.15 + * 1.16 + */ 1.17 + public static String WSGEN_USAGE_EXTENSIONS() { 1.18 + return localizer.localize(localizableWSGEN_USAGE_EXTENSIONS()); 1.19 + } 1.20 + 1.21 public static Localizable localizablePLEASE() { 1.22 return messageFactory.getMessage("Please"); 1.23 } 1.24 @@ -283,6 +297,19 @@ 1.25 return localizer.localize(localizablePLEASE()); 1.26 } 1.27 1.28 + public static Localizable localizableWSCOMPILE_EXISTING_OPTION(Object arg0) { 1.29 + return messageFactory.getMessage("wscompile.existingOption", arg0); 1.30 + } 1.31 + 1.32 + /** 1.33 + * Ignoring already defined option {0} 1.34 + * 1.35 + * 1.36 + */ 1.37 + public static String WSCOMPILE_EXISTING_OPTION(Object arg0) { 1.38 + return localizer.localize(localizableWSCOMPILE_EXISTING_OPTION(arg0)); 1.39 + } 1.40 + 1.41 public static Localizable localizableWSIMPORT_PARSING_WSDL() { 1.42 return messageFactory.getMessage("wsimport.ParsingWSDL"); 1.43 } 1.44 @@ -323,6 +350,8 @@ 1.45 * -B<jaxbOption> Pass this option to JAXB schema compiler 1.46 * -catalog <file> specify catalog file to resolve external entity references 1.47 * supports TR9401, XCatalog, and OASIS XML Catalog format. 1.48 + * -classpath <path> specify where to find user class files and wsimport extensions 1.49 + * -cp <path> specify where to find user class files and wsimport extensions 1.50 * -d <directory> specify where to place generated output files 1.51 * -encoding <encoding> specify character encoding used by source files 1.52 * -extension allow vendor extensions - functionality not specified 1.53 @@ -332,6 +361,7 @@ 1.54 * -help display help 1.55 * -httpproxy:<proxy> set a HTTP proxy. Format is [user[:password]@]proxyHost:proxyPort 1.56 * (port defaults to 8080) 1.57 + * -J<javacOption> pass this option to javac 1.58 * -keep keep generated files 1.59 * -p <pkg> specifies the target package 1.60 * -quiet suppress wsimport output 1.61 @@ -343,7 +373,7 @@ 1.62 * -version print version information 1.63 * -fullversion print full version information 1.64 * -wsdllocation <location> @WebServiceClient.wsdlLocation value 1.65 - * -clientjar <jarfile> Creates the jar file of the generated artifacts along with the 1.66 + * -clientjar <jarfile> creates the jar file of the generated artifacts along with the 1.67 * WSDL metadata required for invoking the web service. 1.68 * -generateJWS generate stubbed JWS implementation file 1.69 * -implDestDir <directory> specify where to generate JWS implementation file 1.70 @@ -656,8 +686,8 @@ 1.71 * Usage: {0} [options] <SEI> 1.72 * 1.73 * where [options] include: 1.74 - * -classpath <path> specify where to find input class files 1.75 - * -cp <path> same as -classpath <path> 1.76 + * -classpath <path> specify where to find input class files and wsgen extensions 1.77 + * -cp <path> specify where to find input class files and wsgen extensions 1.78 * -d <directory> specify where to place generated output files 1.79 * -encoding <encoding> specify character encoding used by source files 1.80 * -extension allow vendor extensions - functionality not specified 1.81 @@ -665,6 +695,7 @@ 1.82 * result in applications that are not portable or 1.83 * may not interoperate with other implementations 1.84 * -help display help 1.85 + * -J<javacOption> pass this option to javac 1.86 * -keep keep generated files 1.87 * -r <directory> resource destination directory, specify where to 1.88 * place resouce files such as WSDLs 1.89 @@ -675,7 +706,7 @@ 1.90 * -wsdl[:protocol] generate a WSDL file. The protocol is optional. 1.91 * Valid protocols are {1}, 1.92 * the default is soap1.1. 1.93 - * The non stanadard protocols {2} 1.94 + * The non standard protocols {2} 1.95 * can only be used in conjunction with the 1.96 * -extension option. 1.97 * -inlineSchemas inline schemas in the generated wsdl. Must be 1.98 @@ -684,6 +715,7 @@ 1.99 * Used in conjunction with the -wsdl option. 1.100 * -portname <name> specify the Port name to use in the generated WSDL 1.101 * Used in conjunction with the -wsdl option. 1.102 + * -x <file> specify External Web Service Metadata xml descriptor 1.103 * 1.104 */ 1.105 public static String WSGEN_HELP(Object arg0, Object arg1, Object arg2) { 1.106 @@ -835,6 +867,18 @@ 1.107 return localizer.localize(localizableWSIMPORT_AUTH_INFO_LINENO(arg0, arg1)); 1.108 } 1.109 1.110 + public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 1.111 + return messageFactory.getMessage("wsgen.servicename.missing.localname", arg0); 1.112 + } 1.113 + 1.114 + /** 1.115 + * The service name "{0}" is missing a localname. 1.116 + * 1.117 + */ 1.118 + public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 1.119 + return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0)); 1.120 + } 1.121 + 1.122 public static Localizable localizableWSGEN_USAGE(Object arg0) { 1.123 return messageFactory.getMessage("wsgen.usage", arg0); 1.124 } 1.125 @@ -849,18 +893,6 @@ 1.126 return localizer.localize(localizableWSGEN_USAGE(arg0)); 1.127 } 1.128 1.129 - public static Localizable localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 1.130 - return messageFactory.getMessage("wsgen.servicename.missing.localname", arg0); 1.131 - } 1.132 - 1.133 - /** 1.134 - * The service name "{0}" is missing a localname. 1.135 - * 1.136 - */ 1.137 - public static String WSGEN_SERVICENAME_MISSING_LOCALNAME(Object arg0) { 1.138 - return localizer.localize(localizableWSGEN_SERVICENAME_MISSING_LOCALNAME(arg0)); 1.139 - } 1.140 - 1.141 public static Localizable localizableWSGEN_SERVICENAME_MISSING_NAMESPACE(Object arg0) { 1.142 return messageFactory.getMessage("wsgen.servicename.missing.namespace", arg0); 1.143 }