flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - Fixing path issue when running without '-fb' argument.
Date Mon, 04 Aug 2014 09:12:42 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop e209cf3c9 -> 68a73fc46


Fixing path issue when running without '-fb' argument.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: 68a73fc460fe3b0a4d1bad5b39283a715a1025c9
Parents: e209cf3
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Mon Aug 4 11:12:21 2014 +0200
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Mon Aug 4 11:12:21 2014 +0200

----------------------------------------------------------------------
 .../apache/flex/compiler/utils/VF2JSProjectUtils.java   | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/68a73fc4/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSProjectUtils.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSProjectUtils.java b/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSProjectUtils.java
index f7439ed..7a236d7 100644
--- a/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSProjectUtils.java
+++ b/compiler.jx/src/org/apache/flex/compiler/utils/VF2JSProjectUtils.java
@@ -19,16 +19,8 @@ public class VF2JSProjectUtils
         tempDir = Files.createTempDir();
         
         String fileName = projectFilePath.substring(projectFilePath.lastIndexOf(File.separator)
+ 1, projectFilePath.length());
-
-        String path = "";
-        if (!isFlashBuilderProject)
-        {
-            path = projectFilePath + File.separator + "src";
-        }
-        else
-        {
-            path = projectFilePath.substring(0, projectFilePath.lastIndexOf(File.separator));
-        }
+        
+        String path = projectFilePath.substring(0, projectFilePath.lastIndexOf(File.separator));
         
         createTempProjectDir(new File(path).listFiles(), "");
         


Mime
View raw message