|
[Oscarmcmaster-cvscommit] oscar_mcmaster/build
ant-contrib-1.0b3.jar, NONE, 1.1 build.xml, 1.55, 1.56
From: Ted Leung <tedleung@us...> - 2010-06-23 20:45
|
Update of /cvsroot/oscarmcmaster/oscar_mcmaster/build
In directory sfp-cvsdas-4.v30.ch3.sourceforge.com:/tmp/cvs-serv3853/build
Modified Files:
build.xml
Added Files:
ant-contrib-1.0b3.jar
Log Message:
enforce no more System.err's
--- NEW FILE: ant-contrib-1.0b3.jar ---
(This appears to be a binary file; contents omitted.)
Index: build.xml
===================================================================
RCS file: /cvsroot/oscarmcmaster/oscar_mcmaster/build/build.xml,v
retrieving revision 1.55
retrieving revision 1.56
diff -C2 -d -r1.55 -r1.56
*** build.xml 23 Jun 2010 20:28:59 -0000 1.55
--- build.xml 23 Jun 2010 20:45:02 -0000 1.56
***************
*** 254,258 ****
! <target name="dist" depends="web, document">
<!-- make the webapp clean, so even files that haven't changed get
their filters updated -->
--- 254,258 ----
! <target name="dist" depends="web, document, loggerCheck">
<!-- make the webapp clean, so even files that haven't changed get
their filters updated -->
***************
*** 538,551 ****
-->
! <target name="logger_check">
! <apply executable="echo">
! <arg line="***ERROR*** File is not using a logger : " />
! <fileset dir="${webapp}" includes="**/*.j*" excludes="**/*.jar">
! <or>
! <contains text="System.err" />
! </or>
! </fileset>
! </apply>
</target>
--- 538,562 ----
-->
!
! <taskdef resource="net/sf/antcontrib/antcontrib.properties">
! <classpath>
! <pathelement location="ant-contrib-1.0b3.jar"/>
! </classpath>
! </taskdef>
! <target name="loggerCheck">
! <foreach target="failLoggerCheck" param="file">
! <path>
! <fileset dir="${webapp}" includes="**/*.j*" excludes="**/*.jar">
! <or>
! <contains text="System.err" />
! </or>
! </fileset>
! </path>
! </foreach>
! </target>
!
! <target name="failLoggerCheck">
! <fail message="File not using logger : ${file}" />
</target>
|
| Thread | Author | Date |
|---|---|---|
| [Oscarmcmaster-cvscommit] oscar_mcmaster/build ant-contrib-1.0b3.jar, NONE, 1.1 build.xml, 1.55, 1.56 | Ted Leung <tedleung@us...> |