Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README « lib « zabbix_java « src - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 34af961c798692beef6f029f6879efbda89e27db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
In order to upgrade the Android JSON library, follow the procedure below:

### get the repository

$ git clone https://android.googlesource.com/platform/libcore android-libcore
$ cd android-libcore

### choose the tag you wish to upgrade to (android-4.3_r3.1 in the example below)

$ git tag | less
$ git checkout android-4.3_r3.1

### compile the library using JDK 1.6 so that it runs on older versions of Java and package it

$ cd json/src/main/java
$ javac org/json/*.java
$ jar cf android-json-4.3_r3.1.jar org/json/*.class
$ mv android-json-4.3_r3.1.jar ${zabbix}/src/zabbix_java/lib

### clean up

$ rm org/json/*.class
$ cd ../../../..
$ git checkout master