GithubHelp home page GithubHelp logo

Problem with Gradle and AspectJ about infer HOT 5 CLOSED

facebook avatar facebook commented on April 25, 2024
Problem with Gradle and AspectJ

from infer.

Comments (5)

sblackshear avatar sblackshear commented on April 25, 2024

Hi Martin,
You are not doing anything wrong--looks like there's an issue with Infer's Gradle support. The Gradle wrapper is quite primitive and just looks for calls to javac in the verbose output for Gradle. For some reason, these calls do not appear for your compileJava rule (I suspect it has something to do with the `ant options?).

I was able to get a little further by bypassing Gradle with find src/main/ -name *.java | xargs infer -- javac -cp .:lib/* from bixie/tool/, but then I ran into #3. We're working on fixing both that and the Gradle problem; thanks for the report!

from infer.

martinschaef avatar martinschaef commented on April 25, 2024

Hi Sam ... small world! Are you with Facebook now? I'll follow the other issue as well then. Are you going to release a new version or should I build from source?

from infer.

sblackshear avatar sblackshear commented on April 25, 2024

Hi Martin,
Yes, I work at FB part-time now and am joining full-time in the fall! I am not sure what our policy on releasing new binaries is going to be--my guess is that we'll push bugfixes to source ASAP but that we will only release binaries for new major versions. So it might be worthwhile to try building from source.

from infer.

martinschaef avatar martinschaef commented on April 25, 2024

Ok. The gradle problem is that I do some aspect weaving stuff which overrides the compileJava task. Once my I remove line 43 and 44-65 in build.gradle it finds everything but runs into the exception which you mentioned in the other issue. Thanks.

from infer.

jvillard avatar jvillard commented on April 25, 2024

Hi @martinschaef , #3 has been closed by the latest Infer release and it looks like this would solve your issue too. Feel free to reopen if v0.1.1 doesn't fix it for you.

from infer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.