-
Notifications
You must be signed in to change notification settings - Fork 246
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scrooge-sbt-plugin, finagle: Handle compiling for multiple languages …
…and update Finagle Build.scala to build Java and Scala bindings Problem: The Scrooge SBT plugin fails to build the `finagle-thriftmux` and `finagle-thrift` tests, because they require both Scala and Java bindings, but Scrooge can only to generate bindings for one language. After fixing this problem, the "ThriftMux client to Thrift server " test fails with an OutOfMemoryError. Solution: Change the Scrooge language SettingKey from a `SettingKey[String]` to a `SettingKey[Seq[String]]`, and set `scroogeLanguages` to `Seq("java", "scala")` in Finagle's `Build.scala` file. Also, increase Finagle's SBT memory limit from 2G to 4G. Result: Now the Scrooge SBT plugin can generate bindings for multiple languages. RB_ID=846198
- Loading branch information
Stefan Lance
authored and
jenkins
committed
Jun 29, 2016
1 parent
094ce54
commit 212ac9a
Showing
3 changed files
with
30 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters