flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [02/50] [abbrv] git commit: [flex-utilities] [refs/heads/master] - - Fixed a problem occurring on Macs
Date Sun, 21 Sep 2014 20:35:49 GMT
- Fixed a problem occurring on Macs


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

Branch: refs/heads/master
Commit: 4b5f3a77dd66baf694085f55f80dd673ae31b97e
Parents: 001ed0c
Author: Christofer Dutz <christofer.dutz@codecentric.de>
Authored: Fri Aug 15 18:59:12 2014 +0200
Committer: Christofer Dutz <christofer.dutz@codecentric.de>
Committed: Fri Aug 15 18:59:12 2014 +0200

----------------------------------------------------------------------
 .../utilities/converter/deployer/aether/AetherDeployer.java    | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/4b5f3a77/mavenizer/deployers/aether/src/main/java/org/apache/flex/utilities/converter/deployer/aether/AetherDeployer.java
----------------------------------------------------------------------
diff --git a/mavenizer/deployers/aether/src/main/java/org/apache/flex/utilities/converter/deployer/aether/AetherDeployer.java
b/mavenizer/deployers/aether/src/main/java/org/apache/flex/utilities/converter/deployer/aether/AetherDeployer.java
index 40ac8c2..74434f9 100644
--- a/mavenizer/deployers/aether/src/main/java/org/apache/flex/utilities/converter/deployer/aether/AetherDeployer.java
+++ b/mavenizer/deployers/aether/src/main/java/org/apache/flex/utilities/converter/deployer/aether/AetherDeployer.java
@@ -186,6 +186,12 @@ public class AetherDeployer {
             final File artifactFiles[] = artifactDirectory.listFiles(new ArtifactFilter());
             for (final File artifactFile : artifactFiles) {
                 final String fileName = artifactFile.getName();
+
+                // Handle the case that some file might not start with the base-name.
+                if(!fileName.startsWith(artifactBaseName)) {
+                    continue;
+                }
+
                 final String classifier;
                 // This file has a classifier.
                 if (fileName.charAt(artifactBaseName.length()) == '-') {


Mime
View raw message