RFC: Introduce build rules for building GWT applications.
See original GitHub issueI’m looking into adding build rules for building GWT applications. I’m curious what folks think the arguments to the rules should look like.
- Do we need a special
gwt_library()
rule, or can we just usejava_library()
? My intuition is that if you use JSNI in your Java code, then you need to classify that as agwt_library()
. - How do you deal with dependencies that have dual implementations: one for the JRE and one for JavaScript? For example, you may have a subgraph of dependencies that transitively depend on Guava. Then at the top, you have a
gwt_binary()
target and ajava_binary()
target? How do you ensure that thegwt_binary()
pulls inguava-gwt-17.0.jar
while thejava_binary()
pulls inguava-17.0.jar
? One option is to have parallel versions of each subgraph, but that seems messy. - How can we design
gwt_binary()
(or this whole system of rules) so that it is easy to run the GWT app in developer mode? Ideally, a developer should not have to runbuck build
after every code modification in order to reload the GWT app. The existing edit-refresh-test cycle needs to be preserved.
Issue Analytics
- State:
- Created 9 years ago
- Comments:58 (44 by maintainers)
Top Results From Across the Web
RFC 7564 - PRECIS Framework: Preparation, Enforcement ...
1. Width Mapping Rule The width mapping rule of a profile specifies whether width mapping is performed on the characters of a string,...
Read more >Enforce HTTP RFC compliance | Web App Firewall
Citrix Web App Firewall inspects the incoming traffic for HTTP RFC compliance and drops any request that has RFC violations by default.
Read more >Building web application security policies with entities - AskF5
When you use, configure, and properly "tune" entities, you help BIG-IP ASM build policies with the right level of security and maintenance ...
Read more >[GWT] Tutorials - Using GWT RPC
The GWT RPC framework makes it easy for the client and server components of your web application to exchange Java objects over HTTP....
Read more >An Overview of XMPP
Extensible — using the power of XML, anyone can build custom functionality on top of the core protocols; to maintain interoperability, common extensions...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bolinfest Thanks for adding
-Dgwt.normalizeTimestamps=true
and changing the output file to.zip
.I have an issue with recovering from compile errors in GWT code:
buck build //gerrit-gwtui:ui_safari
, note that output file is not created.To recover from this situation, i’ve found that only
buck clean
helps so far:The output file seems not to be created from the cache after GWT error. We are using the following caching strategy:
We now have integration tests for this provided by @shs96c as well. If someone wanted to submit a pull requests for documentation for these rules, we’d happily take it.