incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r1165526 - /sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
Date Tue, 06 Sep 2011 07:25:55 GMT
Author: cziegeler
Date: Tue Sep  6 07:25:55 2011
New Revision: 1165526

URL: http://svn.apache.org/viewvc?rev=1165526&view=rev
Log:
SLING-2207 : Support different properties and bootstrap commands for standalone and webapp

Modified:
    sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java

Modified: sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java?rev=1165526&r1=1165525&r2=1165526&view=diff
==============================================================================
--- sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
(original)
+++ sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
Tue Sep  6 07:25:55 2011
@@ -565,6 +565,7 @@ public abstract class AbstractUsingBundl
                 while ( (l = reader.read(buffer, 0, buffer.length) ) != -1 ) {
                     sb.append(buffer, 0, l);
                 }
+                sb.append('\n');
                 if ( mode == 0 ) {
                     this.slingBootstrapCommand = sb.toString();
                 } else if ( mode == 1 ) {
@@ -603,6 +604,7 @@ public abstract class AbstractUsingBundl
         }
         if ( addCmds != null ) {
             final StringBuilder builder = new StringBuilder(this.slingBootstrapCommand);
+            builder.append('\n');
             builder.append(addCmds);
             return builder.toString();
         }



Mime
View raw message