Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open a command prompt (or a shell in Linux) and go to the required sample folder in the <EI_HOME>/samples/axis2Server/src directory.
  2. Run ant from the selected sample directory.

    For example, to build and deploy SimpleStockQuoteService, run the ant command from the <EI_HOME>/samples/axis2Server/src/SimpleStockQuoteService directory, as follows:

    Code Block
    user@host:/tmp/wso2ei-6.1.1/samples/axis2Server/src/SimpleStockQuoteService$ ant
    Buildfile: build.xml
     ...
    build-service:
       ....
          [jar] Building jar: /tmp/wso2ei-6.06.0/samples/axis2Server/repository/services/SimpleStockQuoteService.aar
    
    BUILD SUCCESSFUL
    Total time: 1 second
  3. Next, you need to start the Axis2 server

...