doc/asmack-beem/README.txt
changeset 694 cffbce08906d
child 695 19d55036ad3f
equal deleted inserted replaced
693:14d5280485dc 694:cffbce08906d
       
     1 INTRODUCTION
       
     2 ------------
       
     3 asmack http://code.google.com/p/asmack/ is a portage of the Smack library for
       
     4 the Android platform. The project is mostly maintained by Rene Treffer and you
       
     5 can find the binaries at http://code.google.com/p/asmack/ and the sources at
       
     6 http://github.com/rtreffer/asmack
       
     7 
       
     8 The asmack project is based on the development version of the Smack library.
       
     9 This version is constantly moving but we want a fixed version for BEEM.
       
    10 We patched the asmack build process to use a fixed version of the Smack
       
    11 library.
       
    12 
       
    13 COMPILE
       
    14 -------
       
    15 
       
    16 First check out the last version of asmack
       
    17 > git clone git://github.com/rtreffer/asmack.git
       
    18 
       
    19 Then apply the asmack_beem.patch on the source.
       
    20 > cd asmack
       
    21 > patch -p1 < asmack_beem.patch
       
    22 >
       
    23 
       
    24 Add the beem flavour to the patch repository
       
    25 > cp -R beem_patches patch/beem
       
    26 >
       
    27 
       
    28 The 50-fix_chatmanager.patch is only necessary to fix a little bug in smack. The
       
    29 patch has been proposed to the Smack developers. See
       
    30 http://www.igniterealtime.org/issues/browse/SMACK-269 for progress.
       
    31 
       
    32 Edit your local.properties file to contains the path of the android SDK. See
       
    33 local.properties.example
       
    34 
       
    35 Build asmack
       
    36 > ./build.batch
       
    37 >
       
    38 
       
    39 The build directory will contains the files :
       
    40  * asmack-android-$VERSION-beem.jar for asmack binaries for android $VERSION
       
    41  * asmack-android-$VERSION-source-beem.zip for the asmack custom sources for
       
    42    android $VERSION.
       
    43