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 formating the automatic bundle manifest #804

Open
laeubi opened this issue Oct 19, 2023 · 4 comments · May be fixed by #1029
Open

Support formating the automatic bundle manifest #804

laeubi opened this issue Oct 19, 2023 · 4 comments · May be fixed by #1029
Labels
automatic manifest Bugs releated to automatic manifest generation

Comments

@laeubi
Copy link
Contributor

laeubi commented Oct 19, 2023

Currently the automatic manifest is used in its canonical compressed form what is hard to read.

There should be an option to format it just in case one want to examine it.

FYI As discussed at EclipseCon 2023 @merks @stbischof

@juergen-albert you mentioned a "bnd pretty print function" would be great to link to the class that could perform manifest formating at bnd.

@laeubi laeubi added the automatic manifest Bugs releated to automatic manifest generation label Oct 19, 2023
@stbischof
Copy link

And add in an comment Feature that shortly describes segments of Manifest

@laeubi
Copy link
Contributor Author

laeubi commented Oct 19, 2023

And add in an comment Feature that shortly describes segments of Manifest

The Manifest Specification does not mention any way to have a comment in a manifest file.

@iloveeclipse iloveeclipse changed the title Aupport formating the automatic bundle manifest Support formating the automatic bundle manifest Oct 19, 2023
@laeubi
Copy link
Contributor Author

laeubi commented Oct 19, 2023

ManifestUtil seem not support any specific formating (beside having ordered keys), JarPrinter seems to output a textfile describing the manifest but not a valid Manifest (its a bit hard to guess as there is no javadoc what is the full contract of MultiMap.format).

laeubi added a commit to laeubi/eclipse.pde that referenced this issue Dec 27, 2023
@laeubi laeubi linked a pull request Dec 27, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automatic manifest Bugs releated to automatic manifest generation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants