ace-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ange...@apache.org
Subject svn commit: r1083526 - /incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
Date Sun, 20 Mar 2011 17:58:46 GMT
Author: angelos
Date: Sun Mar 20 17:58:46 2011
New Revision: 1083526

URL: http://svn.apache.org/viewvc?rev=1083526&view=rev
Log:
The ManagementAgent bundle and, consequently, the launcher now set the org.apache.felix.deploymentadmin.stopunaffectedbundle
property by default.

Modified:
    incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java

Modified: incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
URL: http://svn.apache.org/viewvc/incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java?rev=1083526&r1=1083525&r2=1083526&view=diff
==============================================================================
--- incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
(original)
+++ incubator/ace/trunk/ace-managementagent/src/main/java/org/apache/ace/managementagent/Activator.java
Sun Mar 20 17:58:46 2011
@@ -54,6 +54,9 @@ public class Activator extends Dependenc
             configure("org.apache.ace.discovery.property", "serverURL", System.getProperty("discovery",
"http://localhost:8080"));
             configure("org.apache.ace.identification.property", "gatewayID", System.getProperty("identification",
"configuredGatewayID"));
             configure("org.apache.ace.scheduler", "auditlog", System.getProperty("syncinterval",
"2000"), "org.apache.ace.deployment.task.DeploymentUpdateTask", System.getProperty("syncinterval",
"2000"));
+            if (!System.getProperties().containsKey("org.apache.felix.deploymentadmin.stopunaffectedbundle"))
{
+                System.setProperty("org.apache.felix.deploymentadmin.stopunaffectedbundle",
"true");
+            }
             configureFactory("org.apache.ace.gateway.log.factory", "name", "auditlog");
             configureFactory("org.apache.ace.gateway.log.store.factory", "name", "auditlog");
         }



Mime
View raw message