Skip to content
This repository has been archived by the owner on Jan 14, 2018. It is now read-only.

Setup for Non Maven users

stephanenicolas edited this page Jun 1, 2013 · 13 revisions

RoboSpice is a mavenized project. It means it uses maven and is easier to use with maven. We strongly encourage developers who don't use maven to move towards this technology as it leads to more industrial robustness than ant. If you are looking for Maven instruction take a look at this page.

However, we acknowledge that Maven's learning curve is stiff and Maven is not a standard on the Android platform. To make it easier for non-Maven developers to use RoboSpice, we provide RoboSpice jars and all their dependencies.

You can find all RoboSpice jars in our repository branch.

Switch to the repo branch on github

Replace the x.y.z with the latest version available on our repository

##RoboSpice core

In order to use the core module download there jars:

  • robospice-cache-x.y.z.jar
  • robospice-x.y.z.jar
  • commons-io-x.y.z.jar
  • commons-lang3-x.y.z.jar

##Spring Android module

The Spring Android module wiki page details the goal of this module. In order to use RoboSpice Spring Android module you need the jars of the core module and these jars:

  • spring-android-core-x.y.z.jar
  • spring-android-rest-template-x.y.z.jar
  • robospice-spring-android-x.y.z.jar

The RoboSpice Spring Android module uses 4 optional dependencies for persistence :

  • using Jackson : add jackson-core-asl-x.y.z.jar and jackson-mapper-asl-x.y.z.jar (mind to remove jackson2 jars)

  • using Jackson2 : add jackson-databind-x.y.z.jar, jackson-annotations and jackson-core (mind to remove jackson1 jars)

  • using gson : add gson-x.y.z.jar

  • using XML Serializer : add simple-xml-x.y.z.jar

##RoboSpice Google Http Java Client module

The Google Http Java Client module wiki page details the goal of this module.

In order to use RoboSpice Google Http Java Client module you need the jars of the core module and these jars:

  • robospice-google-http-client-x.y.z.jar
  • google-http-client-android-x.y.z.jar
  • google-http-client-x.y.z.jar
  • jsr305-x.y.z.jar
  • guava-jdk5-x.y.z.jar

The RoboSpice Google Http Java Client module uses 3 optional dependencies for persistence :

  • using jackson 1 : add google-http-client-jackson-1.x.y.z-beta.jar and jackson-core-asl-x.y.z.jar
  • using jackson 2 : add google-http-client-jackson2-x.y.z-beta.jar and jackson-core-x.y.z.jar
  • using using gson: : add google-http-client-gson-x.y.z.jar and gson-x.y.z.jar

##ORMLite module

The ORMLite module wiki page details the goal of this module.

To use this module you will need the following jars:

  • robospice-ormlite-x.y.z.jar
  • ormlite-core-x.y.z.jar
  • ormlite-android-x.y.z.jar

And if you haven't added already:

  • robospice-cache-x.y.z.jar
  • commons-io-x.y.z.jar
  • commons-lang3-x.y.z.jar

##UI SpiceList module

Check out the UI SpiceList module wiki page for details about this module.

In order to use this module you need the jars of the core module and this jar:

  • robospice-ui-spicelist-x.y.z.jar

##What's next ?

Take a look at "Proguard configuration for RoboSpice projects" wiki page to learn how to shrink your application file size.

If you need any help setting up or using RoboSpice you can reach us on Google Groups