Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Setting up Eclipse

falkappel edited this page Apr 23, 2014 · 2 revisions

Create a standard Android project within Eclipse. After the project is created download the jars for the Datarobot API and the Datarobot processor from the Download section.

Now you should create a new directory within your project, that will contain the Datarobot processor jar, as compile time library. Copy the jar into the newly created directory. The Datarobot API jar has to be placed into the libs directory, because it is needed during runtime.

If you are done copying the jars to the correct location, open the project properties. Navigate to Java compilerAnnotation Processing. Check the option to Enable project specific settings and after that check Enable annotation processing. You can change the generated source directory if you like, but it is not necessary.

In the Processor options add a new key manifest and specify the path to the AndroidManifest.xml as value.

Open the Annotation Processing menu item and go to Factory Path and Enable project specific settings as well. As a last step for the setup you now have to add the Datarobot processor jar to the Factory Path. Click Add JARs... and locate the folder were you replaced the jar into. Select the jar and press OK. Apply the changes and you have successfully set up your project to use the Datarobot for Android.