summaryrefslogtreecommitdiffstats
path: root/sdo-cpp/trunk/BUILDING
blob: bfb87e702820570ed1ccf08dc4a9fe8405d9520d (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
Tuscany C++ Build Instructions for Developers
=============================================

Download the source from http://svn.apache.org/repos/asf/incubator/tuscany/cpp
The download location is <tuscany_cpp_root>

Linux Build
===========

Prereqs:
- libxml2 (version 2.6.20 or whichever version is prereq'd by axis2c)
- Axis2C (version 0.94)

Environment:
- export LIBXML2_INCLUDE=<path to libxml2 headers. e.g. /usr/include/libxml2> 
- export LIBXML2_LIB=<path to libxml2 libraries. e.g. /usr/lib> 
- export AXIS2C_HOME=<axis2c_deploy>


Build:
- cd <tuscany_cpp_root>/sdo
- ./build.sh

This builds the SDO subproject then SCA. The results are installed in
 <tuscany_cpp_root>/sdo/deploy

SDO Test
--------

Run:
- cd <tuscany_cpp_root>/sdo
- ./sdotest.sh


Linux distribution build
========================
To build the distro zips for linux:

1. Download the source from http://svn.apache.org/repos/asf/incubator/tuscany/cpp
The download location is <tuscany_cpp_root>

2. cd <tuscany_cpp_root>/sdo

3. set the environment
   - export LIBXML2_INCLUDE=<path to libxml2 headers. e.g. /usr/include/libxml2> 
   - export LIBXML2_LIB=<path to libxml2 libraries. e.g. /usr/lib> 
   - export AXIS2C_HOME=<axis2c_deploy>

4. ./builddist.sh
   This produces a src and bin zip for Tuscany SDO

Windows Build
=============

Microsoft Visual Studio Express projects are provided for building on Windows.

SDO
---

Prereqs:

- libxml2 (tested with version 2.6.19)
- Axis2C (version 0.94)

1. Set the following environment variables to point to the location of the dependencies:
        LIBXML2_INCLUDE=<libxml2 include location>
        LIBXML2_LIB=<libxml2 lib location>
        AXIS2C_HOME=<axis2c_deploy>

2. cd <tuscany_cpp_root>\sdo

3. .\build.bat