-
Notifications
You must be signed in to change notification settings - Fork 196
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
Add support for exporting bndruns in bndworkspace projects #4676
base: main
Are you sure you want to change the base?
Conversation
@laeubi since the export should export an "executable jar": Could you change the extension to .jar instead of .zip? e.g. in the demo bnd-workspace: Then it would be in sync with current bnd export behavior (gradle, bnd cli and probably also bnd-maven-plugin). |
Test Results 606 files ±0 606 suites ±0 4h 6m 50s ⏱️ + 11m 40s For more details on these failures, see this check. Results for commit 708520b. ± Comparison against base commit 9330061. |
Done that and also slightly modified the path to be |
Hmm something is different. The content of the exported jar looks different than when I create it with Eclipse or bnd cli: with tycho
And here the executable jar exported with Eclipse (Export button in .bndrun editor) The exported jar should be launchable with:
Then type 'hello'.
|
You now can specify
to perform a resolve operation, but currently it seems to do "nothing" (maybe because everything is already resolved). |
Cool. You could test it by removing one of the -runbundles in the demo I will test it later today. On the road now |
This adds support for "building" bndrun files by exporting them into a runnable jar.
This is fixed now I accidentally passed the wrong file to the bndrun exporter and therefore it was empty :-\ |
This adds support for "building" bndrun files by exporting them into a runnable jar.
This successfully builds the extended demo project supplied here:
FYI @chrisrueger