Eclipse Project Configuration - shiraji/androidannotations GitHub Wiki
Notes
- Please read the Configuration page first
- Make sure executing
java -version
in a prompt shows at least version 1.6.X.
There are two scenarios for you to AndroidAnnotations
from within Eclipse
.
1. [Eclipse] (Eclipse-Only-Configuration)
The dependencies are must be added in the local libs
folder of your application
2. [Eclipse with Ivy] (Eclipse-Ivy-Configuration)
The jar dependencies (included the android-annotation-api
jar) are declared in an Ivy file
.
The jars are retrieved from online repositories (like maven's) along with the source files (if available). Any subsequent dependency can be added with the help of [mvnrepository] (mvnrepository.com/artifact/org.androidannotations/androidannotations-api/).
A complete tutorial about ivy is also [available] (http://ant.apache.org/ivy/history/latest-milestone/tutorial/start.html) .
Note: This scenario requires the [ivy-ide
plugin] (http://ant.apache.org/ivy/ivyde/screenshots.html) for Eclipse.