flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [01/14] git commit: [flex-sdk] [refs/heads/release4.15.0] - mxmlc accepts not only *.swc but also *.ane files.
Date Thu, 19 Nov 2015 05:36:56 GMT
Repository: flex-sdk
Updated Branches:
  refs/heads/release4.15.0 4e4447913 -> d0740522b


mxmlc accepts not only *.swc but also *.ane files.


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

Branch: refs/heads/release4.15.0
Commit: e69fe8954828442139f4f6f2acbc2ab654063e93
Parents: 61aa360
Author: Andrei Tchijov <andrei@leapingbytes.com>
Authored: Thu Jan 23 12:26:50 2014 +0700
Committer: Andrei Tchijov <andrei@leapingbytes.com>
Committed: Thu Jan 23 12:26:50 2014 +0700

----------------------------------------------------------------------
 modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/e69fe895/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
----------------------------------------------------------------------
diff --git a/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java b/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
index 208cec9..140be96 100644
--- a/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
+++ b/modules/antTasks/src/flex/ant/types/FlexSwcFileSet.java
@@ -33,7 +33,7 @@ public class FlexSwcFileSet extends FlexFileSet
 		super(spec, dirs);
 	}
 
-	// Only accept directories, and *.swc files
+	// Only accept directories, and *.swc and *.ane files
     protected void addFiles(File base, String[] files, Commandline cmdl)
     {
         FileUtils utils = FileUtils.getFileUtils();
@@ -43,7 +43,7 @@ public class FlexSwcFileSet extends FlexFileSet
             File f = utils.resolveFile(base, files[i]);
             String absolutePath = f.getAbsolutePath();
 
-            if( f.isFile() && !absolutePath.endsWith(".swc") )
+            if( f.isFile() && !absolutePath.endsWith(".swc") && !absolutePath.endsWith(".ane")
)
             	continue;
 
             if (spec != null)


Mime
View raw message