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/05 12:36:32 UTC

[1/3] git commit: add git-ignore

Repository: ant-antlibs-compress
Updated Branches:
  refs/heads/master 8ffb4f9bc -> be13f2c72


add git-ignore


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

Branch: refs/heads/master
Commit: 874d8fad46383066041d4052ca8bb30a99bd5c92
Parents: 8ffb4f9
Author: Jan Mat�rne <jh...@apache.org>
Authored: Thu Jun 5 12:30:10 2014 +0200
Committer: Jan Mat�rne <jh...@apache.org>
Committed: Thu Jun 5 12:30:10 2014 +0200

----------------------------------------------------------------------
 .gitignore | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/blob/874d8fad/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..34d4c36
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,23 @@
+*.el
+*.ipr
+*.iws
+*.pif
+.ant.properties
+.classpath
+.project
+.settings
+bin
+apache-ant-1.*
+bootstrap
+build
+dist
+distribution
+java-repository
+patch.tar.gz
+patch.txt
+target
+velocity.log*
+lib/optional/*.jar
+src/tests/antunit/core/output
+.idea
+*.iml


[3/3] git commit: specify dependencies

Posted by jh...@apache.org.
specify dependencies


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

Branch: refs/heads/master
Commit: be13f2c7213d695fd3b3618de90c1b27b612f88c
Parents: 231f7d5
Author: Jan Mat�rne <jh...@apache.org>
Authored: Thu Jun 5 12:36:05 2014 +0200
Committer: Jan Mat�rne <jh...@apache.org>
Committed: Thu Jun 5 12:36:05 2014 +0200

----------------------------------------------------------------------
 ivy.xml | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 62 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/blob/be13f2c7/ivy.xml
----------------------------------------------------------------------
diff --git a/ivy.xml b/ivy.xml
new file mode 100644
index 0000000..4f5fec9
--- /dev/null
+++ b/ivy.xml
@@ -0,0 +1,62 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+   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.
+
+-->
+<ivy-module version="2.0">
+  <info organisation="Apache Ant"
+        module="${artifact.name}"
+        revision="${artifact.version}"
+        publication="${artifact.publication.datetime}">
+    <license name="Apache Software License 2.0"
+             url="http://www.apache.org/licenses/LICENSE-2.0"/>
+    <ivyauthor name="Apache Ant Development Team"
+               url="http://ant.apache.org/"/>
+    <description homepage="http://ant.apache.org/antlibs/compress/">
+      Provides tasks and types that deal with AR, ARJ, CPIO, TAR,
+      DUMP, 7Z and ZIP archives as well as BZIP2, PACK200, GZIP, LZMA
+      and XZ compressed files based on Apache Commons Compress.
+    </description>
+  </info>
+  <configurations>
+		<conf name="default" description="full antlib with all dependencies"/>
+		<conf name="test" description="dependencies used for junit testing the antlib" visibility="private" />
+  </configurations>
+  <publications xmlns:e="urn:ant.apache.org:ivy-extras">
+    <artifact name="${artifact.name}" type="pom" ext="pom"/>
+    <artifact name="${artifact.name}" type="pom.asc" ext="pom.asc"/>
+    <artifact name="${artifact.name}" type="jar" ext="jar"/>
+    <artifact name="${artifact.name}" type="jar.asc" ext="jar.asc"/>
+    <artifact name="${artifact.name}" type="source" ext="jar"
+              e:classifier="sources"/>
+    <artifact name="${artifact.name}" type="source.asc" ext="jar.asc"
+              e:classifier="sources"/>
+    <artifact name="${artifact.name}" type="javadoc" ext="jar"
+              e:classifier="javadoc"/>
+    <artifact name="${artifact.name}" type="javadoc.asc" ext="jar.asc"
+              e:classifier="javadoc"/>
+    <artifact name="${artifact.name}" type="ivy" ext="xml"
+              e:classifier="ivy"/>
+    <artifact name="${artifact.name}" type="ivy.asc" ext="xml.asc"
+              e:classifier="ivy"/>
+  </publications>
+  <dependencies>
+    <dependency org="org.apache.commons" name="commons-compress" rev="1.8" conf="default"/>
+    <dependency org="org.tukaani" name="xz" rev="1.5" conf="default"/>
+    <dependency org="junit" name="junit" rev="4.11" conf="test->default"/>
+  </dependencies>
+</ivy-module>


[2/3] git commit: add prepare script

Posted by jh...@apache.org.
add prepare script


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

Branch: refs/heads/master
Commit: 231f7d5991b3142293fc1fb26f9a6d9ce5abebf6
Parents: 874d8fa
Author: Jan Mat�rne <jh...@apache.org>
Authored: Thu Jun 5 12:31:21 2014 +0200
Committer: Jan Mat�rne <jh...@apache.org>
Committed: Thu Jun 5 12:31:21 2014 +0200

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


http://git-wip-us.apache.org/repos/asf/ant-antlibs-compress/blob/231f7d59/prepare.xml
----------------------------------------------------------------------
diff --git a/prepare.xml b/prepare.xml
new file mode 100644
index 0000000..8d4d0cf
--- /dev/null
+++ b/prepare.xml
@@ -0,0 +1,93 @@
+<?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 default="bootstrap" xmlns:unless="ant:unless" xmlns:if="ant:if">
+
+  <!-- AntLib-common Git-URL, so we could 'svn:external' that manually. -->
+  <property name="antlib.common.git" value="https://git-wip-us.apache.org/repos/asf/ant-antlibs-common.git"/>
+  <!-- Git executable -->
+  <property name="git" value="git"/>
+  
+  <!-- Which released version of AntUnit to use, where to download, where to store. -->
+  <property name="antunit.version" value="1.3"/>
+  <property name="antunit.url" value="http://repo1.maven.org/maven2/org/apache/ant/ant-antunit/${antunit.version}/ant-antunit-${antunit.version}.jar"/>
+  <property name="antunit.file" value="ant-antunit.jar"/>
+
+  <!-- Skip unnecessary tasks. -->
+  <available property="common.present"  file="common" type="dir"/>
+  <available property="antunit.present" file="${antunit.file}"/>
+
+
+  <target name="clone-common" unless="common.present">
+    <echo message="cloning antlib-common"/>
+    <exec executable="${git}" taskname="git">
+      <arg value="clone"/>
+      <arg value="${antlib.common.git}"/>
+      <arg value="common"/>
+    </exec>
+  </target>
+
+  <target name="update-common" if="common.present">
+    <echo message="updating antlib-common"/>
+    <exec executable="${git}" dir="common" taskname="git">
+      <arg value="pull"/>
+    </exec>
+  </target>
+
+  <target name="update-prepare-script">
+    <echo>updating prepare.xml</echo>
+    <copy file="common/prepare.xml" tofile="prepare.xml"/>
+  </target>
+
+  <target name="get-antunit" unless="antunit.present">
+    <echo>updating AntUnit</echo>
+    <get src="${antunit.url}" dest="${antunit.file}" usetimestamp="true"/>
+  </target>
+  
+  
+  <!-- Use a 'bootstrap-phase' so changes of the preparation could be catched in the same CI-cycle. -->
+  <target name="bootstrap" 
+          depends="clone-common,update-common,update-prepare-script"
+          description="Bootstraps the preparation script by cloning the antlib-common and updating this script from there."
+  >
+    <echo>Bootstrap done. Next step:</echo> 
+    <echo>  ant -f prepare.xml prepare</echo>
+  </target>
+          
+  <target name="prepare" 
+          depends="get-antunit"
+          description="Prepare the build by 'preparing' the infrastructure"
+  >
+    <echo>Preparation done. Next steps:</echo>
+    <echo> ant clean distribution</echo>
+    <echo> ant -lib ${antunit.file} -lib build/lib test</echo>
+  </target>
+
+</project>
\ No newline at end of file