You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by qu...@apache.org on 2015/06/01 00:19:17 UTC

[35/50] [abbrv] git commit: [flex-utilities] [refs/heads/as3httpclient-work] - - Prevent the extension from doing anything on missing resource bundles.

- Prevent the extension from doing anything on missing resource bundles.


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

Branch: refs/heads/as3httpclient-work
Commit: b43e1677560cb8df42bce5a3626714aa143a59ad
Parents: 957c1e1
Author: Christofer Dutz <ch...@codecentric.de>
Authored: Sat Apr 25 15:39:08 2015 +0200
Committer: Christofer Dutz <ch...@codecentric.de>
Committed: Sat Apr 25 15:39:08 2015 +0200

----------------------------------------------------------------------
 .../flex/utilities/converter/mavenextension/FlexEventSpy.java   | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/b43e1677/mavenizer/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java
----------------------------------------------------------------------
diff --git a/mavenizer/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java b/mavenizer/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java
index 9adf892..27b0ae7 100644
--- a/mavenizer/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java
+++ b/mavenizer/maven-extension/src/main/java/org/apache/flex/utilities/converter/mavenextension/FlexEventSpy.java
@@ -65,11 +65,14 @@ public class FlexEventSpy extends AbstractEventSpy {
                     try {
                         internalLookup = true;
                         Artifact artifact = repositoryEvent.getArtifact();
-                        if (artifact.getGroupId().startsWith("org.apache.flex")) {
+
+                        if (artifact.getGroupId().startsWith("org.apache.flex") &&
+                                !"rb.swc".equals(artifact.getExtension())) {
                             // Output a cool spash-screen ... sorry for that ... couldn't resist :-)
                             if(!flexSplashScreenShown) {
                                 showFlexSplashScreen();
                             }
+
                             if(!canResolve(artifact.getGroupId(), artifact.getArtifactId(), artifact.getVersion(),
                                     artifact.getExtension(), artifact.getClassifier())) {
                                 initFlex(artifact.getVersion());