You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:16:08 UTC

[sling-maven-launchpad-plugin] 31/34: SLING-2207 : Support different properties and bootstrap commands for standalone and webapp

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag maven-launchpad-plugin-2.1.0
in repository https://gitbox.apache.org/repos/asf/sling-maven-launchpad-plugin.git

commit 44145b749ac80d2bebeac24cc7e02267b584dc06
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Sep 6 07:25:55 2011 +0000

    SLING-2207 : Support different properties and bootstrap commands for standalone and webapp
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/maven/maven-launchpad-plugin@1165526 13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java  | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java b/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
index 34270d5..60898d6 100644
--- a/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
+++ b/src/main/java/org/apache/sling/maven/projectsupport/AbstractUsingBundleListMojo.java
@@ -565,6 +565,7 @@ public abstract class AbstractUsingBundleListMojo extends AbstractBundleListMojo
                 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 AbstractUsingBundleListMojo extends AbstractBundleListMojo
         }
         if ( addCmds != null ) {
             final StringBuilder builder = new StringBuilder(this.slingBootstrapCommand);
+            builder.append('\n');
             builder.append(addCmds);
             return builder.toString();
         }

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.