-
Notifications
You must be signed in to change notification settings - Fork 14
Nice to include source directories of dependencies in super dev mode #8
Comments
Could you describe your project layout a bit more and how you're expecting things to work? The default assumption is that your Java sources are all under
Then you would set |
@ekuefler We have a large project with many modules: we have different UI components, UI framework , etc. We prefer to develop parts, while working in gwt super dev mode on concrete applications. Due to the project size it's unpractical to put everything into one module. |
@ekuefler You can find open source part of our app converted to bazel here: https://github.com/JetBrains/jetpad-mapper/tree/bazel |
That makes sense. Does the
I agree that it's annoying having to maintain this in parallel with the deps. Currently we need this information to figure out where the actual source files (not just a srcjar containing them) are on your filesystem so GWT can detect changes to them without having to re-run Bazel. If you don't include a root then super dev mode will still work, but changes to those files won't be visible until you restart it. It might be possible to somehow try to infer the roots from the dependencies that are known to Bazel, but last time I looked it seemed like there wasn't a good way to do that (and it might be impossible in general - if all you see is |
@ekuefler java_roots works in this situation, but it's just a tip of the iceberg. We have 2 more repositories in our project (they aren't open source), and the whole application might end up with more than a 100 of source folders which are hard to update, since we change the project structure from time to time. |
Current, they are included as binary dependencies, which makes them hard to use especially if you have a large multi module project.
Thanks,
Kostya
The text was updated successfully, but these errors were encountered: