flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cd...@apache.org
Subject git commit: [flex-utilities] [refs/heads/mavenizer-refactoring] - FLEX-34318 - [Mavenizer] Refactor the Mavenizer in preparation of future mavenized releases of Flex - Fixed a problem with mavenizing SDKs with mobile components, but no experimental_mobil
Date Sat, 24 May 2014 21:59:03 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/mavenizer-refactoring 38514b56b -> ca5c0977c


FLEX-34318 - [Mavenizer] Refactor the Mavenizer in preparation of future mavenized releases
of Flex
- Fixed a problem with mavenizing SDKs with mobile components, but no experimental_mobile


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

Branch: refs/heads/mavenizer-refactoring
Commit: ca5c0977cf4b55758d24a8b7370f39f8647fad28
Parents: 38514b5
Author: Christofer Dutz <christofer.dutz@c-ware.de>
Authored: Sat May 24 23:58:54 2014 +0200
Committer: Christofer Dutz <christofer.dutz@c-ware.de>
Committed: Sat May 24 23:58:54 2014 +0200

----------------------------------------------------------------------
 .../apache/flex/utilities/converter/flex/FlexConverter.java    | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/ca5c0977/mavenizer/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
----------------------------------------------------------------------
diff --git a/mavenizer/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
b/mavenizer/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
index e0a2933..1d0709a 100644
--- a/mavenizer/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
+++ b/mavenizer/converters/flex/src/main/java/org/apache/flex/utilities/converter/flex/FlexConverter.java
@@ -153,8 +153,10 @@ public class FlexConverter extends BaseConverter implements Converter
{
         // add this to the mobile package.
         if("mobile".equals(directory.getName())) {
             final File mobileExperimental = new File(directory.getParent(), "experimental_mobile.swc");
-            final MavenArtifact artifact = resolveArtifact(mobileExperimental, artifactGroupId,
flexSdkVersion);
-            framework.addDependency(artifact);
+            if(mobileExperimental.exists()) {
+                final MavenArtifact artifact = resolveArtifact(mobileExperimental, artifactGroupId,
flexSdkVersion);
+                framework.addDependency(artifact);
+            }
         }
         // Write this artifact to file.
         writeArtifact(framework);


Mime
View raw message