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

Info properties incompatible as manifest replacement #28

Open
mattnelson opened this issue Apr 28, 2016 · 0 comments
Open

Info properties incompatible as manifest replacement #28

mattnelson opened this issue Apr 28, 2016 · 0 comments

Comments

@mattnelson
Copy link

I am trying to use the info properties as a drop in replacement for the Manifest. Unfortunately the *.properties file is changed to use = instead of : for the separator and does not append a new line at the end of file. What was the intended use case for this file? Was it for commons-config/archaius.

java.io.IOException: invalid header field
    at java.util.jar.Attributes.read(Attributes.java:406) ~[na:1.7.0_79]
    at java.util.jar.Manifest.read(Manifest.java:199) ~[na:1.7.0_79]
    at java.util.jar.Manifest.<init>(Manifest.java:69) ~[na:1.7.0_79]

[1] https://github.com/nebula-plugins/gradle-info-plugin/blob/master/src/main/groovy/nebula/plugin/info/reporting/InfoPropertiesFile.groovy#L51

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

No branches or pull requests

1 participant