geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r961616 - /geronimo/server/trunk/framework/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/AbstractCarMojo.java
Date Thu, 08 Jul 2010 07:47:03 GMT
Author: xuhaihong
Date: Thu Jul  8 07:47:03 2010
New Revision: 961616

URL: http://svn.apache.org/viewvc?rev=961616&view=rev
Log:
GERONIMO-5400 Set the openejb osgi-friendly logger implementation if it is not set, patch
from Han Hong Fang

Modified:
    geronimo/server/trunk/framework/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/AbstractCarMojo.java

Modified: geronimo/server/trunk/framework/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/AbstractCarMojo.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/AbstractCarMojo.java?rev=961616&r1=961615&r2=961616&view=diff
==============================================================================
--- geronimo/server/trunk/framework/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/AbstractCarMojo.java
(original)
+++ geronimo/server/trunk/framework/buildsupport/car-maven-plugin/src/main/java/org/apache/geronimo/mavenplugins/car/AbstractCarMojo.java
Thu Jul  8 07:47:03 2010
@@ -963,6 +963,10 @@ public abstract class AbstractCarMojo
 //        new org.ops4j.pax.url.mvn.internal.Activator().start(framework.getBundleContext());
         //don't allow mvn urls
         System.setProperty("geronimo.build.car", "true");
+        //Fix JIRA GERONIMO-5400
+        if (null == System.getProperty("openejb.log.factory")) {
+            System.setProperty("openejb.log.factory", "org.apache.openejb.util.PaxLogStreamFactory");
+        }
 
         return framework;
     }



Mime
View raw message