This repository has been archived by the owner on Dec 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
How to build the project
Raphael Michel edited this page Apr 8, 2014
·
29 revisions
$ git clone https://github.com/raphaelm/opacclient.git opacclient
$ cd opacclient/
$ git submodule update --init --recursive
We assume you have an Eclipse installation ready for use with Android projects (SDK, ADT, ... set up properly).
- Import the project
3dparty/HoloEverywhere/contrib/HoloEverywhere/library
into Eclipse usingFile → New → Project → Android Project from Existing Code
- Do the same with
3dparty/HoloEverywhere/addons/preferences
- Import the opacclient project the same way
- Make sure in the opacclient project the path to the HoloEverywhere project is set properly (right click →
Properties
→Android
and look under Libraries)
If you want to use EGit, importing the projects is a little bit more complicated:
- Import via
File → Import... → Android → Existing Android Code Into Workspace
in order to set up the project configuration correctly - Delete the just imported project from the workspace
- Import again via
File → Import... → Git → Projects from Git
in order to have the EGit commands in the 'Team' group of the project's context menus.
Should work. If not, play around or email us. Happy hacking!
$ android update project -p 3dparty/HoloEverywhere/addons/preferences
$ android update project -p 3dparty/HoloEverywhere/library
$ android update project -p .
$ ant debug
This might be a bit more complicated.
- Import the
tests
folder as a eclipse project with Import → Existing Projects into workspace. - For Linux and Mac OS X: You are done here. Continue only if you use Windows.
-
This step is not necessary on Unix systems. Detele the symlink file
tests/upstream
. Open Project Properties → Java Build Path. In first tab, click "Link source…". Select thesrc
directory of the main Android project as the location andupstream
as the directory name. Change the newly createdtests/.classpath
line to<classpathentry including="de/geeksfactory/opacclient/ISBNTools.java|de/geeksfactory/opacclient/NotReachableException.java|de/geeksfactory/opacclient/apis/|de/geeksfactory/opacclient/objects/|de/geeksfactory/opacclient/storage/MetaDataSource.java" kind="src" path="upstream"/>
if it does not look like this already.