Author: rmannibucau Date: Sun Jul 13 09:01:16 2014 New Revision: 1610143 URL: http://svn.apache.org/r1610143 Log: jansi doesn't seem that much used + it needs another jar under windows so making it optional (provided)
Modified: tomee/tomee/trunk/container/openejb-core/pom.xml tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java Modified: tomee/tomee/trunk/container/openejb-core/pom.xml URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/pom.xml?rev=1610143&r1=1610142&r2=1610143&view=diff ============================================================================== --- tomee/tomee/trunk/container/openejb-core/pom.xml (original) +++ tomee/tomee/trunk/container/openejb-core/pom.xml Sun Jul 13 09:01:16 2014 @@ -695,6 +695,7 @@ <groupId>org.fusesource.jansi</groupId> <artifactId>jansi</artifactId> <version>1.8</version> + <scope>provided</scope> </dependency> </dependencies> <profiles> Modified: tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java?rev=1610143&r1=1610142&r2=1610143&view=diff ============================================================================== --- tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java (original) +++ tomee/tomee/trunk/container/openejb-core/src/main/java/org/apache/openejb/util/JuliLogStreamFactory.java Sun Jul 13 09:01:16 2014 @@ -19,7 +19,6 @@ package org.apache.openejb.util; import org.apache.openejb.loader.Options; import org.apache.openejb.loader.SystemInstance; -import org.apache.openejb.log.ConsoleColorHandler; import org.apache.openejb.log.SingleLineFormatter; import org.apache.openejb.util.reflection.Reflections; import org.apache.webbeans.logger.WebBeansLoggerFacade; @@ -55,7 +54,7 @@ public class JuliLogStreamFactory implem if ((!tomee || embedded) && System.getProperty("java.util.logging.manager") == null) { System.setProperty("java.util.logging.manager", OpenEJBLogManager.class.getName()); if (options.get(OPENEJB_LOG_COLOR_PROP, false) && isNotIDE()) { - consoleHandlerClazz = ConsoleColorHandler.class.getName(); + consoleHandlerClazz = org.apache.openejb.log.ConsoleColorHandler.class.getName(); } else { consoleHandlerClazz = OpenEJBSimpleLayoutHandler.class.getName(); }