You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2009/01/28 21:43:06 UTC

svn commit: r738615 - /camel/trunk/examples/camel-example-pojo-messaging/build.xml

Author: janstey
Date: Wed Jan 28 20:43:05 2009
New Revision: 738615

URL: http://svn.apache.org/viewvc?rev=738615&view=rev
Log:
CAMEL-1259 - Adding Ant build file for example

Added:
    camel/trunk/examples/camel-example-pojo-messaging/build.xml   (with props)

Added: camel/trunk/examples/camel-example-pojo-messaging/build.xml
URL: http://svn.apache.org/viewvc/camel/trunk/examples/camel-example-pojo-messaging/build.xml?rev=738615&view=auto
==============================================================================
--- camel/trunk/examples/camel-example-pojo-messaging/build.xml (added)
+++ camel/trunk/examples/camel-example-pojo-messaging/build.xml Wed Jan 28 20:43:05 2009
@@ -0,0 +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-pojo-messaging" 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-pojo-messaging"/>
+
+  <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/>
+  </target>
+
+</project>

Propchange: camel/trunk/examples/camel-example-pojo-messaging/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native