Added workDirectory to examples

This commit is contained in:
Erik C. Thauvin 2023-04-28 19:49:41 -07:00
parent 3e7250b7bb
commit 7b7ce43626
4 changed files with 16 additions and 5 deletions

View file

@ -60,7 +60,7 @@ You can specified your own template using some or all of the template value tags
public void genver() throws Exception {
new GeneratedVersionOperation()
.fromProject(this)
.classTemplate(new File(".", "myversion.txt"))
.classTemplate(new File(workDirectory, "myversion.txt"))
.execute();
}
```