Skip to content

Commit

Permalink
Clean up installation instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
ahorn committed Aug 19, 2011
1 parent 2156926 commit 951ecb9
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,32 @@ Fetch the source code with Git:

git clone https://[email protected]/ahorn/android-rss.git

To reference this library project from within your Android application,
Alternatively, you can download the sources from github.com/ahorn.

To reference the downloaded library from within your Android mobile app,
navigate to the <sdk>/tools/ directory and use the following command:

android update project \
--target <target_ID> \
--path path/to/your/project \
--library path/to/android-rss

See also Troubleshooting section below.

This command appends to the "default.properties" file in your Android
project a new "android.library.reference" property. The value of this
new property should be the relative path to the directory which you
created when you fetched the Android RSS library source code with Git.
created when you fetched the Android RSS library source code.

The library is compiled by the Android build framework when you build
the mobile app which was specified in the --path argument above.
Henceforth, android-rss is compiled when ant builds the app which was
specified in the --path argument above.

If you are using Git for your mobile app, then upstream changes to the
RSS library could be pulled in with Git's merge-subtree feature [1].
However, Eclipse does not work using this method because it does not
reference anything that is not an Eclipse project. When you try to
transform android-rss into an Eclipse project you encounter errors
due to the testing directory. To fix these, you have to change the
source directory by editing the .classpath file to set "/src/main/java"
as the source folder.

[1] http://www.kernel.org/pub/software/scm/git/docs/howto/using-merge-subtree.html
For additional questions, see also the Troubleshooting section below.

== Troubleshooting ==

Expand Down

0 comments on commit 951ecb9

Please sign in to comment.