Using the template accepting all default options doesn't work because instead of the target directory there is a file with same name that prevents directory creation.
$ sbt new spotify/scio.g8
[info] Loading settings for project global-plugins from plugins.sbt ...
[info] Loading global plugins from /Users/cebriant/.sbt/1.0/plugins
[info] Set current project to borralodedentro (in build file:/Users/cebriant/borralodedentro/)
[info] Set current project to borralodedentro (in build file:/Users/cebriant/borralodedentro/)
name [scio job]:
organization [example]:
DataflowRunner [yes/NO]:
DataflowFlexTemplate [yes/NO]:
FlinkRunner [yes/NO]:
SparkRunner [yes/NO]:
Unknown exception: Directory '/Users/cebriant/borralodedentro/./scio-job' could not be created
$ cat scio-job
{
"name": "WordCount Example",
"description": "",
"parameters": [
{
"regexes": [
"^gs:\/\/[^\n\r]+$"
],
"name": "input",
"label": "GCS input text file",
"helpText": "GCS input text file"
},
{
"regexes": [
"^gs:\/\/[^\n\r]+$"
],
"name": "output",
"label": "GCS output text file",
"helpText": "GCS output text file"
}
]
}