sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r773804 - /incubator/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
Date Tue, 12 May 2009 07:09:30 GMT
Author: fmeschbe
Date: Tue May 12 07:09:30 2009
New Revision: 773804

URL: http://svn.apache.org/viewvc?rev=773804&view=rev
Log:
SLING-963 Apply patch by Stefan Seifert (thanks)

Modified:
    incubator/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java

Modified: incubator/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java?rev=773804&r1=773803&r2=773804&view=diff
==============================================================================
--- incubator/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
(original)
+++ incubator/sling/trunk/maven/maven-sling-plugin/src/main/java/org/apache/sling/maven/bundlesupport/AbstractBundleInstallMojo.java
Tue May 12 07:09:30 2009
@@ -352,7 +352,10 @@
 
         final Entry[] entries = header.getEntries();
         for(final Entry entry : entries) {
-            final String path = entry.getValue();
+            String path = entry.getValue();
+            if ( path != null && !path.endsWith("/") ) {
+                path += "/";
+            }
             // check if we should ignore this
             final String ignoreValue = entry.getDirectiveValue("maven:mount");
             if ( ignoreValue != null && ignoreValue.equalsIgnoreCase("false") ) {



Mime
View raw message