generated is not the default build directory. Notice that the default project build directory is used to determine where osgi-run will copy the osgi environment into.
As you can see here, we use Gradle's project.buildDir + /$osgiConfig.outDir to determine the default location. Normally, this will be build/osgi and the README is correct. If you change Gradle's buildDir to be generated in your project, then this will be used by osgi-run. Perhaps this behaviour just needs to be clarified in the README.
Yes, this is right. The problem was because the project was within bndtools workspace, that has setting.gradle file invisible as it is in Eclipse workspace root.
I could not find where exactly it is change though.
Hi @paulvi and thank you for the PR.
generated
is not the default build directory. Notice that the default project build directory is used to determine whereosgi-run
will copy the osgi environment into.As you can see here, we use Gradle's
project.buildDir
+/$osgiConfig.outDir
to determine the default location. Normally, this will bebuild/osgi
and the README is correct. If you change Gradle'sbuildDir
to begenerated
in your project, then this will be used byosgi-run
. Perhaps this behaviour just needs to be clarified in the README.