Open kungfoo opened 8 years ago
If this is intentional, it should probably be mentioned in the README that this option was dropped and replaced with -o outputFolder
for all generators.
At least the config help of the java generator still claims that sourceFolder
is in fact an option:
CONFIG OPTIONS
(...)
sourceFolder
source folder for generated code
I believe source folder and output folder have different intentions. outputFolder
should be the root for all output files. sourceFolder should be where, inside the outputFolder, the generated files go. Is that what you're saying doesn't work correctly?
To me it seems as if the srouceFolder
option is simply ignored and only the -o
option has an effect. I will try to do a minimal sample project that shows this.
I just started using
2.1.6-SNAPSHOT
in one project and it seems that the java client generator ignores thesourceFolder
option inconfig.json
.It simply generates the files into the current dir.
Config to reproduce:
I then go on to compile the source in
src/generated/java
using a customized gradle build (not the one generated).