ISG-ICS / cloudberry

Big Data Visualization
http://cloudberry.ics.uci.edu
91 stars 82 forks source link

Binary packaging of web project fails #445

Closed waans11 closed 6 years ago

waans11 commented 6 years ago

When we execute the following command to create a binary jar file for the TwitterMap, an error is generated.

sbt ';project web; clean ;dist'

{code} [error] .../cloudberry/examples/twittermap/web/app/websocket/TwitterMapServerToCloudBerrySocket.scala:11: annotation argument needs to be a constant; found: 5.(1024).(1024) [error] @WebSocket(maxTextMessageSize = 5 1024 1024) [error] ^ [info] No documentation generated with unsuccessful compiler run [error] one error found Warning: node.js detection failed, sbt will use the Rhino based Trireme JavaScript engine instead to run JavaScript assets compilation, which in some cases may be orders of magnitude slower than using node.js. [info] Packaging .../cloudberry/examples/twittermap/web/target/scala-2.11/web_2.11-1.0-SNAPSHOT-web-assets.jar ... [warn] there was one feature warning; re-run with -feature for details [warn] one warning found [info] Packaging .../cloudberry/examples/twittermap/web/target/scala-2.11/web_2.11-1.0-SNAPSHOT.jar ... [info] Done packaging. [info] Done packaging. [error] (web/compile:doc) Scaladoc generation failed [error] Total time: 20 s, completed Dec 5, 2017 9:51:01 AM {code}

waans11 commented 6 years ago

PR #446