You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by cd...@apache.org on 2016/11/17 12:37:19 UTC

git commit: [flex-falcon] [refs/heads/develop] - FLEX-35176 - Not able to build FlexJS project when local maven repo is on different disk drive than compiling project

Repository: flex-falcon
Updated Branches:
  refs/heads/develop 9c5dc8e21 -> 5aa512f2b


FLEX-35176 - Not able to build FlexJS project when local maven repo is on different disk drive than compiling project


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

Branch: refs/heads/develop
Commit: 5aa512f2bb0ecb33ca2528eb2c0bd6d2ac1e87b9
Parents: 9c5dc8e
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Thu Nov 17 13:36:49 2016 +0100
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Thu Nov 17 13:37:15 2016 +0100

----------------------------------------------------------------------
 .../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/5aa512f2/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 2d979db..c50bef8 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
@@ -634,7 +634,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements IJSPublisher
             try {
                 resourceJarPath = URLDecoder.decode(resourceJarPath, "UTF-8");
                 if (resourceJarPath.contains(":")) {
-                    resourceJarPath = resourceJarPath.substring(resourceJarPath.lastIndexOf(":") + 1);
+                    resourceJarPath = resourceJarPath.substring(resourceJarPath.indexOf(":") + 1);
                 }
                 if (resourceJarPath.contains("!")) {
                     resourceJarPath = resourceJarPath.substring(0, resourceJarPath.indexOf("!"));