This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/flex-blazeds.git
commit bc83b34f1ecb470793d36d228ebbb34ce9ea5076 Author: Josh Tynjala <[email protected]> AuthorDate: Mon Feb 23 15:05:06 2026 -0800 ApproveBlazeDS.xml: ensure that rat tasks get defined, don't use owasp by default, and skip samples because they're included in distribution automatically --- ApproveBlazeDS.xml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/ApproveBlazeDS.xml b/ApproveBlazeDS.xml index b7c16d3..989276d 100644 --- a/ApproveBlazeDS.xml +++ b/ApproveBlazeDS.xml @@ -138,9 +138,13 @@ </target> <target name="rat-taskdef" description="Rat taskdef"> - <typedef resource="org/apache/rat/anttasks/antlib.xml" - uri="antlib:org.apache.rat.anttasks" - classpathref="anttask.classpath"/> + <taskdef + uri="antlib:org.apache.rat.anttasks" + resource="org/apache/rat/anttasks/antlib.xml"> + <classpath> + <pathelement location="${env.ANT_HOME}/lib/${apache.rat.jar}"/> + </classpath> + </taskdef> </target> <target name="main" @@ -150,7 +154,7 @@ <target name="main-no-download" depends="write-out-jars-list,install-rat,uncompress,rat-check,binary-rat,check-notices,examine-jars,build,approve" - description="Perform required release approval steps"> + description="Perform required release approval steps without download (src and bin archives must already exist in same directory)"> </target> <target name="display-text"> @@ -343,7 +347,7 @@ </target> - <target name="rat-check"> + <target name="rat-check" depends="rat-taskdef"> <echo message="Checking files at ${basedir}/${package.url.name}, report is ${src.rat.report}"/> @@ -388,7 +392,7 @@ addproperty="rat.binaries.ok"/> </target> - <target name="binary-rat"> + <target name="binary-rat" depends="rat-taskdef"> <echo message="Checking files at ${basedir}/${bin.package.url.name}, report is ${bin.rat.report}"/> <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" @@ -580,7 +584,7 @@ <arg value="${mvn}"/> <arg value="clean"/> <arg value="install"/> - <arg value="-Pwith-owasp,with-samples,with-distribution"/> + <arg value="-Pwith-distribution"/> </exec> </target> @@ -588,7 +592,7 @@ <exec executable="${mvn}" dir="${basedir}/${package.url.name}/blazeds-${release.version}" failonerror="true"> <arg value="clean"/> <arg value="install"/> - <arg value="-Pwith-owasp,with-samples,with-distribution"/> + <arg value="-Pwith-distribution"/> </exec> </target>
