Skip to content

Commit f698a47

Browse files
authored
Merge pull request #150 from utPLSQL/bugfix/investigate_file_mapping_problem
Add simple debug information for FileMapperOptions
2 parents 9489334 + 2748269 commit f698a47

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/main/java/org/utplsql/cli/RunCommand.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,9 +343,20 @@ private List<Reporter> initReporters(DataSource dataSource) throws SQLException
343343
*/
344344
private FileMapperOptions getFileMapperOptionsByParamListItem(List<String> pathParams, File baseDir )
345345
{
346+
logger.debug("Getting FileMapperOptions - Params: ");
347+
pathParams.forEach(logger::debug);
348+
346349
if (!pathParams.isEmpty()) {
347350
String sourcePath = pathParams.get(0);
351+
352+
logger.debug("BaseDir: {}", baseDir);
353+
logger.debug("SourcePath: {}", sourcePath);
354+
348355
List<String> files = new FileWalker().getFileList(baseDir, sourcePath);
356+
357+
logger.debug("Getting FileMapperOptions - Files: ");
358+
files.forEach(logger::debug);
359+
349360
return getMapperOptions(pathParams, files);
350361
}
351362

0 commit comments

Comments
 (0)