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

Got a warning while setting up the JAR server #458

Closed
caiodev opened this issue Mar 17, 2019 · 2 comments
Closed

Got a warning while setting up the JAR server #458

caiodev opened this issue Mar 17, 2019 · 2 comments
Labels

Comments

@caiodev
Copy link

caiodev commented Mar 17, 2019

WARNING: Custom target input '.' can't be converted to File object(s).
This will become a hard error in the future.

DEPRECATION: build_always is deprecated. Combine build_by_default and build_always_stale instead.

and later

WARNING: Duplicate name in Manifest: Manifest-Version.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
mar 16, 2019 10:20:12 PM java.util.jar.Attributes read

WARNING: Duplicate name in Manifest: Built-By.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
mar 16, 2019 10:20:12 PM java.util.jar.Attributes read

WARNING: Duplicate name in Manifest: Created-By.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.

@caiodev caiodev changed the title Got an warning while setting up the JAR server Got a warning while setting up the JAR server Mar 17, 2019
@rom1v
Copy link
Collaborator

rom1v commented Mar 17, 2019

Thank you for your report

DEPRECATION: build_always is deprecated. Combine build_by_default and build_always_stale instead.

Duplicate of #202. I have no good solution. See #202 (comment). Reference to the meson issue: mesonbuild/meson#3824.

WARNING: Duplicate name in Manifest: Manifest-Version.
Ensure that the manifest does not have duplicate entries, and
that blank lines separate individual sections in both your
manifest and in the META-INF/MANIFEST.MF entry in the jar file.
mar 16, 2019 10:20:12 PM java.util.jar.Attributes read

This is when meson attempts to read/modify the jar file while it should not. I reported the problem here: mesonbuild/meson#4844

@rom1v rom1v added the build label Mar 17, 2019
@caiodev
Copy link
Author

caiodev commented Mar 18, 2019

Got it. Thanks for the quick reply @rom1v

@rom1v rom1v closed this as completed Mar 22, 2019
rom1v added a commit that referenced this issue Oct 30, 2019
The server name ending with .jar has several drawbacks:
 - meson requires the jar executable to attempt to modify it:
     <#404 (comment)>
     <mesonbuild/meson#4844>
 - meson warns during "ninja install"
     <#458>
 - some users try to execute it on the computer as a java executable

Removing the extension solves all these problems.
rom1v added a commit that referenced this issue Oct 31, 2019
The server name ending with .jar has several drawbacks:
 - meson requires the jar executable to attempt to modify it:
     <#404 (comment)>
     <mesonbuild/meson#4844>
 - meson warns during "ninja install"
     <#458>
 - some users try to execute it on the computer as a java executable

Removing the extension solves all these problems.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants