flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - try to handle windows paths
Date Mon, 12 Dec 2016 18:44:21 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop cf76d22eb -> 52eaf4cf3


try to handle windows paths


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/52eaf4cf
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/52eaf4cf
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/52eaf4cf

Branch: refs/heads/develop
Commit: 52eaf4cf3e4af760ae63edfddd85e597950fbee7
Parents: cf76d22
Author: Alex Harui <aharui@apache.org>
Authored: Mon Dec 12 10:44:04 2016 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 12 10:44:04 2016 -0800

----------------------------------------------------------------------
 .../compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/52eaf4cf/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index ba1615f..6656c1e 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -122,7 +122,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements IJSPublisher
             String mainClassFolder = configuration.getTargetFileDirectory();
             if (mainClassFolder.endsWith("src"))
                 outputParentFolder = new File(configuration.getTargetFileDirectory()).getParentFile();
-            else if (mainClassFolder.endsWith("src/main/flex"))
+            else if (mainClassFolder.endsWith("src/main/flex") || mainClassFolder.endsWith("src\\main\\flex"))
                 outputParentFolder = new File(configuration.getTargetFileDirectory()).getParentFile().getParentFile().getParentFile();
             else
                 outputParentFolder = new File(configuration.getTargetFileDirectory());


Mime
View raw message