ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prasad kumar <prasad_te...@yahoo.co.in>
Subject Block SOPs(System.out.println) at ANT build
Date Sat, 14 Apr 2007 08:13:45 GMT
HI,
  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}">
       <present>
        <contains text="System.out.println" error="please remove" id="remove" casesensitive="no"/>
        </present>
   </fileset>
   
  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
days
   
  if any person will help that's a great appreciation
   
  thanks,
  prasad
  prasad_te318@yahoo.co.in
   
   

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