flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/2] git commit: [flex-falcon] [refs/heads/develop] - handle relative paths to target file
Date Fri, 31 Jul 2015 23:48:39 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop 9852612f8 -> e22e7e14b


handle relative paths to target file


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

Branch: refs/heads/develop
Commit: b3f143cfdf373054ca385488e3247489d6fc49a3
Parents: 9852612
Author: Alex Harui <aharui@apache.org>
Authored: Fri Jul 31 10:27:07 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Jul 31 10:27:07 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b3f143cf/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 975fb8a..6341c3d 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -147,6 +147,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements IJSPublisher
         final String intermediateDirPath = outputFolder.getPath();
         final File intermediateDir = new File(intermediateDirPath);
         File srcDir = new File(configuration.getTargetFile());
+        srcDir = srcDir.getAbsoluteFile();
         srcDir = srcDir.getParentFile();
 
         final String projectName = FilenameUtils.getBaseName(configuration.getTargetFile());


Mime
View raw message