greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 17903

Show
Ignore:
Timestamp:
2008-11-21 15:13:17 (2 months ago)
Author:
oranfry
Message:

small change to output of rsr task

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • other-projects/trunk/anttasks/src/org/greenstone/anttasks/RegexSearchReplace.java

    r17902 r17903  
    118118                        } 
    119119                } 
     120                System.out.println(); 
    120121 
    121122                //output filename(s) 
     
    138139 
    139140                        File inputFile = files[fileIndex]; 
     141                        System.out.println( " " + inputFile ); 
    140142 
    141143                        //create the output stream 
     
    249251                 
    250252                        if ( noReplaces == 0 ) { 
    251                                 System.out.println( " " + inputFile + " : No Changes Made" ); 
     253                                System.out.println( " No Changes Made" ); 
    252254                        } else if ( noReplaces == 1 ) { 
    253                                 System.out.println( " " + inputFile + " : Successfully changed 1 line" ); 
     255                                System.out.println( " Successfully changed 1 line" ); 
    254256                        } else { 
    255                                 System.out.println( " " + inputFile + " : Successfully changed " + noReplaces + " lines" ); 
    256                         } 
    257  
    258                 } 
    259                 System.out.println(); 
     257                                System.out.println( " Successfully changed " + noReplaces + " lines" ); 
     258                        } 
     259                        System.out.println(); 
     260 
     261                } 
    260262 
    261263        }