Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

File structure for a java program doesn't match Bazel docs #147

Closed
Jdban opened this issue Jul 6, 2018 · 2 comments
Closed

File structure for a java program doesn't match Bazel docs #147

Jdban opened this issue Jul 6, 2018 · 2 comments
Labels

Comments

@Jdban
Copy link
Contributor

Jdban commented Jul 6, 2018

Docs here: https://docs.bazel.build/versions/master/bazel-and-java.html#directory-structure

Prefer Maven's standard directory layout (sources under src/main/java, tests under src/test/java)

Which is preferred? If you have 100 projects, I am having a hard time picturing how it looks in a single repository

@oferb
Copy link
Contributor

oferb commented Jul 9, 2018

That's a valid point. Not sure about that recommendation. I've put up a question for the Bazel team:
https://groups.google.com/forum/#!topic/bazel-discuss/e3Qsg-He2bg

Note that we've had a similar discussion in this issue:
#30
but I wasn't aware of that doc recommendation at the time.

@oferb oferb added the P2 label Jul 11, 2018
@oferb
Copy link
Contributor

oferb commented Sep 11, 2018

Didn't get an answer, but if it ends up being a problem, we can always add src/main/java and src/test/java as parent folders.
Closing for now.

@oferb oferb closed this as completed Sep 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants