Author: maartenc
Date: Sun Jun 27 21:11:38 2010
New Revision: 958424

URL: http://svn.apache.org/viewvc?rev=958424&view=rev
Log:
- Do cleanup before generating RAT report, otherwise cleanup will fail because 
of locked jars.
- Exclude ${basedir}/.ivy2 directory from RAT.

Modified:
    ant/ivy/core/branches/2.2.x/build-release.xml

Modified: ant/ivy/core/branches/2.2.x/build-release.xml
URL: 
http://svn.apache.org/viewvc/ant/ivy/core/branches/2.2.x/build-release.xml?rev=958424&r1=958423&r2=958424&view=diff
==============================================================================
--- ant/ivy/core/branches/2.2.x/build-release.xml (original)
+++ ant/ivy/core/branches/2.2.x/build-release.xml Sun Jun 27 21:11:38 2010
@@ -445,6 +445,7 @@
            <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" 
reportFile="${rat.report.dir}/rat-report.txt">
              <fileset dir="${basedir}">
                <exclude name=".classpath" />
+               <exclude name=".ivy2/**/*" />
                <exclude name="build/**/*" />
                <exclude name="bin/**/*" />
                <exclude name="**/*.sha1" />
@@ -473,6 +474,6 @@
        <target name="snapshot" 
                        depends="prepare-snapshot, snapshot-src, snapshot-bin, 
snapshot-maven2, snapshot-checksums" 
                        description="used for nightly and integration builds"/>
-       <target name="release" depends="release-version, rat, snapshot" 
description="make a new release of Ivy"/>
+       <target name="release" depends="release-version, /localivy, 
clean-ivy-home, clean, clean-lib, rat, snapshot" description="make a new 
release of Ivy"/>
 
 </project>


Reply via email to