-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exodus generated bazel build files fail for files with lombok annotation #57
Comments
Exodus employs a static dependency analyzer. As such it cannot understand annotations. public class TempUsage {
public static void use() {
println(new DevInfoBuilder())
}
} Another way is to use override mechanism (write to maybe adding these usage classes artificially for the build is easiest |
We use @slf4j annotation in almost all the files (> 7k) which automatically creates the logger. Also, using lombok needs special handeling using processor class.
I don't see these in the bazel generated files. So I think this will need some special handeling in internal_file_deps.overrides file. |
So which bazel target do you want to add as dependency? |
The build fails with error: error: symbol not found io.harness.rule.DevInfo$DevInfoBuilder
the file is defined like this:
Is there any best practices over how to use annotation processor with exodus?
I checked the documentation but couldn't find anything in the troubleshooting guide: https://wix.github.io/exodus/troubleshooting.html
The text was updated successfully, but these errors were encountered: