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

Commit

Permalink
update the README
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Sep 27, 2016
1 parent 3a67d10 commit e09c5a8
Showing 1 changed file with 1 addition and 60 deletions.
61 changes: 1 addition & 60 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,64 +43,5 @@ at #guardianproject on freenode or OFTC (https://guardianproject.info/contact/ch

### Get the source

The source code is all in the main git repos, with sub-projects setup as git
submodules:
The source code is all in the main git repos. Use Gradle or Android Studio to build.

git clone https://github.com/guardianproject/ChatSecureAndroid.git
cd ChatSecureAndroid
git submodule update --init


### ant setup

We use `ant` to make our official releases and automated test builds. If you
are not familiar with Eclipse, then it is easier to start with the `ant`
build:

export ANDROID_HOME=/path/to/android-sdk
./update-ant-build.sh
ant clean debug

Then the installable APK will be in **bin/ChatSecure-debug.apk**.


### Eclipse setup

1. Start by adding ChatSecureAndroid to Eclipse by going to _File_ -> _New_ ->
_Project..._ -> _Android project from existing code_.

2. Open the ChatSecureAndroid folder that was just cloned from git.

3. Eclipse will next show a list of subprojects to import, all of the
libraries with _New Project Name_ of **library** must be renamed after the
project name, i.e. SlidingMenu, AndroidEmojiInput, ViewPagerIndicator.

4. Click *Deselect All*. The sample and example projects are not needed, and
can cause conflicts.

5. Select __ChatSecure__ again by clicking the top item in the list.

6. Outside of Eclipse, open up the text file _project.properties_. Then back
in Eclipse, for each line that starts with `android.library.reference`, select
that path from the list of included sub-projects in Eclipse.

Now you should be ready to build ChatSecure!


## Test Instructions

`mvn test`

See robo-tests/README.md for eclipse instructions.

Currently the instrumented target tests (to be run on a device) in the directory `tests` are empty.


## Logging

`adb shell setprop log.tag.GB.XmppConnection DEBUG`


## Building for a Locale

ant -Dgibberbot.locale=fa release

0 comments on commit e09c5a8

Please sign in to comment.