You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2008/04/14 18:32:15 UTC
svn commit: r647885 - in /activemq/camel/trunk/examples: ./
camel-example-bam/ camel-example-cxf/ camel-example-docs/
camel-example-etl/ camel-example-jms-file/
camel-example-jms-file/src/main/resources/ camel-example-osgi/
camel-example-osgi/src/main/...
Author: ningjiang
Date: Mon Apr 14 09:32:03 2008
New Revision: 647885
URL: http://svn.apache.org/viewvc?rev=647885&view=rev
Log:
Fixed the svn property issues of the examples
Modified:
activemq/camel/trunk/examples/camel-example-bam/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-cxf/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-docs/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-etl/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-jms-file/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties (contents, props changed)
activemq/camel/trunk/examples/camel-example-osgi/README.txt (contents, props changed)
activemq/camel/trunk/examples/camel-example-osgi/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties (contents, props changed)
activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml (contents, props changed)
activemq/camel/trunk/examples/camel-example-spring/build.xml (contents, props changed)
activemq/camel/trunk/examples/common_build.xml (contents, props changed)
Modified: activemq/camel/trunk/examples/camel-example-bam/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-bam/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-bam/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-bam/build.xml Mon Apr 14 09:32:03 2008
@@ -1,44 +1,44 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-bam" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <fail unless="env.HIBERNATE_CORE_HOME" message="You must download hibernate core and set HIBERNATE_CORE_HOME to run this demo."/>
- <fail unless="env.HIBERNATE_EM_HOME" message="You must download hibernate entity manager and set HIBERNATE_EM_HOME to run this demo."/>
- <fail unless="env.HSQLDB_HOME" message="You must download HSQLDB and set HSQLDB_HOME to run this demo."/>
-
- <property name="project.name" value="camel-example-bam"/>
-
- <path id="sample.build.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-bam-*.jar"/>
- <include name="**/commons-collections-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- <path refid="camel.spring.classpath"/>
- <path refid="hibernate.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun mainClass="org.apache.camel.example.bam.Main"/>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-bam" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <fail unless="env.HIBERNATE_CORE_HOME" message="You must download hibernate core and set HIBERNATE_CORE_HOME to run this demo."/>
+ <fail unless="env.HIBERNATE_EM_HOME" message="You must download hibernate entity manager and set HIBERNATE_EM_HOME to run this demo."/>
+ <fail unless="env.HSQLDB_HOME" message="You must download HSQLDB and set HSQLDB_HOME to run this demo."/>
+
+ <property name="project.name" value="camel-example-bam"/>
+
+ <path id="sample.build.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-bam-*.jar"/>
+ <include name="**/commons-collections-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ <path refid="camel.spring.classpath"/>
+ <path refid="hibernate.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun mainClass="org.apache.camel.example.bam.Main"/>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-bam/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-bam/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-bam/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-cxf/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-cxf/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-cxf/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-cxf/build.xml Mon Apr 14 09:32:03 2008
@@ -1,81 +1,81 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-cxf" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
- <fail unless="env.CXF_HOME" message="You must download CXF and set your CXF_HOME to run this demo."/>
-
- <property name="project.name" value="camel-example-cxf"/>
-
- <path id="sample.build.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-cxf-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- <path refid="camel.core.classpath"/>
- <path refid="activemq.classpath"/>
- <path refid="cxf.classpath"/>
- </path>
-
- <property name="cxf.home" value="${env.CXF_HOME}"/>
- <path id="cxf.classpath">
- <fileset dir="${cxf.home}">
- <include name="**/cxf-*.jar"/>
- </fileset>
- </path>
-
- <target name="generate.code">
- <echo level="info" message="Generating code using wsdl2java..."/>
- <wsdl2java file="hello_world.wsdl"/>
- </target>
-
- <target name="run" depends="generate.code,build"
- description="Compile and run the sample">
- <camelrun mainClass="org.apache.camel.example.cxf.CamelCxfExample"/>
- </target>
-
- <available property="wsdl.dir" value="${build.resources.dir}/wsdl"
- file="${build.resources.dir}/wsdl"/>
- <property name="wsdl.dir" location="."/>
-
- <macrodef name="wsdl2java">
- <attribute name="srcdestdir" default="${build.dir}/generated/src/main/java"/>
- <attribute name="destdir" default="${build.classes.dir}"/>
- <attribute name="file"/>
- <attribute name="dir" default="${wsdl.dir}"/>
- <sequential>
- <mkdir dir="@{destdir}"/>
- <mkdir dir="@{srcdestdir}"/>
- <java failonerror="true" classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="yes">
- <classpath>
- <path refid="cxf.classpath" />
- </classpath>
- <sysproperty key="exitOnFinish" value="true"/>
- <arg value="-verbose"/>
- <arg value="-d"/>
- <arg value="@{srcdestdir}"/>
- <arg value="@{dir}/@{file}"/>
- </java>
- </sequential>
- </macrodef>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-cxf" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
+ <fail unless="env.CXF_HOME" message="You must download CXF and set your CXF_HOME to run this demo."/>
+
+ <property name="project.name" value="camel-example-cxf"/>
+
+ <path id="sample.build.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-cxf-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ <path refid="camel.core.classpath"/>
+ <path refid="activemq.classpath"/>
+ <path refid="cxf.classpath"/>
+ </path>
+
+ <property name="cxf.home" value="${env.CXF_HOME}"/>
+ <path id="cxf.classpath">
+ <fileset dir="${cxf.home}">
+ <include name="**/cxf-*.jar"/>
+ </fileset>
+ </path>
+
+ <target name="generate.code">
+ <echo level="info" message="Generating code using wsdl2java..."/>
+ <wsdl2java file="hello_world.wsdl"/>
+ </target>
+
+ <target name="run" depends="generate.code,build"
+ description="Compile and run the sample">
+ <camelrun mainClass="org.apache.camel.example.cxf.CamelCxfExample"/>
+ </target>
+
+ <available property="wsdl.dir" value="${build.resources.dir}/wsdl"
+ file="${build.resources.dir}/wsdl"/>
+ <property name="wsdl.dir" location="."/>
+
+ <macrodef name="wsdl2java">
+ <attribute name="srcdestdir" default="${build.dir}/generated/src/main/java"/>
+ <attribute name="destdir" default="${build.classes.dir}"/>
+ <attribute name="file"/>
+ <attribute name="dir" default="${wsdl.dir}"/>
+ <sequential>
+ <mkdir dir="@{destdir}"/>
+ <mkdir dir="@{srcdestdir}"/>
+ <java failonerror="true" classname="org.apache.cxf.tools.wsdlto.WSDLToJava" fork="yes">
+ <classpath>
+ <path refid="cxf.classpath" />
+ </classpath>
+ <sysproperty key="exitOnFinish" value="true"/>
+ <arg value="-verbose"/>
+ <arg value="-d"/>
+ <arg value="@{srcdestdir}"/>
+ <arg value="@{dir}/@{file}"/>
+ </java>
+ </sequential>
+ </macrodef>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-cxf/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-cxf/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-cxf/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-docs/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-docs/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-docs/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-docs/build.xml Mon Apr 14 09:32:03 2008
@@ -1,41 +1,41 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-docs" default="camel.dot" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <property name="project.name" value="camel-example-docs"/>
-
- <path id="sample.build.classpath">
- <path refid="camel.spring.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun>
- <arguments>
- <arg value="-duration"/>
- <arg value="2s"/>
- <arg value="-o"/>
- <arg value="${cameldoc.dir}"/>
- </arguments>
- </camelrun>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-docs" default="camel.dot" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <property name="project.name" value="camel-example-docs"/>
+
+ <path id="sample.build.classpath">
+ <path refid="camel.spring.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun>
+ <arguments>
+ <arg value="-duration"/>
+ <arg value="2s"/>
+ <arg value="-o"/>
+ <arg value="${cameldoc.dir}"/>
+ </arguments>
+ </camelrun>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-docs/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-docs/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-docs/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-etl/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-etl/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-etl/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-etl/build.xml Mon Apr 14 09:32:03 2008
@@ -1,52 +1,52 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-etl" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <fail unless="env.HIBERNATE_CORE_HOME" message="You must download hibernate core and set HIBERNATE_CORE_HOME to run this demo."/>
- <fail unless="env.HIBERNATE_EM_HOME" message="You must download hibernate entity manager and set HIBERNATE_EM_HOME to run this demo."/>
- <fail unless="env.HSQLDB_HOME" message="You must download HSQLDB and set HSQLDB_HOME to run this demo."/>
- <fail unless="env.JUEL_HOME" message="You must download Juel and set JUEL_HOME to run this demo."/>
-
- <property name="project.name" value="camel-example-etl"/>
-
- <property name="juel.home" value="${env.JUEL_HOME}"/>
-
- <path id="sample.build.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-juel-*.jar"/>
- <include name="**/camel-jpa-*.jar"/>
- <include name="**/camel-jaxb-*.jar"/>
- <include name="**/commons-collections-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- <fileset dir="${juel.home}">
- <include name="**/juel-*.jar"/>
- </fileset>
- <path refid="camel.spring.classpath"/>
- <path refid="hibernate.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun mainClass="org.apache.camel.example.etl.Main"/>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-etl" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <fail unless="env.HIBERNATE_CORE_HOME" message="You must download hibernate core and set HIBERNATE_CORE_HOME to run this demo."/>
+ <fail unless="env.HIBERNATE_EM_HOME" message="You must download hibernate entity manager and set HIBERNATE_EM_HOME to run this demo."/>
+ <fail unless="env.HSQLDB_HOME" message="You must download HSQLDB and set HSQLDB_HOME to run this demo."/>
+ <fail unless="env.JUEL_HOME" message="You must download Juel and set JUEL_HOME to run this demo."/>
+
+ <property name="project.name" value="camel-example-etl"/>
+
+ <property name="juel.home" value="${env.JUEL_HOME}"/>
+
+ <path id="sample.build.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-juel-*.jar"/>
+ <include name="**/camel-jpa-*.jar"/>
+ <include name="**/camel-jaxb-*.jar"/>
+ <include name="**/commons-collections-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ <fileset dir="${juel.home}">
+ <include name="**/juel-*.jar"/>
+ </fileset>
+ <path refid="camel.spring.classpath"/>
+ <path refid="hibernate.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun mainClass="org.apache.camel.example.etl.Main"/>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-etl/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-etl/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-etl/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-jms-file/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/build.xml Mon Apr 14 09:32:03 2008
@@ -1,41 +1,41 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-jms-file" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
-
- <property name="project.name" value="camel-example-jms-file"/>
-
- <path id="sample.build.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-jms-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- <path refid="camel.core.classpath"/>
- <path refid="activemq.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun mainClass="org.apache.camel.example.jmstofile.CamelJmsToFileExample"/>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-jms-file" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
+
+ <property name="project.name" value="camel-example-jms-file"/>
+
+ <path id="sample.build.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-jms-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ <path refid="camel.core.classpath"/>
+ <path refid="activemq.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun mainClass="org.apache.camel.example.jmstofile.CamelJmsToFileExample"/>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-jms-file/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-jms-file/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-jms-file/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties (original)
+++ activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties Mon Apr 14 09:32:03 2008
@@ -1,38 +1,38 @@
-## ------------------------------------------------------------------------
-## 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 eclipse testing, We want to see INFO output on the console.
-#
-log4j.rootLogger=INFO, out
-
-#log4j.logger.org.apache.activemq=DEBUG
-
-# uncomment the next line to debug Camel
-log4j.logger.org.apache.camel=DEBUG
-
-log4j.logger.org.apache.camel.impl.converter=INFO
-log4j.logger.org.apache.camel.util.ResolverUtil=INFO
-
-log4j.logger.org.springframework=WARN
-log4j.logger.org.hibernate=WARN
-
-# 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
+## ------------------------------------------------------------------------
+## 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 eclipse testing, We want to see INFO output on the console.
+#
+log4j.rootLogger=INFO, out
+
+#log4j.logger.org.apache.activemq=DEBUG
+
+# uncomment the next line to debug Camel
+log4j.logger.org.apache.camel=DEBUG
+
+log4j.logger.org.apache.camel.impl.converter=INFO
+log4j.logger.org.apache.camel.util.ResolverUtil=INFO
+
+log4j.logger.org.springframework=WARN
+log4j.logger.org.hibernate=WARN
+
+# 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
Propchange: activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-jms-file/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: activemq/camel/trunk/examples/camel-example-osgi/README.txt
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-osgi/README.txt?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-osgi/README.txt (original)
+++ activemq/camel/trunk/examples/camel-example-osgi/README.txt Mon Apr 14 09:32:03 2008
@@ -1,21 +1,21 @@
-OSGi Example
-=====================
-
-This example shows how use OSGi with Camel. It can be run using Maven or
-Ant.
-
-To run the example using Maven type
- mvn camel:run
-
-To run the example using Ant type
- ant
-
-If you hit any problems please let us know on the Camel Forums
- http://activemq.apache.org/camel/discussion-forums.html
-
-Please help us make Apache Camel better - we appreciate any feedback you
-may have. Enjoy!
-
-------------------------
-The Camel riders!
-
+OSGi Example
+=====================
+
+This example shows how use OSGi with Camel. It can be run using Maven or
+Ant.
+
+To run the example using Maven type
+ mvn camel:run
+
+To run the example using Ant type
+ ant
+
+If you hit any problems please let us know on the Camel Forums
+ http://activemq.apache.org/camel/discussion-forums.html
+
+Please help us make Apache Camel better - we appreciate any feedback you
+may have. Enjoy!
+
+------------------------
+The Camel riders!
+
Propchange: activemq/camel/trunk/examples/camel-example-osgi/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-osgi/README.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: activemq/camel/trunk/examples/camel-example-osgi/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-osgi/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-osgi/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-osgi/build.xml Mon Apr 14 09:32:03 2008
@@ -1,41 +1,41 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-osgi" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <property name="project.name" value="camel-example-osgi"/>
-
- <path id="sample.build.classpath">
- <path refid="camel.spring.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun>
- <arguments>
- <arg value="-duration"/>
- <arg value="8s"/>
- <arg value="-o"/>
- <arg value="${cameldoc.dir}"/>
- </arguments>
- </camelrun>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-osgi" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <property name="project.name" value="camel-example-osgi"/>
+
+ <path id="sample.build.classpath">
+ <path refid="camel.spring.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun>
+ <arguments>
+ <arg value="-duration"/>
+ <arg value="8s"/>
+ <arg value="-o"/>
+ <arg value="${cameldoc.dir}"/>
+ </arguments>
+ </camelrun>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-osgi/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-osgi/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-osgi/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties (original)
+++ activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties Mon Apr 14 09:32:03 2008
@@ -1,38 +1,38 @@
-## ------------------------------------------------------------------------
-## 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 eclipse testing, We want to see INFO output on the console.
-#
-log4j.rootLogger=INFO, out
-
-#log4j.logger.org.apache.activemq=DEBUG
-
-# uncomment the next line to debug Camel
-log4j.logger.org.apache.camel=DEBUG
-
-log4j.logger.org.apache.camel.impl.converter=INFO
-log4j.logger.org.apache.camel.util.ResolverUtil=INFO
-
-log4j.logger.org.springframework=WARN
-log4j.logger.org.hibernate=WARN
-
-# 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
+## ------------------------------------------------------------------------
+## 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 eclipse testing, We want to see INFO output on the console.
+#
+log4j.rootLogger=INFO, out
+
+#log4j.logger.org.apache.activemq=DEBUG
+
+# uncomment the next line to debug Camel
+log4j.logger.org.apache.camel=DEBUG
+
+log4j.logger.org.apache.camel.impl.converter=INFO
+log4j.logger.org.apache.camel.util.ResolverUtil=INFO
+
+log4j.logger.org.springframework=WARN
+log4j.logger.org.hibernate=WARN
+
+# 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
Propchange: activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-osgi/src/main/resources/log4j.properties
------------------------------------------------------------------------------
svn:mime-type = text/plain
Modified: activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml Mon Apr 14 09:32:03 2008
@@ -1,54 +1,54 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-spring-xquery" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
- <fail unless="env.SAXON_HOME" message="You must download Saxon and set your SAXON_HOME to run this demo."/>
-
- <property name="project.name" value="camel-example-spring-xquery"/>
-
- <property name="saxon.home" value="${env.SAXON_HOME}"/>
-
- <path id="sample.build.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-saxon-*.jar"/>
- <include name="**/camel-jms-*.jar"/>
- </fileset>
- <fileset dir="${saxon.home}">
- <include name="**/saxon*.jar"/>
- </fileset>
- <path refid="camel.spring.classpath"/>
- <path refid="activemq.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun>
- <arguments>
- <arg value="-duration"/>
- <arg value="2s"/>
- <arg value="-o"/>
- <arg value="${cameldoc.dir}"/>
- </arguments>
- </camelrun>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-spring-xquery" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
+ <fail unless="env.SAXON_HOME" message="You must download Saxon and set your SAXON_HOME to run this demo."/>
+
+ <property name="project.name" value="camel-example-spring-xquery"/>
+
+ <property name="saxon.home" value="${env.SAXON_HOME}"/>
+
+ <path id="sample.build.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-saxon-*.jar"/>
+ <include name="**/camel-jms-*.jar"/>
+ </fileset>
+ <fileset dir="${saxon.home}">
+ <include name="**/saxon*.jar"/>
+ </fileset>
+ <path refid="camel.spring.classpath"/>
+ <path refid="activemq.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun>
+ <arguments>
+ <arg value="-duration"/>
+ <arg value="2s"/>
+ <arg value="-o"/>
+ <arg value="${cameldoc.dir}"/>
+ </arguments>
+ </camelrun>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-spring-xquery/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/camel-example-spring/build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/camel-example-spring/build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/camel-example-spring/build.xml (original)
+++ activemq/camel/trunk/examples/camel-example-spring/build.xml Mon Apr 14 09:32:03 2008
@@ -1,48 +1,48 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel-example-spring" default="run" basedir=".">
-
- <import file="../common_build.xml"/>
-
- <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
-
- <property name="project.name" value="camel-example-spring"/>
-
- <path id="sample.build.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-jms-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- <path refid="camel.spring.classpath"/>
- <path refid="activemq.classpath"/>
- </path>
-
- <target name="run" depends="build" description="Compile and run the sample">
- <camelrun>
- <arguments>
- <arg value="-duration"/>
- <arg value="2s"/>
- <arg value="-o"/>
- <arg value="${cameldoc.dir}"/>
- </arguments>
- </camelrun>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel-example-spring" default="run" basedir=".">
+
+ <import file="../common_build.xml"/>
+
+ <fail unless="env.ACTIVEMQ_HOME" message="You must download ActiveMQ and set your ACTIVEMQ_HOME to run this demo."/>
+
+ <property name="project.name" value="camel-example-spring"/>
+
+ <path id="sample.build.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-jms-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ <path refid="camel.spring.classpath"/>
+ <path refid="activemq.classpath"/>
+ </path>
+
+ <target name="run" depends="build" description="Compile and run the sample">
+ <camelrun>
+ <arguments>
+ <arg value="-duration"/>
+ <arg value="2s"/>
+ <arg value="-o"/>
+ <arg value="${cameldoc.dir}"/>
+ </arguments>
+ </camelrun>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/camel-example-spring/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/camel-example-spring/build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/camel-example-spring/build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml
Modified: activemq/camel/trunk/examples/common_build.xml
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/examples/common_build.xml?rev=647885&r1=647884&r2=647885&view=diff
==============================================================================
--- activemq/camel/trunk/examples/common_build.xml (original)
+++ activemq/camel/trunk/examples/common_build.xml Mon Apr 14 09:32:03 2008
@@ -1,203 +1,203 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<!--
- 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.
--->
-
-<project name="camel common build file" default="build.classes">
-
- <property environment="env"/>
- <property name="build.dir" location="${basedir}/target"/>
- <property name="build.classes.dir" location="${build.dir}/classes"/>
- <property name="build.test.classes.dir" location="${build.dir}/test-classes"/>
- <property name="cameldoc.dir" location="${build.dir}/site/cameldoc"/>
-
- <property name="build.src.dir" location="${basedir}/src/main/java"/>
- <property name="build.test.dir" location="${basedir}/src/test/java"/>
- <property name="build.resources.dir" location="${basedir}/src/main/resources"/>
-
- <property name="camel.lib" location="../../lib"/>
-
- <property name="activemq.home" value="${env.ACTIVEMQ_HOME}"/>
- <property name="hibernate.core.home" value="${env.HIBERNATE_CORE_HOME}"/>
- <property name="hibernate.entitymanager.home" value="${env.HIBERNATE_EM_HOME}"/>
- <property name="hsqldb.home" value="${env.HSQLDB_HOME}"/>
-
- <condition property="build.src">
- <available file="${build.src.dir}"/>
- </condition>
-
- <condition property="build.test">
- <and>
- <available file="${build.test.dir}"/>
- <available classname="junit.framework.TestCase"/>
- </and>
- </condition>
-
- <mkdir dir="${build.dir}"/>
-
- <!-- Define some classpaths used by the different samples. -->
-
- <path id="activemq.classpath">
- <fileset dir="${activemq.home}/lib">
- <include name="**/geronimo-j2ee-management_*_spec-*.jar"/>
- <include name="**/geronimo-jms_*_spec-*.jar"/>
- <include name="**/activemq-core-*.jar"/>
- <include name="**/backport-util-concurrent-*.jar"/>
- </fileset>
- </path>
-
- <path id="hibernate.classpath">
- <fileset dir="${hibernate.core.home}">
- <include name="**/hibernate*.jar"/>
- <include name="**/antlr-*.jar"/>
- <include name="**/asm*.jar"/>
- <include name="**/cglib-*.jar"/>
- <include name="**/dom4j-*.jar"/>
- <include name="**/javassist*.jar"/>
- <include name="**/jta.jar"/>
- </fileset>
- <fileset dir="${hibernate.entitymanager.home}">
- <include name="**/hibernate-*.jar"/>
- <include name="**/jboss-archive-browsing*.jar"/>
- <include name="**/*persistence.jar"/>
- </fileset>
- <fileset dir="${hsqldb.home}">
- <include name="**/hsqldb.jar"/>
- </fileset>
- </path>
-
- <path id="log4j.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/log4j-*.jar"/>
- </fileset>
- </path>
-
- <path id="camel.core.classpath">
- <fileset dir="${camel.lib}">
- <include name="**/camel-core-*.jar"/>
- <include name="**/commons-logging-*.jar"/>
- <include name="**/jaxb-api-*.jar"/>
- <include name="**/spring-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- </path>
-
- <path id="camel.spring.classpath">
- <path refid="camel.core.classpath"/>
- <fileset dir="${camel.lib}">
- <include name="**/camel-spring-*.jar"/>
- <include name="**/activation-*.jar"/>
- <include name="**/jaxb-impl-*.jar"/>
- <include name="**/stax-api-*.jar"/>
- <exclude name="**/*-tests.jar"/>
- </fileset>
- </path>
-
- <target name="build.classes" if="build.src">
- <mkdir dir="${build.classes.dir}"/>
-
- <javac destdir="${build.classes.dir}" debug="true">
- <src path="${build.src.dir}"/>
- <src path="${build.dir}"/>
- <classpath>
- <path refid="sample.build.classpath"/>
- </classpath>
- </javac>
-
- <copy todir="${build.classes.dir}">
- <fileset dir="${build.resources.dir}" includes="**/*"/>
- </copy>
- </target>
-
- <target name="build.test" if="build.test">
- <mkdir dir="${build.test.classes.dir}"/>
-
- <javac destdir="${build.test.classes.dir}" debug="true">
- <src path="${build.test.dir}"/>
- <classpath>
- <path refid="sample.build.classpath"/>
- </classpath>
- </javac>
- </target>
-
- <target name="build" depends="build.classes,build.test"/>
-
- <macrodef name="camelrun">
- <attribute name="mainClass" default="org.apache.camel.spring.Main"/>
- <element name="arguments" optional="true"/>
- <sequential>
- <path id="sample.run.classpath">
- <pathelement location="${build.classes.dir}"/>
- <path refid="sample.build.classpath"/>
- <path refid="log4j.classpath"/>
- </path>
- <!--
- <property name="sampleclasspath" refid="sample.run.classpath"/>
- <echo message="running with classpath: ${sampleclasspath}"/>
- -->
-
- <java classname="@{mainClass}"
- fork="true"
- failonerror="true">
- <classpath refid="sample.run.classpath"/>
- <arguments/>
- <sysproperty key="java.util.logging.config.file" value="${build.classes.dir}/logging.properties"/>
- </java>
-
- <condition property="has.cameldoc">
- <available file="${cameldoc.dir}"/>
- </condition>
- </sequential>
- </macrodef>
-
- <condition property="shell.suffix" value=".exe">
- <os family="windows"/>
- </condition>
- <property name="shell.suffix" value=""/>
-
- <!-- This macro assumes the dot executable is on your path. -->
- <macrodef name="cameldot">
- <attribute name="dotFileDir" default="${cameldoc.dir}"/>
- <attribute name="outputType" default="svg"/>
- <sequential>
- <apply executable="dot${shell.suffix}">
- <arg value="-T@{outputType}"/>
- <arg value="-O"/>
- <fileset dir="@{dotFileDir}">
- <patternset>
- <include name="**/*.dot"/>
- </patternset>
- </fileset>
- </apply>
- </sequential>
- </macrodef>
-
- <target name="camel.dot" depends="run" if="has.cameldoc"
- description="Output visualization">
- <cameldot outputType="svg"/>
- <!--
- <cameldot outputType="cmapx"/>
- -->
- </target>
-
- <target name="clean">
- <delete dir="${build.test.classes.dir}"/>
- <delete dir="${build.classes.dir}"/>
- <delete dir="${build.dir}"/>
- </target>
-
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ 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.
+-->
+
+<project name="camel common build file" default="build.classes">
+
+ <property environment="env"/>
+ <property name="build.dir" location="${basedir}/target"/>
+ <property name="build.classes.dir" location="${build.dir}/classes"/>
+ <property name="build.test.classes.dir" location="${build.dir}/test-classes"/>
+ <property name="cameldoc.dir" location="${build.dir}/site/cameldoc"/>
+
+ <property name="build.src.dir" location="${basedir}/src/main/java"/>
+ <property name="build.test.dir" location="${basedir}/src/test/java"/>
+ <property name="build.resources.dir" location="${basedir}/src/main/resources"/>
+
+ <property name="camel.lib" location="../../lib"/>
+
+ <property name="activemq.home" value="${env.ACTIVEMQ_HOME}"/>
+ <property name="hibernate.core.home" value="${env.HIBERNATE_CORE_HOME}"/>
+ <property name="hibernate.entitymanager.home" value="${env.HIBERNATE_EM_HOME}"/>
+ <property name="hsqldb.home" value="${env.HSQLDB_HOME}"/>
+
+ <condition property="build.src">
+ <available file="${build.src.dir}"/>
+ </condition>
+
+ <condition property="build.test">
+ <and>
+ <available file="${build.test.dir}"/>
+ <available classname="junit.framework.TestCase"/>
+ </and>
+ </condition>
+
+ <mkdir dir="${build.dir}"/>
+
+ <!-- Define some classpaths used by the different samples. -->
+
+ <path id="activemq.classpath">
+ <fileset dir="${activemq.home}/lib">
+ <include name="**/geronimo-j2ee-management_*_spec-*.jar"/>
+ <include name="**/geronimo-jms_*_spec-*.jar"/>
+ <include name="**/activemq-core-*.jar"/>
+ <include name="**/backport-util-concurrent-*.jar"/>
+ </fileset>
+ </path>
+
+ <path id="hibernate.classpath">
+ <fileset dir="${hibernate.core.home}">
+ <include name="**/hibernate*.jar"/>
+ <include name="**/antlr-*.jar"/>
+ <include name="**/asm*.jar"/>
+ <include name="**/cglib-*.jar"/>
+ <include name="**/dom4j-*.jar"/>
+ <include name="**/javassist*.jar"/>
+ <include name="**/jta.jar"/>
+ </fileset>
+ <fileset dir="${hibernate.entitymanager.home}">
+ <include name="**/hibernate-*.jar"/>
+ <include name="**/jboss-archive-browsing*.jar"/>
+ <include name="**/*persistence.jar"/>
+ </fileset>
+ <fileset dir="${hsqldb.home}">
+ <include name="**/hsqldb.jar"/>
+ </fileset>
+ </path>
+
+ <path id="log4j.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/log4j-*.jar"/>
+ </fileset>
+ </path>
+
+ <path id="camel.core.classpath">
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-core-*.jar"/>
+ <include name="**/commons-logging-*.jar"/>
+ <include name="**/jaxb-api-*.jar"/>
+ <include name="**/spring-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ </path>
+
+ <path id="camel.spring.classpath">
+ <path refid="camel.core.classpath"/>
+ <fileset dir="${camel.lib}">
+ <include name="**/camel-spring-*.jar"/>
+ <include name="**/activation-*.jar"/>
+ <include name="**/jaxb-impl-*.jar"/>
+ <include name="**/stax-api-*.jar"/>
+ <exclude name="**/*-tests.jar"/>
+ </fileset>
+ </path>
+
+ <target name="build.classes" if="build.src">
+ <mkdir dir="${build.classes.dir}"/>
+
+ <javac destdir="${build.classes.dir}" debug="true">
+ <src path="${build.src.dir}"/>
+ <src path="${build.dir}"/>
+ <classpath>
+ <path refid="sample.build.classpath"/>
+ </classpath>
+ </javac>
+
+ <copy todir="${build.classes.dir}">
+ <fileset dir="${build.resources.dir}" includes="**/*"/>
+ </copy>
+ </target>
+
+ <target name="build.test" if="build.test">
+ <mkdir dir="${build.test.classes.dir}"/>
+
+ <javac destdir="${build.test.classes.dir}" debug="true">
+ <src path="${build.test.dir}"/>
+ <classpath>
+ <path refid="sample.build.classpath"/>
+ </classpath>
+ </javac>
+ </target>
+
+ <target name="build" depends="build.classes,build.test"/>
+
+ <macrodef name="camelrun">
+ <attribute name="mainClass" default="org.apache.camel.spring.Main"/>
+ <element name="arguments" optional="true"/>
+ <sequential>
+ <path id="sample.run.classpath">
+ <pathelement location="${build.classes.dir}"/>
+ <path refid="sample.build.classpath"/>
+ <path refid="log4j.classpath"/>
+ </path>
+ <!--
+ <property name="sampleclasspath" refid="sample.run.classpath"/>
+ <echo message="running with classpath: ${sampleclasspath}"/>
+ -->
+
+ <java classname="@{mainClass}"
+ fork="true"
+ failonerror="true">
+ <classpath refid="sample.run.classpath"/>
+ <arguments/>
+ <sysproperty key="java.util.logging.config.file" value="${build.classes.dir}/logging.properties"/>
+ </java>
+
+ <condition property="has.cameldoc">
+ <available file="${cameldoc.dir}"/>
+ </condition>
+ </sequential>
+ </macrodef>
+
+ <condition property="shell.suffix" value=".exe">
+ <os family="windows"/>
+ </condition>
+ <property name="shell.suffix" value=""/>
+
+ <!-- This macro assumes the dot executable is on your path. -->
+ <macrodef name="cameldot">
+ <attribute name="dotFileDir" default="${cameldoc.dir}"/>
+ <attribute name="outputType" default="svg"/>
+ <sequential>
+ <apply executable="dot${shell.suffix}">
+ <arg value="-T@{outputType}"/>
+ <arg value="-O"/>
+ <fileset dir="@{dotFileDir}">
+ <patternset>
+ <include name="**/*.dot"/>
+ </patternset>
+ </fileset>
+ </apply>
+ </sequential>
+ </macrodef>
+
+ <target name="camel.dot" depends="run" if="has.cameldoc"
+ description="Output visualization">
+ <cameldot outputType="svg"/>
+ <!--
+ <cameldot outputType="cmapx"/>
+ -->
+ </target>
+
+ <target name="clean">
+ <delete dir="${build.test.classes.dir}"/>
+ <delete dir="${build.classes.dir}"/>
+ <delete dir="${build.dir}"/>
+ </target>
+
+</project>
Propchange: activemq/camel/trunk/examples/common_build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: activemq/camel/trunk/examples/common_build.xml
------------------------------------------------------------------------------
svn:keywords = Rev Date
Propchange: activemq/camel/trunk/examples/common_build.xml
------------------------------------------------------------------------------
svn:mime-type = text/xml