@Override protected void doCompile() throws EnunciateException, IOException { Enunciate enunciate = getEnunciate(); if (isSwcDownloadable() || this.flexApps.size() > 0) { doFlexCompile(); if (this.flexApps.size() > 0) { enunciate.setProperty("flex.app.dir", getSwfCompileDir()); enunciate.addArtifact(new FileArtifact(getName(), "flex.app.dir", getSwfCompileDir())); } } }
@Override protected void doCompile() throws EnunciateException, IOException { Enunciate enunciate = getEnunciate(); if (isSwcDownloadable() || this.flexApps.size() > 0 || isAsSourcesDownloadable()) { doFlexCompile(); if (this.flexApps.size() > 0) { enunciate.addArtifact(new FileArtifact(getName(), "flex.app.dir", getSwfCompileDir())); } } }
File swfCompileDir = getSwfCompileDir(); if ((this.flexApps.size() > 0) && (swfCompileDir != null) && (swfCompileDir.exists())) { File flexAppDir = webappDir;
File outputDirectory = getSwfCompileDir(); debug("Creating output directory: " + outputDirectory); outputDirectory.mkdirs(); processBuilder.directory(getSwfCompileDir()); processBuilder.redirectErrorStream(true); Process process = processBuilder.start();
File outputDirectory = getSwfCompileDir(); debug("Creating output directory: " + outputDirectory); outputDirectory.mkdirs(); processBuilder.directory(getSwfCompileDir()); processBuilder.redirectErrorStream(true); Process process = processBuilder.start();