You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by jh...@apache.org on 2014/06/02 10:01:16 UTC

git commit: Workaround for missing svn:external. Try to build on Jenkins@a.o.

Repository: ant-antlibs-common
Updated Branches:
  refs/heads/master 3b5c7d6dc -> a7e796410


Workaround for missing svn:external. Try to build on Jenkins@a.o.


Project: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/commit/a7e79641
Tree: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/tree/a7e79641
Diff: http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/diff/a7e79641

Branch: refs/heads/master
Commit: a7e796410cbba7b27bd21da7cf19adce92ed5c5a
Parents: 3b5c7d6
Author: Jan Mat�rne <jh...@apache.org>
Authored: Mon Jun 2 09:59:36 2014 +0200
Committer: Jan Mat�rne <jh...@apache.org>
Committed: Mon Jun 2 09:59:36 2014 +0200

----------------------------------------------------------------------
 prepare.xml | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-antlibs-common/blob/a7e79641/prepare.xml
----------------------------------------------------------------------
diff --git a/prepare.xml b/prepare.xml
new file mode 100644
index 0000000..cbb3c2e
--- /dev/null
+++ b/prepare.xml
@@ -0,0 +1,52 @@
+<?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>