flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From josebarra...@apache.org
Subject [04/50] git commit: [flex-falcon] [refs/heads/maven] - fix SWC building. Was not handling include-classes correctly
Date Fri, 28 Feb 2014 09:48:01 GMT
fix SWC building.  Was not handling include-classes correctly


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

Branch: refs/heads/maven
Commit: 685f5f130043f80f44e3cf3aeadb3ba6f741cc93
Parents: 03568ef
Author: Alex Harui <aharui@apache.org>
Authored: Wed Nov 20 12:20:13 2013 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Wed Nov 20 12:21:43 2013 -0800

----------------------------------------------------------------------
 .../org/apache/flex/compiler/internal/targets/SWCTarget.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/685f5f13/compiler/src/org/apache/flex/compiler/internal/targets/SWCTarget.java
----------------------------------------------------------------------
diff --git a/compiler/src/org/apache/flex/compiler/internal/targets/SWCTarget.java b/compiler/src/org/apache/flex/compiler/internal/targets/SWCTarget.java
index 17cf971..2c231ba 100644
--- a/compiler/src/org/apache/flex/compiler/internal/targets/SWCTarget.java
+++ b/compiler/src/org/apache/flex/compiler/internal/targets/SWCTarget.java
@@ -772,11 +772,11 @@ public class SWCTarget extends Target implements ISWCTarget
         for (String className : classNames)
         {
             Collection<XMLName> tagNames = flexProject.getTagNamesForClass(className);
-            boolean okToAdd = false;
+            boolean okToAdd = true;
             for (XMLName tagName : tagNames)
             {
-                if (!flexProject.isManifestComponentLookupOnly(tagName))
-                    okToAdd = true;
+                if (flexProject.isManifestComponentLookupOnly(tagName))
+                    okToAdd = false;
             }
             if (okToAdd)
                 compilableClassNames.add(className);


Mime
View raw message