You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Antoine Levy Lambert <an...@gmx.de> on 2010/01/08 17:29:11 UTC
Re: svn commit: r896889 - /ant/core/trunk/check.xml
This is a nice thing.
Antoine
jhm@apache.org wrote:
> Author: jhm
> Date: Thu Jan 7 14:17:18 2010
> New Revision: 896889
>
> URL: http://svn.apache.org/viewvc?rev=896889&view=rev
> Log:
> Target for downloading and running Apache RAT (Release Auditing Tool)
>
> Modified:
> ant/core/trunk/check.xml
>
> Modified: ant/core/trunk/check.xml
> URL: http://svn.apache.org/viewvc/ant/core/trunk/check.xml?rev=896889&r1=896888&r2=896889&view=diff
> ==============================================================================
> --- ant/core/trunk/check.xml (original)
> +++ ant/core/trunk/check.xml Thu Jan 7 14:17:18 2010
> @@ -69,7 +69,7 @@
> file="${findbugs.download.to}/${findbugs.download.name}/lib/findbugs.jar"
> description="Check if Findbugs is already installed."
> />
> -
> +
> <!-- Findbugs: Running Findbugs -->
> <property name="findbugs.reportdir"
> location="${build.dir}/reports/findbugs"
> @@ -84,6 +84,17 @@
> value="-Xms128m -Xmx512m"
> description="JVMArgs for invoking Findbugs"/>
>
> + <!-- RAT Release Auditing Tool -->
> + <property name="rat.report.dir"
> + value="${build.dir}/reports/rat"
> + description="Where to store the RAT reports"/>
> + <property name="rat.report.file"
> + value="${rat.report.dir}/report.html"
> + description="RAT-Report file"/>
> + <property name="rat.version"
> + value="0.6"
> + description="Which Version of RAT to use"/>
> +
>
>
> <target name="init-ivy">
> @@ -205,5 +216,21 @@
> </style>
> </xslt>
> </target>
> +
> +
> + <target name="rat" description="Runs the ReleaseAuditingTool" depends="init-ivy">
> + <ivy:cachepath organisation="org.apache.rat" module="apache-rat-tasks" revision="${rat.version}"
> + inline="true" conf="default" pathid="rat.classpath" transitive="true"/>
> + <typedef resource="org/apache/rat/anttasks/antlib.xml"
> + uri="antlib:org.apache.rat.anttasks"
> + classpathref="rat.classpath"/>
> + <mkdir dir="${rat.report.dir}"/>
> + <rat:report xmlns:rat="antlib:org.apache.rat.anttasks" reportfile="${build.dir}/reports/rat/report.txt">
> + <fileset dir="${java.dir}">
> + <exclude name="org/apache/tools/ant/defaultManifest.mf"/>
> + <exclude name="org/apache/tools/ant/version.txt"/>
> + </fileset>
> + </rat:report>
> + </target>
>
> </project>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
AW: svn commit: r896889 - /ant/core/trunk/check.xml
Posted by Ja...@rzf.fin-nrw.de.
Thanks
Jan
> -----Ursprüngliche Nachricht-----
> Von: Antoine Levy Lambert [mailto:antoine@gmx.de]
> Gesendet: Freitag, 8. Januar 2010 17:29
> An: dev@ant.apache.org
> Betreff: Re: svn commit: r896889 - /ant/core/trunk/check.xml
>
> This is a nice thing.
>
> Antoine
>
> jhm@apache.org wrote:
> > Author: jhm
> > Date: Thu Jan 7 14:17:18 2010
> > New Revision: 896889
> >
> > URL: http://svn.apache.org/viewvc?rev=896889&view=rev
> > Log:
> > Target for downloading and running Apache RAT (Release
> Auditing Tool)
> >
> > Modified:
> > ant/core/trunk/check.xml
> >
> > Modified: ant/core/trunk/check.xml
> > URL:
> http://svn.apache.org/viewvc/ant/core/trunk/check.xml?rev=8968
89&r1=896888&r2=896889&view=diff
> >
> ==============================================================
> ================
> > --- ant/core/trunk/check.xml (original)
> > +++ ant/core/trunk/check.xml Thu Jan 7 14:17:18 2010
> > @@ -69,7 +69,7 @@
> >
> file="${findbugs.download.to}/${findbugs.download.name}/lib/fi
ndbugs.jar"
> > description="Check if Findbugs is already installed."
> > />
> > -
> > +
> > <!-- Findbugs: Running Findbugs -->
> > <property name="findbugs.reportdir"
> > location="${build.dir}/reports/findbugs"
> > @@ -84,6 +84,17 @@
> > value="-Xms128m -Xmx512m"
> > description="JVMArgs for invoking Findbugs"/>
> >
> > + <!-- RAT Release Auditing Tool -->
> > + <property name="rat.report.dir"
> > + value="${build.dir}/reports/rat"
> > + description="Where to store the RAT reports"/>
> > + <property name="rat.report.file"
> > + value="${rat.report.dir}/report.html"
> > + description="RAT-Report file"/>
> > + <property name="rat.version"
> > + value="0.6"
> > + description="Which Version of RAT to use"/>
> > +
> >
> >
> > <target name="init-ivy">
> > @@ -205,5 +216,21 @@
> > </style>
> > </xslt>
> > </target>
> > +
> > +
> > + <target name="rat" description="Runs the
> ReleaseAuditingTool" depends="init-ivy">
> > + <ivy:cachepath organisation="org.apache.rat"
> module="apache-rat-tasks" revision="${rat.version}"
> > + inline="true" conf="default"
> pathid="rat.classpath" transitive="true"/>
> > + <typedef resource="org/apache/rat/anttasks/antlib.xml"
> > + uri="antlib:org.apache.rat.anttasks"
> > + classpathref="rat.classpath"/>
> > + <mkdir dir="${rat.report.dir}"/>
> > + <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"
> reportfile="${build.dir}/reports/rat/report.txt">
> > + <fileset dir="${java.dir}">
> > + <exclude name="org/apache/tools/ant/defaultManifest.mf"/>
> > + <exclude name="org/apache/tools/ant/version.txt"/>
> > + </fileset>
> > + </rat:report>
> > + </target>
> >
> > </project>
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org