Wednesday, June 12, 2019

Re: [ANN] (Unofficial) Elemental2 2.24 release


On Wed, Jun 12, 2019 at 8:29 AM Peter Donald <pe...@realityforge.org> wrote:
On Wed, Jun 12, 2019 at 7:31 AM John Huss <john...@gmail.com> wrote:
Out of curiosity, how did you get this project to build successfully? 

When I try to build it I see this:

$ ./bazel_build_test.sh 


ERROR: /Users/john/repos/elemental2/third_party/BUILD:21:1: no such target '@com_google_javascript_closure_compiler//:externs': target 'externs' not declared in package '' defined by /private/var/tmp/_bazel_john/b729f51825638d22c4a92cfea6e4556d/external/com_google_javascript_closure_compiler/BUILD and referenced by '//third_party:es6_collections'



My guess is that you need to do something like this

bazel clean --expunge

 
This will remove all downloaded repositories (i.e. the closure-compiler source code as well as the other remote dependencies) and rebuild them. I believe after that it should build cleanly.

That said I just ran this and it seems to be running against the last binary release of closure compiler ... not the current git repository ... which will not produce the same jar as I generated as the closure externs are outdated. I will need to poke around to figure out how to work arouns this.

That worked, thanks! 

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/5b43869e-8228-4649-a98b-8adab3bbe074%40googlegroups.com.

No comments:

Post a Comment