mirror of
https://github.com/moparisthebest/JdbcMapper
synced 2024-11-14 21:25:08 -05:00
58 lines
2.6 KiB
XML
58 lines
2.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
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.
|
|
|
|
$Header:$
|
|
-->
|
|
<project name="Beehive/Controls/TestDistBuild" default="usage" basedir=".">
|
|
|
|
<property environment="os"/>
|
|
|
|
<target name="build.tests" description="Build all controls tests">
|
|
<ant dir=".." antfile="build.xml" target="build" inheritAll="false"/>
|
|
</target>
|
|
|
|
<target name="assemble.tests" description="Assemble all components for controls test distribution">
|
|
|
|
<!-- Copy external jars required by controls tests to beehive-test-dist/controls/external -->
|
|
<copy todir="${test.dist.base.dir}/beehive-test-dist/controls/external">
|
|
<fileset dir="../../../external/junit" includes="*.jar"/>
|
|
</copy>
|
|
|
|
<copy file="../build/beehive-controls-junit-tests.jar"
|
|
tofile="${test.dist.base.dir}/beehive-test-dist/controls/test/jars/beehive-controls-junit-tests.jar"/>
|
|
|
|
<copy todir="${test.dist.base.dir}/beehive-test-dist/controls/test/classes">
|
|
<fileset dir="../build/junit-tests-classes"/>
|
|
</copy>
|
|
|
|
<copy todir="${test.dist.base.dir}/beehive-test-dist/controls/test" overwrite="true">
|
|
<fileset dir="files"/>
|
|
</copy>
|
|
</target>
|
|
|
|
<target name="usage">
|
|
<echo message="Build Controls Test Distribution"/>
|
|
<echo message="================================================================"/>
|
|
<echo message="| Usage |"/>
|
|
<echo message="================================================================"/>
|
|
<echo message=" "/>
|
|
<echo message="build.test - build/jar controls, drivers and junits classes. "/>
|
|
<echo message="assemble.tests - put all the parts needed by the test together. "/>
|
|
</target>
|
|
|
|
</project> |