ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasad kumar <>
Subject Block SOPs(System.out.println) at ANT build
Date Sat, 14 Apr 2007 08:13:45 GMT
  i have one requirement is "Block SOPs(System.out.println) at ANT build level and fail the
build."means if the programs(including *.java,*.jsp etc..) contain SOPs in whole project,then
while taking the build with build.xml,build.xml should check the SOPs in the programs,if programs
have used SOP's build should fail and show in which programs have used SOP's with list.
  for that one i have used like below.
  <fileset dir="${sources-dir}">
        <contains text="System.out.println" error="please remove" id="remove" casesensitive="no"/>
  but build is not failing with in which programs have used SOP's with list.
  please give me immediate reply if any person knows i have bee n trying from the last two
  if any person will help that's a great appreciation

 Check out what you're missing if you're not on Yahoo! Messenger 
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message