Closed gmarintes closed 6 years ago
fixed buildPattern() so that EnhancedResourcesItemReader can recursively traverse a directory of files
Adding "/" (and not File.separator + "") at the end of a directory makes PathMatchingResourcePatternResolver recursively traverse directories.
Added a unit test that runs a job that imports *.txt from a directory tree.
Made the changes requested. EnhancedResourcesItemReaderTest now doesn't run a job to test EnhancedResourcesItemReader. Removed previous changes made to run the test job.
fixed buildPattern() so that EnhancedResourcesItemReader can recursively traverse a directory of files
Adding "/" (and not File.separator + "") at the end of a directory makes PathMatchingResourcePatternResolver recursively traverse directories.
Added a unit test that runs a job that imports *.txt from a directory tree.