Return-Path: X-Original-To: apmail-camel-commits-archive@www.apache.org Delivered-To: apmail-camel-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D1AEEE796 for ; Wed, 2 Jan 2013 20:06:55 +0000 (UTC) Received: (qmail 11422 invoked by uid 500); 2 Jan 2013 20:06:55 -0000 Delivered-To: apmail-camel-commits-archive@camel.apache.org Received: (qmail 11389 invoked by uid 500); 2 Jan 2013 20:06:55 -0000 Mailing-List: contact commits-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list commits@camel.apache.org Received: (qmail 11382 invoked by uid 99); 2 Jan 2013 20:06:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 20:06:55 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2013 20:06:54 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id EF9A923888D2; Wed, 2 Jan 2013 20:06:34 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1427989 - in /camel/trunk/components/camel-spring-batch: pom.xml src/test/resources/log4j.properties Date: Wed, 02 Jan 2013 20:06:34 -0000 To: commits@camel.apache.org From: bvahdat@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130102200634.EF9A923888D2@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: bvahdat Date: Wed Jan 2 20:06:34 2013 New Revision: 1427989 URL: http://svn.apache.org/viewvc?rev=1427989&view=rev Log: Fixed the tests by camel-spring-batch to log properly (the slf4j static initialization used to fail). Also removed 2 obsolete dependencies from it's pom. Added: camel/trunk/components/camel-spring-batch/src/test/resources/log4j.properties (with props) Modified: camel/trunk/components/camel-spring-batch/pom.xml Modified: camel/trunk/components/camel-spring-batch/pom.xml URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring-batch/pom.xml?rev=1427989&r1=1427988&r2=1427989&view=diff ============================================================================== --- camel/trunk/components/camel-spring-batch/pom.xml (original) +++ camel/trunk/components/camel-spring-batch/pom.xml Wed Jan 2 20:06:34 2013 @@ -47,14 +47,14 @@ - commons-lang - commons-lang - ${commons-lang-version} + org.slf4j + slf4j-log4j12 test - junit - junit + commons-lang + commons-lang + ${commons-lang-version} test @@ -69,11 +69,6 @@ org.apache.camel - camel-core-xml - test - - - org.apache.camel camel-spring test Added: camel/trunk/components/camel-spring-batch/src/test/resources/log4j.properties URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring-batch/src/test/resources/log4j.properties?rev=1427989&view=auto ============================================================================== --- camel/trunk/components/camel-spring-batch/src/test/resources/log4j.properties (added) +++ camel/trunk/components/camel-spring-batch/src/test/resources/log4j.properties Wed Jan 2 20:06:34 2013 @@ -0,0 +1,37 @@ +## ------------------------------------------------------------------------ +## Licensed to the Apache Software Foundation (ASF) under one or more +## contributor license agreements. See the NOTICE file distributed with +## this work for additional information regarding copyright ownership. +## The ASF licenses this file to You under the Apache License, Version 2.0 +## (the "License"); you may not use this file except in compliance with +## the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, software +## distributed under the License is distributed on an "AS IS" BASIS, +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +## See the License for the specific language governing permissions and +## limitations under the License. +## ------------------------------------------------------------------------ + +# +# The logging properties used for testing. +# +log4j.rootLogger=INFO, file + +# uncomment the following line to turn on Camel debugging +#log4j.logger.org.apache.camel=DEBUG + +# CONSOLE appender not used by default +log4j.appender.out=org.apache.log4j.ConsoleAppender +log4j.appender.out.layout=org.apache.log4j.PatternLayout +log4j.appender.out.layout.ConversionPattern=[%30.30t] %-30.30c{1} %-5p %m%n +#log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n + +# File appender +log4j.appender.file=org.apache.log4j.FileAppender +log4j.appender.file.layout=org.apache.log4j.PatternLayout +log4j.appender.file.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n +log4j.appender.file.file=target/camel-spring-ws-test.log +log4j.appender.file.append=true Propchange: camel/trunk/components/camel-spring-batch/src/test/resources/log4j.properties ------------------------------------------------------------------------------ svn:eol-style = native