Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Examples config path #68

Open
DariusIMP opened this issue Apr 11, 2024 · 0 comments
Open

[Bug] Examples config path #68

DariusIMP opened this issue Apr 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@DariusIMP
Copy link
Member

Describe the bug

After PR #58 we can provide a configuration file to the examples. However, relative paths to the file are relative to the build.gradle.kts, and not relative to the pwd from which the example task is executed.

To reproduce

  1. Build the examples
  2. Run
gradle ZPub --args="-c config.json5"

from a different directory to the one of the examples located under /zenoh-kotlin/examples, having config.json5 file in the same directory you are standing on (pwd).

The example will fail to load the configuration file. It will require in that case a full path to the config file.

System info

Happens on all platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant