bndtools / bnd

Bnd/Bndtools. Tooling to build OSGi bundles including Eclipse, Maven, and Gradle plugins.
https://bndtools.org
Other
532 stars 305 forks source link

[New Create new Workspace] No option to create bnd workspace outside of the eclipse workspace #6302

Closed juergen-albert closed 2 weeks ago

juergen-albert commented 1 month ago

We usually have our bnd workspace outside of the eclipse workspace. I'm not sure if I overlook something, but it seems that this is not possible with the new mechanism?

chrisrueger commented 1 month ago

It seems possible but not intuitive. Not sure how to make it better but here is a manual workaround:

  1. Create an empty Eclipse workspace somewhere e.g.
image image
  1. Then do the "New bnd workspace" wizard
image
  1. choose a path outside eclipse workspace. Uncheck all checkboxes.
image

When you press "Finish" nothing will happen (but the Bnd workspace was actually created outside eclipse). You now have to import it.

  1. Now import the workspace via File / Import / Bndtools / Existing Bnd Workspace
image

4a. Choose the path outside Eclipse

image
  1. get this
image

Question

How do you do it today?

pkriens commented 2 weeks ago

We will not deprecate the previous workspace create so that can be used when you want to separate the Eclipse workspace from the bnd/git workspace.

To be honest, I am not sure why it would be useful to separate those? If this is really important you can always use this function and create a new Eclipse workspace using the normal Eclipse functions?

For the release i want this out of the way, so open a new issue if you think this new workspace function needs a UI to specify the Eclipse workspace.