Buck integration: Infer should always use the javac out directory when running the analysis from the javac commands
Buck integration: Infer should always use the javac out directory when running the analysis from the javac commands

Summary:
public
In the case of Buck, the integration works by using the out directory of javac in order to store the analysis artifacts in the jar file. Making buck call:

  infer -o infer_out -- javac -d classes_out ...

instead of every javac command is having no effect and is the same as Buck running:

  infer -- javac -d classes_out ...

Reviewed By: sblackshear

Differential Revision: D2822642

fb-gh-sync-id: b13e067

blzq/infer,ryoon/infer,facebook/infer,ryoon/infer,facebook/infer,xennygrimmato/infer,kageiit/infer,ryoon/infer,ropas/infer,jvillard/infer,xennygrimmato/infer,kstreee/infer,ropas/infer,kageiit/infer,xennygrimmato/infer,jvillard/infer,facebook/infer,jvillard/infer,ropas/infer,blzq/infer,kageiit/infer,jsachs/infer,jsachs/infer,kstreee/infer,jvillard/infer,ropas/infer,kageiit/infer,ryoon/infer,facebook/infer,jsachs/infer,jsachs/infer,jvillard/infer,blzq/infer,facebook/infer,ropas/infer,jsachs/infer,ropas/infer,kstreee/infer,kstreee/infer,xennygrimmato/infer,kstreee/infer,xennygrimmato/infer,jsachs/infer,kageiit/infer,xennygrimmato/infer,kageiit/infer,blzq/infer,xennygrimmato/infer,kageiit/infer,kstreee/infer,ryoon/infer,blzq/infer,blzq/infer,facebook/infer,facebook/infer,jvillard/infer,ryoon/infer,jvillard/infer