flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joshtynj...@apache.org
Subject [22/50] git commit: [flex-falcon] [refs/heads/master] - fix output file handling
Date Tue, 21 Mar 2017 23:10:59 GMT
fix output file handling


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

Branch: refs/heads/master
Commit: 2e888a947414f912bb60e6673f4a78aacf39891d
Parents: a89c2d7
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jan 27 09:05:27 2017 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jan 27 09:05:27 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2e888a94/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 29943d9..184248d 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
@@ -111,6 +111,8 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements IJSPublisher
         {
             // FB usually specified -output <project-path>/bin-release/app.swf
             if (outputPathParameter.contains(".swf")) {
+            	if (outputParentFolder == null)
+            		outputParentFolder = new File(outputPathParameter);
                 outputParentFolder = outputParentFolder.getParentFile().getParentFile();
             } else {
                 outputParentFolder = new File(outputPathParameter);


Mime
View raw message