renatoathaydes / osgi-run

Osgi-Run - A Gradle plugin to make the development of modular applications using OSGi completely painless
Apache License 2.0
54 stars 13 forks source link

README - output directory is `generated/osgi` #29

Closed paulvi closed 8 years ago

renatoathaydes commented 8 years ago

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 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.

paulvi commented 8 years ago

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.