author  Nikita Kozlov <nikita@beemproject.com> 
Tue, 06 Apr 2010 22:45:52 +0200  
changeset 723  c77d49614696 
parent 695  19d55036ad3f 
permissions  rwrr 
694
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

1 
INTRODUCTION 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

2 
 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

3 
asmack http://code.google.com/p/asmack/ is a portage of the Smack library for 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

4 
the Android platform. The project is mostly maintained by Rene Treffer and you 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

5 
can find the binaries at http://code.google.com/p/asmack/ and the sources at 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

6 
http://github.com/rtreffer/asmack 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

7 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

8 
The asmack project is based on the development version of the Smack library. 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

9 
This version is constantly moving but we want a fixed version for BEEM. 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

10 
We patched the asmack build process to use a fixed version of the Smack 
695
19d55036ad3f
Replace the asmack library built with the trunk with one built with the fixed
Da Risk <darisk972@gmail.com>
parents:
694
diff
changeset

11 
library. Currently, we use the revision 11644 of the Smack SVN repository. 
694
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

12 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

13 
COMPILE 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

14 
 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

15 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

16 
First check out the last version of asmack 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

17 
> git clone git://github.com/rtreffer/asmack.git 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

18 

695
19d55036ad3f
Replace the asmack library built with the trunk with one built with the fixed
Da Risk <darisk972@gmail.com>
parents:
694
diff
changeset

19 
Then apply the beembuildprocess.patch on the source. 
694
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

20 
> cd asmack 
695
19d55036ad3f
Replace the asmack library built with the trunk with one built with the fixed
Da Risk <darisk972@gmail.com>
parents:
694
diff
changeset

21 
> patch p1 < beembuildprocess.patch 
694
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

22 
> 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

23 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

24 
Add the beem flavour to the patch repository 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

25 
> cp R beem_patches patch/beem 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

26 
> 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

27 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

28 
The 50fix_chatmanager.patch is only necessary to fix a little bug in smack. The 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

29 
patch has been proposed to the Smack developers. See 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

30 
http://www.igniterealtime.org/issues/browse/SMACK269 for progress. 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

31 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

32 
Edit your local.properties file to contains the path of the android SDK. See 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

33 
local.properties.example 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

34 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

35 
Build asmack 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

36 
> ./build.batch 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

37 
> 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

38 

cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

39 
The build directory will contains the files : 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

40 
* asmackandroid$VERSIONbeem.jar for asmack binaries for android $VERSION 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

41 
* asmackandroid$VERSIONsourcebeem.zip for the asmack custom sources for 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

42 
android $VERSION. 
cffbce08906d
Add informations on how to build the asmack flavour for beem.
Da Risk <darisk972@gmail.com>
parents:
diff
changeset

43 