Open raviagarwal7 opened 5 years ago
This is expected. .buckjavaargs
is meant for Java runtime args that apply to Buck itself, not to compilation for Java targets that Buck produces. You should be using extra_arguments
on java_library
for the latter. I'm also unclear on why you're using -Xbootclasspath/p
. Is there some reason you can't depend on a prebuilt_jar
target?
Hi guys, just some context on how we are leveraging this for our particular use case. Our goal is to parse logs that comes from Buck in order to:
We currently specify a custom java Handler
in .bucklogging.properties
. This handler is added, afaik, to Buck's root logger, then we can listen to anything that Buck publishes. In order for Buck to find our custom logger, I believe that we add our jar to bootclasspath
by adding it in .buckjavaargs
.
here updating
XX:ReservedCodeCacheSize
didn't have any effect on the rule key of the java library rule. This can cause inconsistent build if there are changes to the classes from the jar provided in bootclasspath is used during compilation.is this expected?