blob: ee14272cc3a3b5b1484660d16491f0afa58f2c21 [file] [log] [blame]
<?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
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
Interim build-snippet.
The AntLibs depend on the common build infrastructure supplied by the
antlibs-common project. In subversion these are included via svn:external
directive. After migration to git there is need to have successor to that
directive. Until we have that, we could do a 'manual' git-clone.
The original of this snippet is maintained in the antlib-common project.
<project xmlns:unless="ant:unless" xmlns:if="ant:if">
<property name="antlib.common.git" value=""/>
<property name="git" value="git"/>
<available property="common.present" file="common" type="dir"/>
<echo message="cloning antlib-common" unless:set="common.present"/>
<exec executable="${git}" taskname="git" unless:set="common.present">
<arg value="clone"/>
<arg value="${antlib.common.git}"/>
<arg value="common"/>
<echo message="updating antlib-common" if:set="common.present"/>
<exec executable="${git}" dir="common" taskname="git" if:set="common.present">
<arg value="pull"/>
<echo>updating prepare.xml</echo>
<copy file="common/prepare.xml" tofile="prepare.xml"/>
<echo>updating AntUnit</echo>
<property name="antunit.version" value="1.3"/>
<property name="antunit.url" value="${antunit.version}/ant-antunit-${antunit.version}.jar"/>
<get src="${antunit.url}" dest="ant-antunit.jar" usetimestamp="true"/>