Broker Build System

Table of Contents

  1. Introduction

  2. Installation

    Introduction

    This document describes the build environment for compiling and testing the Broker project. It provides developers  with a quick and efficient way to perform the code/test/debug cycle. The system consists simply of a particular directory structure and using ant and the  build.xml file to manage the code.

    Installation

    Environment

    operating system
        - Windows 2000
    
    The user needs to have the following tools preinstalled on the system:

    Instructions

        1) Create a work folder say C:/work
    
        2) Set this folder named "broker" under it. Please find build.properties and change axis2 home,
           broker home and deployment directory properties to relevant ones.
    
            ### Broker home directory
            broker.home=C:/work/broker
     
    	### Axis2 Source directory
            axis2.home=C:/axis2-0.9-bin
     
            ### Target Axis directory where broker has to be deployed
            deploy.dir=C:/Tomcat-5.0/webapps
     
        4) Place the following jars into the broker/lib folder		
        5) Run ant task on that. This would create broker.zip file under broker directory (distribution file). 
           You can extract the zip to any directory.
    
        6) Run ant task on the extracted file. This would copy axis2 and the relevant broker files to 
           the webapps directory.
        
        7) Start Tomcat. Hit http://localhost:8080/axis2/
     
        8) The calculator and calculatorv2 services have been configured with proxy already.
           Make use of the SOAP-requests provided in 
           samples/sample_SOAP_request.txt and hit the proxy at http://localhost:8080/axis2/serivces/proxy
           to watch it all work.
	 9) For more information about the working of the distribution look at the files in {distribution}/docs.