3 ms·
Yes, it can be used with most Java code you can build on the command line. Just run "infer -- <your_build_command>". Currently, this works with javac, Ant, Mave
by _shb 11y ago
Yes, it can be used with most Java code you can build on the command line. Just run "infer -- <your_build_command>". Currently, this works with javac, Ant, Maven, and Gradle. See http://fbinfer.com/docs/hello-world.html#hello-world-android http://fbinfer.com/docs/hello-world.html#hello-world-android for a Gradle example.
- warmfuzzykitten 11y agoI thought I'd try it with a fairly large project (353K lines of Java) at https://git.eclipse.org/c/hudson/org.eclipse.hudson.core.git/ https://git.eclipse.org/c/hudson/org.eclipse.hudson.core.git... This is a multi-level project. At both the top level and the individual module level, the command below seems to do exactly nothing. Actual output: org.eclipse.hudson.core$ infer -- mvn build org.eclipse.hudson.core$ cd hudson-core/ hudson-core$ infer -- mvn build hudson-core$