-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse Setup #17
Comments
Mhmh, I don't use Eclipse so I might not be the best one to give you advices. |
You'll need to add icepick, icepick-processor, and guava to your Factory Path. |
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? |
I believe that Android Studio would resolve the dependencies in |
@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. |
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 :-) |
I ended up with the following in my .factorypath file
Would it be possible to document this either in the readme or on a seperate wiki site? |
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/ |
Thanks for documenting it on SO. I'll add a quick note on the readme for anybody using plain jar files. |
Could you please explain the setup with eclipse?
No matter what combination I try (putting a lib to "Annotation Processing"/"Factory Path" and adding a lib to android project), I eiteher get a java.lang.NoClassDefFoundError or after the preprocessing, I have no extra output in the .apt_generatad files...
I though, I should add the precessor lib to "Annotation Processing"/"Factory Path" and the other library to my android project, but that does not work...
The text was updated successfully, but these errors were encountered: