| <?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. |
| --> |
| |
| <!-- |
| 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="https://git-wip-us.apache.org/repos/asf/ant-antlibs-common.git"/> |
| <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"/> |
| </exec> |
| |
| <echo message="updating antlib-common" if:set="common.present"/> |
| <exec executable="${git}" dir="common" taskname="git" if:set="common.present"> |
| <arg value="pull"/> |
| </exec> |
| |
| <copy file="common/prepare.xml" tofile="prepare.xml"/> |
| |
| </project> |