@Override public boolean isDisabled() { if (super.isDisabled()) { return true; } else if (getModelInternal() != null && getModelInternal().getNamespacesToWSDLs().isEmpty() && getModelInternal().getNamespacesToSchemas().isEmpty()) { debug("AMF module is disabled because there are no endpoint interfaces nor any schema objects."); return true; } return false; }
debug("File %s will not be included on the classpath because it's not a jar.", flexJar); command.append(' ').append(commandPiece); debug("Executing SWC compile for client-side actionscript with the command: %s", command); debug("Creating output directory: " + outputDirectory); outputDirectory.mkdirs(); command.append(' ').append(commandPiece); debug("Executing flex compile for module %s with the command: %s", flexApp.getName(), command);
debug("File %s will not be included on the classpath because it's not a jar.", flexJar); commandLine.set(compileCommandIndex, compilerConfig.getSwcCompileCommand()); commandLine.set(outputFileIndex, swcFile.getAbsolutePath()); debug("Compiling %s for the client-side ActionScript classes...", swcFile.getAbsolutePath()); if (enunciate.isDebug()) { StringBuilder command = new StringBuilder(); command.append(' ').append(commandPiece); debug("Executing SWC compile for client-side actionscript with the command: %s", command); debug("Creating output directory: " + outputDirectory); outputDirectory.mkdirs(); commandLine.set(sourcePathIndex, appSrcDir.getAbsolutePath()); debug("Compiling %s ...", swfFilePath); if (enunciate.isDebug()) { StringBuilder command = new StringBuilder(); command.append(' ').append(commandPiece); debug("Executing flex compile for module %s with the command: %s", flexApp.getName(), command);
debug("Generating the AMF externalizable types and their associated mappers..."); AMFClassnameForMethod amfClassnameForMethod = new AMFClassnameForMethod(packages); model.put("simpleNameFor", new SimpleNameWithParamsMethod(amfClassnameForMethod)); debug("Generating the AMF endpoint beans..."); for (WsdlInfo wsdlInfo : model.getNamespacesToWSDLs().values()) { for (EndpointInterface ei : wsdlInfo.getEndpointInterfaces()) { model.put("as3Aliases", as3Aliases); debug("Generating the ActionScript types..."); for (SchemaInfo schemaInfo : model.getNamespacesToSchemas().values()) { for (TypeDefinition typeDefinition : schemaInfo.getTypeDefinitions()) { debug("Generating the configuration files."); processTemplate(servicesConfigTemplate, model); debug("Merged %s and %s into %s...", servicesConfigXmlToMerge, servicesConfigXML, mergeTarget);