summaryrefslogtreecommitdiffstats
path: root/cpp/sca/samples/RestYahoo/build.xml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpp/sca/samples/RestYahoo/build.xml96
1 files changed, 0 insertions, 96 deletions
diff --git a/cpp/sca/samples/RestYahoo/build.xml b/cpp/sca/samples/RestYahoo/build.xml
deleted file mode 100644
index 2e9e3b5f26..0000000000
--- a/cpp/sca/samples/RestYahoo/build.xml
+++ /dev/null
@@ -1,96 +0,0 @@
-<?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="TuscanyScaNative_Sample_RestYahoo" default="all" basedir="../..">
-
- <import file="${basedir}/antscripts/system.xml"/>
- <import file="${basedir}/antscripts/compile-targets.xml"/>
-
- <!--
- Notice that the basedir for this project is set to the TuscanySCA root dir
- This makes path setting in system.xml much simpler, but we'll just have to
- set a property here to this directory.
- -->
-
- <target name="init">
- <tstamp/>
- <property name="this.dir" location="${basedir}/samples/RestYahoo"/>
- <property name="sample.yahoo.dir" location="${this.dir}/sample.yahoo"/>
- <property name="sample.yahoo.client.dir" location="${this.dir}/sample.yahoo.client"/>
-
- <property name="RestYahoo.install.dir"
- location="${tuscanySCA.install.dir}/samples/RestYahoo"/>
- <property name="sample.yahoo.install.dir"
- location="${RestYahoo.install.dir}/sample.yahoo"/>
- <property name="sample.yahoo.client.install.dir"
- location="${RestYahoo.install.dir}/sample.yahoo.client"/>
- </target>
-
- <!--
- Public targets
- -->
- <target name="all"
- depends="init"
- description="build and install the TuscanyScaNative RestYahoo sample">
- <antcall target="install"/>
- </target>
-
- <!-- This sample does not require building, just installation -->
-
- <target name="install"
- depends="init"
- description="Install the TuscanyScaNative RestYahoo sample">
- <cpp-install-files
- files="*.composite"
- srcdir="${this.dir}"
- destdir="${RestYahoo.install.dir}"/>
-
- <!-- install sample.yahoo files -->
- <cpp-install-files
- files="*.py"
- srcdir="${sample.yahoo.dir}"
- destdir="${sample.yahoo.install.dir}"/>
- <cpp-install-files
- files="*.composite"
- srcdir="${sample.yahoo.dir}"
- destdir="${sample.yahoo.install.dir}"/>
- <cpp-install-files
- files="*.xsd"
- srcdir="${sample.yahoo.dir}"
- destdir="${sample.yahoo.install.dir}"/>
-
- <!-- install sample.yahoo.client files -->
- <cpp-install-files
- files="*.rb"
- srcdir="${sample.yahoo.client.dir}"
- destdir="${sample.yahoo.client.install.dir}"/>
- <cpp-install-file
- srcfile="runclient${script.ext}"
- srcdir="${sample.yahoo.client.dir}"
- destdir="${sample.yahoo.client.install.dir}"/>
-
- </target>
-
- <target name="clean"
- depends="init"
- description="Clean the TuscanyScaNative RestYahoo sample">
- <delete dir="${RestYahoo.install.dir}" quiet="true"/>
- </target>
-
-</project>