blob: 0e5e9a5788c3a9593cec8088db02f4c6bf0789a9 [file] [log] [blame]
<?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-loan-broker" 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."/>
<fail unless="env.SPRING_HOME" message="You must download Spring 2.5 and set your SPRING_HOME to run this demo."/>
<property name="project.name" value="camel-example-loan-broker"/>
<path id="sample.build.classpath">
<fileset dir="${camel.lib}">
<include name="**/camel-cxf-*.jar"/>
<include name="**/camel-jms-*.jar"/>
<exclude name="**/*-tests.jar"/>
</fileset>
<path refid="camel.spring.classpath"/>
<path refid="spring.classpath"/>
<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="run" depends="build"
description="Compile and run the WebServices version server of loan broker">
<camelrun mainClass="org.apache.camel.loanbroker.webservice.version.LoanBroker" />
</target>
<target name="runWebClient" depends="build"
description="Compile and run the WebServices version client of loan broker">
<camelrun mainClass="org.apache.camel.loanbroker.webservice.version.Client" />
</target>
<target name="runQueueServer" depends="build"
description="Compile and run the queue version server of loan broker">
<camelrun mainClass="org.apache.camel.loanbroker.queue.version.LoanBroker" />
</target>
<target name="runQueueClient" depends="build"
description="Compile and run the queue version client of loan broker">
<camelrun mainClass="org.apache.camel.loanbroker.queue.version.Client" />
</target>
</project>