sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bdelacre...@apache.org
Subject svn commit: r1651366 - in /sling/trunk/contrib/crankstart/sling-extensions/src/main: java/org/apache/sling/crankstart/extensions/sling/CrankstartInventoryPrinter.java resources/crankstart-header.txt
Date Tue, 13 Jan 2015 14:57:04 GMT
Author: bdelacretaz
Date: Tue Jan 13 14:57:03 2015
New Revision: 1651366

URL: http://svn.apache.org/r1651366
Log:
Adapt to latest crankstart

Modified:
    sling/trunk/contrib/crankstart/sling-extensions/src/main/java/org/apache/sling/crankstart/extensions/sling/CrankstartInventoryPrinter.java
    sling/trunk/contrib/crankstart/sling-extensions/src/main/resources/crankstart-header.txt

Modified: sling/trunk/contrib/crankstart/sling-extensions/src/main/java/org/apache/sling/crankstart/extensions/sling/CrankstartInventoryPrinter.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/crankstart/sling-extensions/src/main/java/org/apache/sling/crankstart/extensions/sling/CrankstartInventoryPrinter.java?rev=1651366&r1=1651365&r2=1651366&view=diff
==============================================================================
--- sling/trunk/contrib/crankstart/sling-extensions/src/main/java/org/apache/sling/crankstart/extensions/sling/CrankstartInventoryPrinter.java
(original)
+++ sling/trunk/contrib/crankstart/sling-extensions/src/main/java/org/apache/sling/crankstart/extensions/sling/CrankstartInventoryPrinter.java
Tue Jan 13 14:57:03 2015
@@ -63,6 +63,7 @@ public class CrankstartInventoryPrinter
 
     private BundleContext bundleContext;
     private static final String INDENT = "  ";
+    private static final String SEPARATOR = "# ----------------------------------------------------------------------------";

     
     @Reference
     private StartLevel startLevel;
@@ -81,7 +82,6 @@ public class CrankstartInventoryPrinter
     public void print(PrintWriter out, Format fmt, boolean isZip) {
         try {
             includeResource(out, "/crankstart-header.txt");
-            header(out, "bundles");
             bundles(out);
             header(out, "configurations");
             configs(out);
@@ -187,6 +187,10 @@ public class CrankstartInventoryPrinter
                 out.println();
                 out.print("# bundles for start level ");
                 out.println(level);
+                out.println(SEPARATOR);
+                out.print("defaults crankstart.bundle.start.level ");
+                out.println(level);
+                out.println();
             }
             count++;
             

Modified: sling/trunk/contrib/crankstart/sling-extensions/src/main/resources/crankstart-header.txt
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/crankstart/sling-extensions/src/main/resources/crankstart-header.txt?rev=1651366&r1=1651365&r2=1651366&view=diff
==============================================================================
--- sling/trunk/contrib/crankstart/sling-extensions/src/main/resources/crankstart-header.txt
(original)
+++ sling/trunk/contrib/crankstart/sling-extensions/src/main/resources/crankstart-header.txt
Tue Jan 13 14:57:03 2015
@@ -12,8 +12,8 @@ defaults felix.http.jetty.version 2.2.0
 
 # TODO adapt this: Bootstrap classpath (variables are not supported here)
 classpath mvn:org.apache.felix/org.apache.felix.framework/4.3.0-R1558704
-classpath mvn:org.apache.sling/org.apache.sling.crankstart.core/0.0.1-SNAPSHOT
-classpath mvn:org.apache.sling/org.apache.sling.crankstart.api/0.0.1-SNAPSHOT
+classpath mvn:org.apache.sling/org.apache.sling.crankstart.core/1.0.0
+classpath mvn:org.apache.sling/org.apache.sling.crankstart.api/1.0.0
 classpath mvn:org.slf4j/slf4j-api/1.7.6
 
 # TODO adapt this: OSGi properties



Mime
View raw message