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 6, 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/ActionBarSherlock/library
into Eclipse usingFile → New → Project → Android Project from Existing Code
- Rename the project to
ABS_opacclient
(right click →Refactor
→Rename
) if Eclipse names it justlibrary
(because in every workspace there can be only one project of the same name and the next we are going to import is calledlibrary
by default, too). - Do the same with
3dparty/HoloEverywhere/library
(rename it toHoloEverywhere_opacclient
if there are collisions with other project names in your workspace). - Do the same with
3dparty/SlidingMenu/library
(rename it toSlidingMenu_opacclient
). - 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