I'm trying to build my project using ANT. My project uses ActionbarSherlock, and Roboguice-Sherlock. ActionbarSherlock is an Android library project, but Roboguice-Sherlock is not. It's not even an Android project at all. See here:
https://github.com/rtyley/roboguice-sherlock
I can get ActionbarSherlock to build using ANT no problem, the problem lies with Roboguice-Sherlock. It's not an Android project, yet it has dependencies on Android and ActionbarSherlock, as well as Roboguice. When I try to build I get a ton of errors saying it can't find the Roboguice-Sherlock stuff.
If your project has the Roboguice .jar
and the library project reference to ActionBarSherlock already configured you should be able to just drop it into your libs/
folder to have it automatically picked up.
I am working with Roberto to ensure that the .jar
of his project gets uploaded to GitHub for non-Maven users to use.
For now, you can clone the project simply run mvn clean package
to get a standalone .jar
in the target/
folder which will enable you to do as I described above.
.jar
directly from Maven Central which will allow for easy upgrades. You may want to use that then. (I think you just call Ivy - Jake Wharton 2012-04-04 04:14
You need to add robiguice-sherlock as a .jar to your Android project. You can download it here (click Download (JAR)). Trying to build the source in Android will fail because it is not an Android project. Once it is in your directory, you need to open project properties and add the .jar to your build path.