blob: 477ce60c6b5c46a0118e2d1dca5af623ac37fc43 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Copyright 2002-2005 atanion GmbH.
*
* Licensed 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="tobago-all" default="install">
<target name="info">
<exec executable="ant">
<arg value="-p"/>
</exec>
</target>
<target name="install"
description="Install all necessary artifacts into local m2 repository">
<ant target="install" dir="tool/apt" />
<ant target="install" dir="core" />
<ant target="install" dir="theme/standard" />
<ant target="install" dir="theme/scarborough" />
<ant target="install" dir="theme/speyside" />
<ant target="install" dir="theme/richmond" />
<ant target="install" dir="example/addressbook" />
<ant target="install" dir="example/demo" />
</target>
<target name="clean" description="Clean out the output directories">
<ant target="clean" dir="tool/apt" />
<ant target="clean" dir="core" />
<ant target="clean" dir="theme/standard" />
<ant target="clean" dir="theme/scarborough" />
<ant target="clean" dir="theme/speyside" />
<ant target="clean" dir="theme/richmond" />
<ant target="clean" dir="example/addressbook" />
<ant target="clean" dir="example/demo" />
</target>
<target name="test">
<ant target="test" dir="tool/apt" />
<ant target="test" dir="core" />
<ant target="test" dir="example/addressbook" />
<ant target="test" dir="example/demo" />
</target>
<!-- cruise control -->
<target name="masterbuild" depends="reportdir, checkout, install, test, deploy-build" />
<target name="cleanbuild" depends="clean, masterbuild"/>
<target name="reportdir">
<mkdir dir="build/report"/>
<mkdir dir="tool/apt/build/report"/>
<mkdir dir="core/build/report"/>
<mkdir dir="example/addressbook/build/report"/>
<mkdir dir="example/demo/build/report"/>
</target>
<target name="checkout" description="Get the latest source from the svn tree">
<exec executable="svn">
<arg value="up"/>
</exec>
</target>
<target name="deploy-build" depends="install" >
<ant target="war" dir="example/addressbook"/>
<ant target="war" dir="example/demo"/>
</target>
</project>