add checksum generation on m2 snapshot, copy ivy.xsd when generating doc, remove unused target

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@632266 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Xavier Hanin 2008-02-29 09:06:14 +00:00
parent c72ea0d823
commit b37d746444
1 changed files with 14 additions and 16 deletions

View File

@ -25,7 +25,7 @@
<target name="generate-doc">
<copy todir="${doc.build.dir}">
<fileset dir="${doc.src.dir}" includes="images/**,style/**,samples/**,js/**" />
<fileset dir="${doc.src.dir}" includes="images/**,style/**,samples/**,js/**,ivy.xsd" />
</copy>
<!-- requires java 6 jdk in path and Apache Ant 1.7 -->
<xooki:generate destDir="${doc.build.dir}" checkUpToDate="true">
@ -163,6 +163,19 @@
<!-- copy sources jar -->
<copy file="${artifacts.build.dir}/sources/${final.name}"
tofile="${m2.distrib.dir}/ivy-${build.version}-sources.jar" />
<checksum algorithm="md5">
<fileset dir="${m2.distrib.dir}">
<include name="*.pom"/>
<include name="*.jar"/>
</fileset>
</checksum>
<checksum algorithm="sha1">
<fileset dir="${m2.distrib.dir}">
<include name="*.pom"/>
<include name="*.jar"/>
</fileset>
</checksum>
</target>
@ -201,19 +214,4 @@
description="used for nightly and integration builds"/>
<target name="release" depends="release-version, snapshot" description="make a new release of Ivy"/>
<!--
publication on ivy web site
requires to be logged in on people.apache.org
-->
<available property="loggedin" file="/www/incubator.apache.org/ivy/index.html"/>
<target name="publish-latest" if="loggedin" description="publishes the last snapshot done to ivy web site">
<property name="html.dir" value="/www/incubator.apache.org/ivy/downloads/latest/"/>
<delete>
<fileset dir="${html.dir}"/>
</delete>
<copy todir="${html.dir}">
<fileset dir="${distrib.dir}"/>
</copy>
</target>
</project>