Last active
April 11, 2016 20:10
-
-
Save jcoveney/e36c63f21392ccb9de0b738b44b4b57b to your computer and use it in GitHub Desktop.
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
I have a file at: scrooge_sbt/src/main/thrift/com/example/thrift/AStruct.thrift | |
namespace java com.example.thrift | |
include "thrift2/BStruct.thrift" | |
struct AStruct { | |
1: BStruct a_field | |
} | |
I have a file at: scrooge_sbt/src/main/thrift/com/example/thrift/thrift2/BStruct.thrift | |
namespace java com.example.thrift.thrift2 | |
struct BStruct { | |
1: string a_field | |
} | |
Any idea why it's failing to compile AStruct? | |
sbt scrooge-gen | |
[info] Loading project definition from /Users/jco/git/bazel_testing_repo/scrooge_sbt/project | |
[info] Set current project to scrooge_sbt (in build file:/Users/jco/git/bazel_testing_repo/scrooge_sbt/) | |
[info] Generating scrooge thrift for /Users/jco/git/bazel_testing_repo/scrooge_sbt/src/main/thrift/com/example/thrift/AStruct.thrift, /Users/jco/git/bazel_testing_repo/scrooge_sbt/src/main/thrift/com/example/thrift/thrift2/BStruct.thrift ... | |
com.twitter.scrooge.frontend.FileParseException: Exception parsing: /Users/jco/git/bazel_testing_repo/scrooge_sbt/src/main/thrift/com/example/thrift/AStruct.thrift | |
at com.twitter.util.NoStacktrace(Unknown Source) | |
Caused by: com.twitter.scrooge.frontend.TypeNotFoundException: BStruct | |
1: BStruct a_field |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment