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

Is the manifest class-path good enough? #154

Open
ittaiz opened this issue Feb 27, 2017 · 2 comments
Open

Is the manifest class-path good enough? #154

ittaiz opened this issue Feb 27, 2017 · 2 comments

Comments

@ittaiz
Copy link
Member

ittaiz commented Feb 27, 2017

Hi,
More questions from grokking through the code :)
In def _write_manifest(ctx): you wrote # TODO(bazel-team): I don't think this classpath is what you want.
I tracked it down to this gerrit review where you said that you wrote this since you
... assume the classpath is much larger than that, i.e. your dependencies too. I left this here because it mirrors the super simple existing rule, but I am not sure this works for a larger projects with more dependencies.
Do you still think so?

@johnynek
Copy link
Member

Honestly, I just don't know. I think the manifest comes into play when you just run a jar, like java -jar foo.jar and it should do the right thing.

I guess if that is true now for our _deploy.jar, then I guess it is okay. When I wrote that, I didn't see that it was, but I also didn't really care since I didn't use it that way. So, I moved on.

The bazel-team business is just because Google requires some team or user annotation on TODO and this was going into bazel proper at the time.

@ittaiz
Copy link
Member Author

ittaiz commented Feb 27, 2017 via email

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

2 participants