You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/11/21 05:34:29 UTC
[2/3] git commit: [flex-falcon] [refs/heads/develop] - fix SWC
building. Was not handling include-classes correctly
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/develop
Commit: 685f5f130043f80f44e3cf3aeadb3ba6f741cc93
Parents: 03568ef
Author: Alex Harui <ah...@apache.org>
Authored: Wed Nov 20 12:20:13 2013 -0800
Committer: Alex Harui <ah...@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);