You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2004/05/31 06:04:29 UTC

cvs commit: ws-axis/c/samples/server build.sh

damitha     2004/05/30 21:04:29

  Modified:    c        build.sh
               c/samples/client build.sh run_interoptests.sh
               c/samples/server build.sh
  Log:
  Build files changed so that in the main build files, when it run, it build
  samples as well.
  
  Revision  Changes    Path
  1.3       +34 -3     ws-axis/c/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/build.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.sh	7 Apr 2004 10:38:47 -0000	1.2
  +++ build.sh	31 May 2004 04:04:29 -0000	1.3
  @@ -1,4 +1,35 @@
  -sh autogen.sh
  -sh runconfig
  -make
  +#!/bin/bash
  +
  +echo "----------------------------------"
  +echo "build server, client and samples"
  +echo "----------------------------------"
  +echo "clean previous build"
  +make distclean
  +echo "run libtoolize."          && 
  +libtoolize --force              && 
  +echo "run aclocal."             && 
  +aclocal                         && 
  +echo "run autoconf."            && 
  +autoconf                        && 
  +echo "run autoheader."          && 
  +autoheader                      && 
  +echo "run automake."            && 
  +automake --add-missing --gnu    &&
  +
  +echo "configure --libdir=$AXISCPP_HOME/bin --bindir=$AXISCPP_HOME/bin"
  +./configure --libdir=$AXISCPP_HOME/bin --bindir=$AXISCPP_HOME/bin
  +echo "make"
  +make 2> build_errors
  +echo "make install"
   make install
  +
  +cd ${AXISCPP_HOME}/samples/server
  +make distclean
  +echo "building server samples"
  +sh build.sh
  +
  +cd ${AXISCPP_HOME}/samples/client
  +make distclean
  +echo "building client samples"
  +sh build.sh
  +
  
  
  
  1.10      +20 -4     ws-axis/c/samples/client/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/build.sh,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- build.sh	5 Apr 2004 13:22:07 -0000	1.9
  +++ build.sh	31 May 2004 04:04:29 -0000	1.10
  @@ -1,5 +1,21 @@
  -sh autogen.sh
  -sh runconfig
  -make
  +#!/bin/bash
  +echo "run libtoolize."          && 
  +libtoolize --force              && 
  +echo "run aclocal."             && 
  +aclocal                         && 
  +echo "run autoconf."            && 
  +autoconf                        && 
  +echo "run autoheader."          && 
  +autoheader                      && 
  +echo "run automake."            && 
  +automake --add-missing --gnu    &&
  +
  +echo "./configure --bindir=$AXISCPP_HOME/samples/client/"
  +./configure --bindir=$AXISCPP_HOME/samples/client/
  +
  +echo "make"
  +make 2> sample_client_build_errors
  +
  +echo "make install"
   make install
  -#strip -g sslclient base cbase groupB doclitbase doclitgroupB 
  +
  
  
  
  1.3       +24 -7     ws-axis/c/samples/client/run_interoptests.sh
  
  Index: run_interoptests.sh
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/client/run_interoptests.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- run_interoptests.sh	28 Apr 2004 04:04:59 -0000	1.2
  +++ run_interoptests.sh	31 May 2004 04:04:29 -0000	1.3
  @@ -1,40 +1,57 @@
  +#!/bin/bash
  +
  +#get command line options
  +GET_URL="localhost"
  +GET_PORT="80"
  +while getopts u:p:h o
  +do      case "$o" in
  +        u)      GET_URL=$OPTARG;;
  +        p)      GET_PORT=$OPTARG;;
  +        h)      echo "Usage: $0 [-u] [-p] [-help]"
  +                echo "  -u     URL of the server apache running"
  +                echo "  -p     PORT of the server apache running"
  +                exit 1;;
  +        esac
  +done
  +
  +
   echo "-----------------------------"
   
   echo "running base..."
   echo "-----------------------------"
  -./base
  +./base ${GET_URL} ${GET_PORT}
   
   echo "-----------------------------"
   
   echo "running cbase..."
   echo "-----------------------------"
  -./cbase
  +./cbase ${GET_URL} ${GET_PORT}
   
   echo "-----------------------------"
   
   
   echo "running groupB..."
   echo "-----------------------------"
  -./groupB
  +./groupB ${GET_URL} ${GET_PORT}
   
   echo "-----------------------------"
   
   echo "running cgroupB..."
   echo "-----------------------------"
  -./cgroupB
  +./cgroupB ${GET_URL} ${GET_PORT}
   
   echo "-----------------------------"
   
   echo "running doclitbase..."
   echo "-----------------------------"
  -./doclitbase
  +./doclitbase ${GET_URL} ${GET_PORT}
   
   echo "-----------------------------"
   
   echo "running doclitgroupB..."
   echo "-----------------------------"
  -./doclitgroupB
  +./doclitgroupB ${GET_URL} ${GET_PORT}
   
   echo "-----------------------------"
   
  -
  +exit
  
  
  
  1.3       +20 -3     ws-axis/c/samples/server/build.sh
  
  Index: build.sh
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/samples/server/build.sh,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- build.sh	25 Mar 2004 09:50:35 -0000	1.2
  +++ build.sh	31 May 2004 04:04:29 -0000	1.3
  @@ -1,4 +1,21 @@
  -sh autogen.sh
  -sh runconfig
  -make
  +#!/bin/bash
  +echo "run libtoolize."          && 
  +libtoolize --force              && 
  +echo "run aclocal."             && 
  +aclocal                         && 
  +echo "run autoconf."            && 
  +autoconf                        && 
  +echo "run autoheader."          && 
  +autoheader                      && 
  +echo "run automake."            && 
  +automake --add-missing --gnu    &&
  +
  +echo "./configure --libdir=$AXIS_HOME/webservices"
  +./configure --libdir=$AXIS_HOME/webservices
  +
  +echo "make"
  +make 2> sample_server_build_errors
  +
  +echo "make install"
   make install
  +