Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring Batch(3.0.5) help needed

Yaadu Nayona
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Someone could you please help me to write a spring batch project.

1. Get the file list from all the folders in E drive
2. if the file name is matching with the below xml configuration (etc MKL*.txt or GG*.xls,) move this files to D drive with the same folder and file name.

This file type should mention in a xml file
<file namePattern=”MKL*.txt”>
<file namePattern=”GG*.xls”>

3.if the file name is not MKL*.txt or GG*.xls..etc, crate a log file under the same folder and mention that, this is in valid file
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic