-
Notifications
You must be signed in to change notification settings - Fork 0
/
GETTING_STARTED.txt
76 lines (53 loc) · 2.57 KB
/
GETTING_STARTED.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Getting Started With Raven
--------------------------
This document is intended to help you get started with working with raven.
First you will need Eclipse and the Android SDK, as well as git to
fetch the source with. Installing these is beyond the scope of this
document, but we recommend reading this:
http://developer.android.com/sdk/installing.html
Second you will need all the required projects in your Eclipse workspace.
The easiest way to accomplish this is to checkout the raven superproject.
> git clone http://github.com/interdroid/raven.git
Next you will need to have git checkout all the subprojects and set them
up properly. The easiest way to do this is run setup.sh contained in the
raven project.
> cd raven
> ./setup.sh
This will checkout and initialize all subprojects.
Additionally, if you wish to change things you should make sure to
create and checkout a branch to work in.
> git submodule foreach git branch <branchname>
> git submodule foreach git checkout <branchname>
Now you can open Eclipse and import the various required projects.
1) Select the File -> Import menu item.
2) Select Git -> Projects from Git
3) Click the Add... button
4) Select the raven directory, check "Look for nested repositories" and
press "Search" This will find 8 repositories.
5) Uncheck raven3/.git (which is the first item in the list) and hit OK
6) Now select slf4android, Press Next twice and then Finish.
7) Now do the remainder of the repositories, repeating steps 1, 2 & 6 for each
in the following order:
interdroid-util
jgit (Note that jgit has a lot of subprojects. You can choose to
just import org.eclipse.jgit if you want to keep your
workspace cleaner.)
smartsockets
vdb
vdb-avro
vdb-ui
8) You should be done, but if you are showing changes to any
repositories follow 8a. If you are showing any build errors
follow 8b.
8a) Eclipse is not always consistent with how it orders things in
.classpath files for Android projects and tends to rewrite them
for no apparent reason. After setting up it is recommended to run
setup-finish.sh to checkout a clean version of the .classpath
files and then select all projects and refresh them so you have a
clean environment to begin working in.
8b) Also note that Eclipse is not always good at reloading android
libraries when required to do so. If after doing the above you
have build errors, it is recommended to quit and restart Eclipse
to trigger the android library update process again.
Now you should be able to deploy the vdb-ui application onto an emulator
or a phone!