bdd0a41aed
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@668359 13f79535-47bb-0310-9956-ffa450edef68
147 lines
5.2 KiB
XML
147 lines
5.2 KiB
XML
<?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_HttpdBigBank" 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/HttpdBigBank"/>
|
|
<property name="bigbank.account.dir" location="${this.dir}/bigbank.account"/>
|
|
<property name="bigbank.accountdata.dir" location="${this.dir}/bigbank.accountdata"/>
|
|
<property name="bigbank.wsclient.dir" location="${this.dir}/bigbank.wsclient"/>
|
|
<property name="httpserver.dir" location="${this.dir}/httpserver"/>
|
|
|
|
<property name="HttpdBigBank.install.dir"
|
|
location="${tuscanySCA.install.dir}/samples/HttpdBigBank"/>
|
|
<property name="bigbank.account.install.dir"
|
|
location="${HttpdBigBank.install.dir}/bigbank.account"/>
|
|
<property name="bigbank.accountdata.install.dir"
|
|
location="${HttpdBigBank.install.dir}/bigbank.accountdata"/>
|
|
<property name="bigbank.wsclient.install.dir"
|
|
location="${HttpdBigBank.install.dir}/bigbank.wsclient"/>
|
|
<property name="httpserver.install.dir"
|
|
location="${HttpdBigBank.install.dir}/httpserver"/>
|
|
</target>
|
|
|
|
<!--
|
|
Public targets
|
|
-->
|
|
<target name="all"
|
|
depends="init"
|
|
description="install the TuscanyScaNative HttpdBigBank sample">
|
|
<antcall target="install"/>
|
|
</target>
|
|
|
|
<target name="install"
|
|
depends="init"
|
|
description="Install the TuscanyScaNative HttpdBigBank sample">
|
|
|
|
<cpp-install-files
|
|
files="*.composite"
|
|
srcdir="${this.dir}"
|
|
destdir="${HttpdBigBank.install.dir}"/>
|
|
|
|
<!-- install bigbank.account.files -->
|
|
<cpp-install-files
|
|
files="*.rb"
|
|
srcdir="${bigbank.account.dir}"
|
|
destdir="${bigbank.account.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*.composite"
|
|
srcdir="${bigbank.account.dir}"
|
|
destdir="${bigbank.account.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*.wsdl"
|
|
srcdir="${bigbank.account.dir}"
|
|
destdir="${bigbank.account.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*.xsd"
|
|
srcdir="${bigbank.account.dir}"
|
|
destdir="${bigbank.account.install.dir}"/>
|
|
|
|
<!-- install bigbank.accountdata.files -->
|
|
<cpp-install-files
|
|
files="*.rb"
|
|
srcdir="${bigbank.accountdata.dir}"
|
|
destdir="${bigbank.accountdata.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*.composite"
|
|
srcdir="${bigbank.accountdata.dir}"
|
|
destdir="${bigbank.accountdata.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*.xsd"
|
|
srcdir="${bigbank.accountdata.dir}"
|
|
destdir="${bigbank.accountdata.install.dir}"/>
|
|
|
|
<!-- install bigbank.wsclient files -->
|
|
<cpp-install-files
|
|
files="*.rb"
|
|
srcdir="${bigbank.wsclient.dir}"
|
|
destdir="${bigbank.wsclient.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*${script.ext}"
|
|
srcdir="${bigbank.wsclient.dir}"
|
|
destdir="${bigbank.wsclient.install.dir}"
|
|
executable="true"/>
|
|
<cpp-install-files
|
|
files="*.composite"
|
|
srcdir="${bigbank.wsclient.dir}"
|
|
destdir="${bigbank.wsclient.install.dir}"/>
|
|
<cpp-install-files
|
|
files="*.wsdl"
|
|
srcdir="${bigbank.wsclient.dir}"
|
|
destdir="${bigbank.wsclient.install.dir}"/>
|
|
|
|
<!-- install httpserver files -->
|
|
<cpp-install-files
|
|
files="*${script.ext}"
|
|
srcdir="${httpserver.dir}"
|
|
destdir="${httpserver.install.dir}"
|
|
executable="true"/>
|
|
<cpp-install-files
|
|
files="*.types"
|
|
srcdir="${httpserver.dir}/conf"
|
|
destdir="${httpserver.install.dir}/conf"/>
|
|
<cpp-install-files
|
|
files="*.conf"
|
|
srcdir="${httpserver.dir}/conf"
|
|
destdir="${httpserver.install.dir}/conf"/>
|
|
<cpp-install-files
|
|
files="*.html"
|
|
srcdir="${httpserver.dir}/htdocs"
|
|
destdir="${httpserver.install.dir}/htdocs"/>
|
|
|
|
</target>
|
|
|
|
<target name="clean"
|
|
depends="init"
|
|
description="Clean the TuscanyScaNative HttpdBigBank sample">
|
|
<delete dir="${HttpdBigBank.install.dir}" quiet="true"/>
|
|
</target>
|
|
|
|
</project>
|