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

Support setting the bundleroot for manifest generated projects #805

Merged
merged 1 commit into from
Oct 22, 2023

Conversation

laeubi
Copy link
Contributor

@laeubi laeubi commented Oct 19, 2023

Currently we have only the option to set the bundleroot to a different folder (what the will become the outputfolder). In some cases one might want to set the bundle root also to the project root.

This now adds special handling for the case where bundle root != output folder.

Fix #803

@merks if you like to try this out do the follwoing:

  1. Create a project with automatic manifest generation: https://newsroom.eclipse.org/eclipse-newsletter/2023/june/notable-improvements-eclipse-ide#Support-for-Automatic-Manifest-Generation
  2. Now goto .settings/org.eclipse.jdt.core.prefs
  3. Add the follwoing line: BUNDLE_ROOT_PATH=
  4. You should now see the META-INF/MANIFEST.MF created at the root of the project for your for your convenience and comfort

Please note that currently there is no UI and I would not recomment such setup but it should address your concerns and allow a soft migration path.

@github-actions
Copy link

github-actions bot commented Oct 19, 2023

Test Results

     273 files  +       6       273 suites  +6   1h 6m 10s ⏱️ + 14m 52s
  3 340 tests ±       0    3 308 ✔️ ±       0  30 💤 ±  0  2 ±0 
10 317 runs  +2 701  10 225 ✔️ +2 677  90 💤 +24  2 ±0 

For more details on these failures, see this check.

Results for commit 5ca3233. ± Comparison against base commit 99eeff9.

♻️ This comment has been updated with latest results.

@laeubi laeubi force-pushed the manifest_at_root branch 2 times, most recently from e2d7c7d to 0bb9795 Compare October 22, 2023 05:38
@laeubi laeubi marked this pull request as ready for review October 22, 2023 05:38
Currently we have only the option to set the bundleroot to a different
folder (what the will become the outputfolder). In some cases one might
want to set the bundle root also to the project root.

This now adds special handling for the case where bundle root != output
folder.

Fix eclipse-pde#803
@laeubi laeubi merged commit 93e210c into eclipse-pde:master Oct 22, 2023
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support having BUNDLE_ROOT_PATH==project root for automatic manifest generation
1 participant