doc/asmack-beem/README.txt
changeset 1005 4c7edc276676
parent 695 19d55036ad3f
equal deleted inserted replaced
1004:aa8c2dac6d02 1005:4c7edc276676
     1 INTRODUCTION
     1 INTRODUCTION
     2 ------------
     2 ------------
     3 asmack http://code.google.com/p/asmack/ is a portage of the Smack library for
     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
     4 the Android platform. The project is was maintained by Rene Treffer.
     5 can find the binaries at http://code.google.com/p/asmack/ and the sources at
     5 
     6 http://github.com/rtreffer/asmack
     6 Florian Schmaus maintains a more up to date version of this project. This
       
     7 version is used by many XMPP clients for Android.
       
     8 
       
     9 You can find the sources at
       
    10   http://github.com/rtreffer/asmack     for Rene version
       
    11   http://github.com/Flowdalic/asmack    for Florian version
     7 
    12 
     8 The asmack project is based on the development version of the Smack library.
    13 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.
    14 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
    15 library.
    11 library. Currently, we use the revision 11644 of the Smack SVN repository.
    16 Currently, we use the changeset 0ffd380698bca3502a6f25c4d755fe79f6977b49 of
       
    17 the Florian's Smack git repository.
    12 
    18 
    13 COMPILE
    19 COMPILE
    14 -------
    20 -------
    15 
    21 
    16 First check out the last version of asmack
    22 First check out the last version of asmack
    17 > git clone git://github.com/rtreffer/asmack.git
    23 > git clone git://github.com/Flowdalic/asmack.git
    18 
       
    19 Then apply the beem-build-process.patch on the source.
       
    20 > cd asmack
       
    21 > patch -p1 < beem-build-process.patch
       
    22 >
       
    23 
    24 
    24 Add the beem flavour to the patch repository
    25 Add the beem flavour to the patch repository
       
    26 > rm -rf patch/beem
    25 > cp -R beem_patches patch/beem
    27 > cp -R beem_patches patch/beem
    26 >
    28 >
    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 
    29 
    32 Edit your local.properties file to contains the path of the android SDK. See
    30 Edit your local.properties file to contains the path of the android SDK. See
    33 local.properties.example
    31 local.properties.example
    34 
    32 
    35 Build asmack
    33 Build asmack with beem patches
    36 > ./build.batch
    34 > ./build.bash -c -b 0ffd380698bca3502a6f25c4d755fe79f6977b49
    37 >
    35 >
    38 
    36 
    39 The build directory will contains the files :
    37 The build directory will contains the files :
    40  * asmack-android-$VERSION-beem.jar for asmack binaries for android $VERSION
    38  * asmack-android-$VERSION-beem.jar for asmack binaries for android $VERSION
    41  * asmack-android-$VERSION-source-beem.zip for the asmack custom sources for
    39  * asmack-android-$VERSION-source-beem.zip for the asmack custom sources for