debug("Executing GWTCompile for module '%s'...", moduleName); if (enunciate.isDebug()) { StringBuilder command = new StringBuilder(); command.append(' ').append(commandPiece); debug("Executing GWTCompile for module %s with the command: %s", moduleName, command); debug("No GWT shell script file exists at %s. No artifact added.", shellFile);
command.append(' ').append(commandPiece); debug("Executing GWTCompile for module %s with the command: %s", moduleName, command);
@Override protected void doCompile() throws EnunciateException, IOException { Enunciate enunciate = getEnunciate(); if (this.gwtApps.size() > 0) { doGWTCompile(); enunciate.addArtifact(new FileArtifact(getName(), "gwt.app.dir", getAppGenerateDir())); } if (!enunciate.isUpToDate(getClientSideGenerateDir(), getClientSideCompileDir())) { debug("Compiling the GWT client-side files..."); Collection<String> clientSideFiles = enunciate.getJavaFiles(getClientSideGenerateDir()); String clientClasspath = enunciate.getRuntimeClasspath(); if (!isDisableCompile()) { enunciate.invokeJavac(clientClasspath, "1.5", "1.5", getClientSideCompileDir(), new ArrayList<String>(), clientSideFiles.toArray(new String[clientSideFiles.size()])); } else { info("Compilation of GWT Java sources has been disabled."); } } else { info("Skipping compile of GWT client-side files because everything appears up-to-date..."); } }
debug("Generating the GWT endpoints..."); for (WsdlInfo wsdlInfo : model.getNamespacesToWSDLs().values()) { for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) { debug("Generating the GWT faults..."); for (WebFault webFault : allFaults) { if (!isFacetExcluded(webFault)) { debug("Skipping generating fault for %s because it's in a known GWT module.", webFault.getQualifiedName()); debug("Generating the GWT types..."); for (SchemaInfo schemaInfo : model.getNamespacesToSchemas().values()) { for (TypeDefinition typeDefinition : schemaInfo.getTypeDefinitions()) { debug("Skipping generating GWT type for %s because it's in a known GWT module.", typeDefinition.getQualifiedName()); debug("Generating the GWT json overlay types..."); for (SchemaInfo schemaInfo : model.getNamespacesToSchemas().values()) { for (TypeDefinition typeDefinition : schemaInfo.getTypeDefinitions()) { debug("Generating the GWT endpoint implementations..."); for (WsdlInfo wsdlInfo : model.getNamespacesToWSDLs().values()) { for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) { debug("Generating the GWT type mappers..."); for (SchemaInfo schemaInfo : model.getNamespacesToSchemas().values()) { for (TypeDefinition typeDefinition : schemaInfo.getTypeDefinitions()) { debug("Skipping generation of type mapper for %s because it's a known GWT type.", typeDefinition.getQualifiedName());