Return-Path: Delivered-To: apmail-activemq-camel-commits-archive@locus.apache.org Received: (qmail 17643 invoked from network); 5 Jul 2008 15:04:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Jul 2008 15:04:16 -0000 Received: (qmail 55936 invoked by uid 500); 5 Jul 2008 15:04:17 -0000 Delivered-To: apmail-activemq-camel-commits-archive@activemq.apache.org Received: (qmail 55916 invoked by uid 500); 5 Jul 2008 15:04:17 -0000 Mailing-List: contact camel-commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: camel-dev@activemq.apache.org Delivered-To: mailing list camel-commits@activemq.apache.org Received: (qmail 55907 invoked by uid 99); 5 Jul 2008 15:04:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Jul 2008 08:04:17 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Sat, 05 Jul 2008 15:03:33 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1955F2388A0C; Sat, 5 Jul 2008 08:03:25 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r674203 - in /activemq/camel/trunk: components/camel-spring/src/main/java/org/apache/camel/spring/ tooling/archetypes/camel-component/ tooling/archetypes/camel-router/ tooling/maven/camel-maven-plugin/ tooling/maven/camel-maven-plugin/src/m... Date: Sat, 05 Jul 2008 15:03:24 -0000 To: camel-commits@activemq.apache.org From: davsclaus@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080705150325.1955F2388A0C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: davsclaus Date: Sat Jul 5 08:03:24 2008 New Revision: 674203 URL: http://svn.apache.org/viewvc?rev=674203&view=rev Log: CAMEL-623: New option fileApplicationContext to support loading spring xml files from the file path instead of classpath only. Added this new option to maven tooling also. Modified: activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java activemq/camel/trunk/tooling/archetypes/camel-component/ (props changed) activemq/camel/trunk/tooling/archetypes/camel-router/ (props changed) activemq/camel/trunk/tooling/maven/camel-maven-plugin/ (props changed) activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/EmbeddedMojo.java activemq/camel/trunk/tooling/maven/camel-maven-plugin/src/main/java/org/apache/camel/maven/RunMojo.java activemq/camel/trunk/tooling/maven/maven-html-to-pdf/ (props changed) Modified: activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java?rev=674203&r1=674202&r2=674203&view=diff ============================================================================== --- activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java (original) +++ activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/Main.java Sat Jul 5 08:03:24 2008 @@ -40,6 +40,7 @@ import org.springframework.context.ApplicationContext; import org.springframework.context.support.AbstractApplicationContext; import org.springframework.context.support.ClassPathXmlApplicationContext; +import org.springframework.context.support.FileSystemXmlApplicationContext; /** * A command line tool for booting up a CamelContext using an optional Spring @@ -50,6 +51,7 @@ public class Main extends ServiceSupport { private static final Log LOG = LogFactory.getLog(Main.class); private String applicationContextUri = "META-INF/spring/*.xml"; + private String fileApplicationContextUri; private AbstractApplicationContext applicationContext; private List