ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject git commit: Workaround for missing svn:external. Try to build on Jenkins@a.o.
Date Mon, 02 Jun 2014 08:02:29 GMT
Repository: ant-antlibs-props
Updated Branches:
  refs/heads/master 15c1d82cd -> 8ee9d459d


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


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

Branch: refs/heads/master
Commit: 8ee9d459d1951c7fe726e0f7bc8612cb353e0cc6
Parents: 15c1d82
Author: Jan Mat�rne <jhm@apache.org>
Authored: Mon Jun 2 10:01:45 2014 +0200
Committer: Jan Mat�rne <jhm@apache.org>
Committed: Mon Jun 2 10:01:45 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/ant-antlibs-props/blob/8ee9d459/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>


Mime
View raw message