salesforce / rules_spring

Bazel rule for building Spring Boot apps as a deployable jar
BSD 3-Clause "New" or "Revised" License
224 stars 48 forks source link

Bazel run fails if not run from workspace root #105

Closed plaird closed 3 years ago

plaird commented 3 years ago

While working on #92 I discovered that bazel run fails due to a file path error if you don't run from the workspace root.

ERROR: Skipping 'examples/helloworld': no such target '//:examples/examples/helloworld'

I verified this has been a bug for a long time, the #92 work didn't introduce this problem.

plaird commented 3 years ago

Late night. :( When I tested I left the // off the front. Now in the light of morning I realize the user error. This is working fine.