sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jus...@apache.org
Subject svn commit: r933457 - /sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
Date Tue, 13 Apr 2010 01:02:20 GMT
Author: justin
Date: Tue Apr 13 01:02:19 2010
New Revision: 933457

URL: http://svn.apache.org/viewvc?rev=933457&view=rev
Log:
exposing controlHost configuration parameter in launchpad plugin

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

Modified: sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
URL: http://svn.apache.org/viewvc/sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java?rev=933457&r1=933456&r2=933457&view=diff
==============================================================================
--- sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
(original)
+++ sling/trunk/maven/maven-launchpad-plugin/src/main/java/org/apache/sling/maven/projectsupport/StartMojo.java
Tue Apr 13 01:02:19 2010
@@ -38,12 +38,17 @@ public class StartMojo extends AbstractL
     private int controlPort;
 
     /**
+     * @parameter expression="${sling.control.host}"
+     */
+    private String controlHost;
+
+    /**
      * {@inheritDoc}
      */
     @Override
     protected Sling startSling(ResourceProvider resourceProvider, final Map<String, String>
props, Logger logger)
             throws BundleException {
-        new ControlListener(this, getLog(), null, controlPort).listen();
+        new ControlListener(this, getLog(), controlHost, controlPort).listen();
 
         return new Sling(this, logger, resourceProvider, props) {
 



Mime
View raw message