Repository: flex-falcon Updated Branches: refs/heads/develop d889f1182 -> 0d72c8ce7
- Removed the clearing of the output directory from the publisher Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/0d72c8ce Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/0d72c8ce Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/0d72c8ce Branch: refs/heads/develop Commit: 0d72c8ce7c7833a299eb34f138c24e34ce89233f Parents: d889f11 Author: Christofer Dutz <[email protected]> Authored: Thu Nov 10 09:48:44 2016 +0100 Committer: Christofer Dutz <[email protected]> Committed: Thu Nov 10 09:48:44 2016 +0100 ---------------------------------------------------------------------- .../apache/flex/compiler/internal/codegen/js/JSPublisher.java | 5 ----- 1 file changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/0d72c8ce/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java ---------------------------------------------------------------------- diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java index eaa8fe8..65b7cb6 100644 --- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java +++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/js/JSPublisher.java @@ -22,7 +22,6 @@ package org.apache.flex.compiler.internal.codegen.js; import java.io.File; import java.io.IOException; -import org.apache.commons.io.FileUtils; import org.apache.commons.io.FilenameUtils; import org.apache.flex.compiler.clients.problems.ProblemQuery; import org.apache.flex.compiler.codegen.js.IJSPublisher; @@ -58,10 +57,6 @@ public class JSPublisher implements IJSPublisher protected void setupOutputFolder() { - if (outputParentFolder.exists()) { - FileUtils.deleteQuietly(outputParentFolder); - } - if (!outputFolder.exists()) { outputFolder.mkdirs(); }
