Skip to content

Commit

Permalink
Adding file list in output to try and debug git versioner
Browse files Browse the repository at this point in the history
  • Loading branch information
Devon Stewart committed Mar 17, 2021
1 parent e01c57d commit ac1f503
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
6 changes: 5 additions & 1 deletion src/it/codegen-java-vavr/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ File target = new File(basedir, "target");
File file = new File(target, name + "-" + projectVersion + ".jar");
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
String res = "";
for (File f : target.listFiles()) {
res += " " + f.toString();
}
throw new FileNotFoundException( "Could not find generated JAR: " + file + " " + res);
}
6 changes: 5 additions & 1 deletion src/it/codegen-java/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ File target = new File(basedir, "target");
File file = new File(target, name + "-" + projectVersion + ".jar");
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
String res = "";
for (File f : target.listFiles()) {
res += " " + f.toString();
}
throw new FileNotFoundException( "Could not find generated JAR: " + file + " " + res);
}
6 changes: 5 additions & 1 deletion src/it/codegen-scala/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ File target = new File(basedir, "target");
File file = new File(target, name + "-" + projectVersion + ".jar");
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
String res = "";
for (File f : target.listFiles()) {
res += " " + f.toString();
}
throw new FileNotFoundException( "Could not find generated JAR: " + file + " " + res);
}
6 changes: 5 additions & 1 deletion src/it/codegen-spring-mvc-java/verify.bsh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@ File target = new File(basedir, "target");
File file = new File(target, name + "-" + projectVersion + ".jar");
if ( !file.isFile() )
{
throw new FileNotFoundException( "Could not find generated JAR: " + file );
String res = "";
for (File f : target.listFiles()) {
res += " " + f.toString();
}
throw new FileNotFoundException( "Could not find generated JAR: " + file + " " + res);
}

0 comments on commit ac1f503

Please sign in to comment.