Skip to content

Latest commit

 

History

History
 
 

NineOldAndroids

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
How to build the entire package from source
===========================================

Prerequisites
-------------

- Android SDK.
  - Environment variable ANDROID_HOME=/path/to/the/sdk
  - Environment variable PATH must contain $ANDROID_HOME/tools
- Oracle JDK 1.6. To generate supported format of JavaDoc you cannot use 1.7.
- Apache Ant to build the library project zip.

Build steps
-----------

Download NineOldAndroids v2.4.0 from github:
https://github.com/JakeWharton/NineOldAndroids/zipball/master

Extract it under this directory.

Go to JakeWhatron-NineOldAndroids-9f20fd7-or-whatever directory.

Go to library dir.

Run the following commands:

	cp ../../javadoc.xml .
	android update project -p .
	ant debug
	zip -r NineOldAndroids-2.4.0.zip bin/classes.jar bin/AndroidManifest.xml res 
	LC_ALL=en_US ant -buildfile javadoc.xml doc

Copy NineOldAndroids.zip to ../../NineOldAndroids/Jars
(Note that "../.." is *this* directory)

Edit NineOldAndroids/NineOldAndroids.csproj and look for <JavaDocPath>
and ensure that the path specicifed there exists and points to API reference.
It might give different path (especially JakeWharton-whatever hash part).

(The API Reference is generated by Ant, and it is important to provide
parameter names).