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
  [EMAIL PROTECTED]
   
   

       
---------------------------------
 Check out what you're missing if you're not on Yahoo! Messenger 

Reply via email to