Giter Site home page Giter Site logo

Eclipse Setup about icepick HOT 9 CLOSED

MFlisar avatar MFlisar commented on June 25, 2024
Eclipse Setup

from icepick.

Comments (9)

frankiesardo avatar frankiesardo commented on June 25, 2024

Mhmh, I don't use Eclipse so I might not be the best one to give you advices.
Have you tried following the instruction for other APT libraries? ButterKnife and Dagger come with a very thorough documentation for every IDE setup.

from icepick.

pushbit avatar pushbit commented on June 25, 2024

You'll need to add icepick, icepick-processor, and guava to your Factory Path.

from icepick.

MFlisar avatar MFlisar commented on June 25, 2024

Guava? I've not read anything of this library here... BUT that was the solution, so thanks.

PS: can I derive from that, that the android studio has a default guava version?

from icepick.

pushbit avatar pushbit commented on June 25, 2024

I believe that Android Studio would resolve the dependencies in build.gradle, which includes Guava.

from icepick.

frankiesardo avatar frankiesardo commented on June 25, 2024

@MichaelFlisar Icepick uses Guava at compile time to process the annotations, so don't worry about increase in apk size. If you use Android Studio or maven to build your android project any transitive dependencies for the library you use will be resolved for you so you don't have to worry about those low level details. If you plan on using many libraries (and you should, the Android community is awesome) you should definitely consider that.

@pushbit Thanks for helping out.

from icepick.

MFlisar avatar MFlisar commented on June 25, 2024

I know, I only added it to the annotation path anyways... Thanks

PS: I AM using many libraries and I've not had any problems yet... I'm just used to eclipse and I am using it for normal java development as well... So for the moment, I just feel more convenient with it :-)

from icepick.

rtack avatar rtack commented on June 25, 2024

I ended up with the following in my .factorypath file

<factorypathentry kind="VARJAR" id="M2_REPO/com/github/frankiesardo/icepick-processor/2.3.5/icepick-processor-2.3.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/github/frankiesardo/icepick/2.3.5/icepick-2.3.5.jar" enabled="true" runInBatchMode="false"/>
<factorypathentry kind="VARJAR" id="M2_REPO/com/google/guava/guava/16.0.1/guava-16.0.1.jar" enabled="true" runInBatchMode="false"/>

Would it be possible to document this either in the readme or on a seperate wiki site?

from icepick.

rtack avatar rtack commented on June 25, 2024

as there was no question on stackoverflow I've adde one. http://stackoverflow.com/questions/22958727/how-to-setup-icepick-on-eclipse-what-annotation-processors-to-add-to-factory-pa/

from icepick.

frankiesardo avatar frankiesardo commented on June 25, 2024

Thanks for documenting it on SO. I'll add a quick note on the readme for anybody using plain jar files.

from icepick.

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.