incubator-flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject svn commit: r1420208 - /incubator/flex/utilities/trunk/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java
Date Tue, 11 Dec 2012 15:01:36 GMT
Author: josebarragan
Date: Tue Dec 11 15:01:35 2012
New Revision: 1420208

URL: http://svn.apache.org/viewvc?rev=1420208&view=rev
Log:
[FLEX-33292] Fixed.
https://issues.apache.org/jira/browse/FLEX-33292

It was an extra \" again when obtain an absolutePath from File.

Modified:
    incubator/flex/utilities/trunk/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java

Modified: incubator/flex/utilities/trunk/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java
URL: http://svn.apache.org/viewvc/incubator/flex/utilities/trunk/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java?rev=1420208&r1=1420207&r2=1420208&view=diff
==============================================================================
--- incubator/flex/utilities/trunk/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java
(original)
+++ incubator/flex/utilities/trunk/mavenizer/src/main/java/flex/FlexFrameworkGenerator.java
Tue Dec 11 15:01:35 2012
@@ -37,6 +37,9 @@ import javax.xml.parsers.ParserConfigura
  * User: cdutz
  * Date: 11.05.12
  * Time: 14:55
+ *
+ * @author Christofer Dutz
+ * @author Jose Barragan
  */
 public class FlexFrameworkGenerator extends BaseGenerator {
 
@@ -635,11 +638,10 @@ public class FlexFrameworkGenerator exte
             final File compcLibrary = new File(fdkLibDir, "compc.jar");
             final File frameworkDir = new File(fdkHomeDir, "frameworks");
 
-            cmd.append("java -Xmx384m -Dsun.io.useCanonCaches=false -jar \"");
+            cmd.append("java -Xmx384m -Dsun.io.useCanonCaches=false -jar ");
             cmd.append(compcLibrary.getAbsolutePath());
-            cmd.append("\" +flexlib=\"");
+            cmd.append(" +flexlib=");
             cmd.append(frameworkDir.getAbsolutePath());
-            cmd.append("\"");
 
             // Add all the content files.
             final File contents[] = themeDirectory.listFiles(new FileFilter() {
@@ -654,12 +656,11 @@ public class FlexFrameworkGenerator exte
             }
 
             for(final File resource : contents) {
-                cmd.append(" -include-file ").append(resource.getName()).append(" \"").append(
-                        resource.getAbsolutePath()).append("\"");
+                cmd.append(" -include-file ").append(resource.getName()).append(" ").append(resource.getAbsolutePath());
             }
 
             // Define the output file.
-            cmd.append(" -o \"").append(targetFile.getAbsolutePath()).append("\"");
+            cmd.append(" -o ").append(targetFile.getAbsolutePath());
 
             final File targetDirectory = targetFile.getParentFile();
             if(targetDirectory.exists()) {



Mime
View raw message