You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/02/01 11:35:11 UTC
svn commit: r374035 - in /webservices/axis2/trunk/c: ./ modules/
modules/core/clientapi/ modules/core/deployment/ modules/core/description/
modules/core/transport/ modules/platforms/unix/ modules/util/ modules/wsdl/
modules/xml/parser/ samples/client/e...
Author: damitha
Date: Wed Feb 1 02:34:27 2006
New Revision: 374035
URL: http://svn.apache.org/viewcvs?rev=374035&view=rev
Log:
Patch applied mentioned in mail [AXIS2]help needed on gnu build system. Thanks Sanjaya for the patch.
Modified:
webservices/axis2/trunk/c/Makefile.am
webservices/axis2/trunk/c/build.sh
webservices/axis2/trunk/c/configure.ac
webservices/axis2/trunk/c/modules/Makefile.am
webservices/axis2/trunk/c/modules/core/clientapi/Makefile.am
webservices/axis2/trunk/c/modules/core/deployment/Makefile.am
webservices/axis2/trunk/c/modules/core/description/Makefile.am
webservices/axis2/trunk/c/modules/core/transport/Makefile.am
webservices/axis2/trunk/c/modules/platforms/unix/Makefile.am
webservices/axis2/trunk/c/modules/util/Makefile.am
webservices/axis2/trunk/c/modules/wsdl/Makefile.am
webservices/axis2/trunk/c/modules/xml/parser/Makefile.am
webservices/axis2/trunk/c/samples/client/echo/Makefile.am
webservices/axis2/trunk/c/samples/client/math/Makefile.am
webservices/axis2/trunk/c/samples/server/echo/Makefile.am
webservices/axis2/trunk/c/samples/server/math/Makefile.am
webservices/axis2/trunk/c/test/core/Makefile.am
webservices/axis2/trunk/c/test/core/clientapi/Makefile.am
webservices/axis2/trunk/c/test/unit/core/phaseresolver/Makefile.am
webservices/axis2/trunk/c/test/unit/xml/om/Makefile.am
webservices/axis2/trunk/c/test/util/Makefile.am
webservices/axis2/trunk/c/test/xml/om/Makefile.am
webservices/axis2/trunk/c/test/xml/soap/Makefile.am
webservices/axis2/trunk/c/test/xml/soap/test_soap.c
Modified: webservices/axis2/trunk/c/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/Makefile.am (original)
+++ webservices/axis2/trunk/c/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,2 +1,3 @@
-SUBDIRS = modules
+SUBDIRS = modules $(TESTS) $(SAMPLES) ides
include_HEADERS=$(top_builddir)/include/*.h
+EXTRA_DIST = build.sh autogen.sh
Modified: webservices/axis2/trunk/c/build.sh
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/build.sh?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/build.sh (original)
+++ webservices/axis2/trunk/c/build.sh Wed Feb 1 02:34:27 2006
@@ -1,6 +1,6 @@
#!/bin/bash
./autogen.sh
-AXIS2C_HOME=`pwd`/deploy
-./configure --prefix=${AXIS2C_HOME}
+AXIS2C_HOME=/home/sanjaya/tmp
+./configure --prefix=${AXIS2C_HOME} --enable-tests=yes --enable-samples=yes
make
make install
Modified: webservices/axis2/trunk/c/configure.ac
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/configure.ac?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/configure.ac (original)
+++ webservices/axis2/trunk/c/configure.ac Wed Feb 1 02:34:27 2006
@@ -78,10 +78,49 @@
LIBXML2_LIBNAME="-lxml2"
)
+AC_MSG_CHECKING(whether to build tests)
+AC_ARG_ENABLE(tests, [ --enable-tests build tests. default=no],
+[ case "${enableval}" in
+ no)
+ AC_MSG_RESULT(no)
+ TESTS=""
+ ;;
+ *)
+ AC_MSG_RESULT(yes)
+ TESTS="test"
+
+ ;;
+ esac ],
+ AC_MSG_RESULT(no)
+ TESTS=""
+)
+
+AC_MSG_CHECKING(whether to build samples)
+AC_ARG_ENABLE(tests, [ --enable-samples build samples. default=no],
+[ case "${enableval}" in
+ no)
+ AC_MSG_RESULT(no)
+ SAMPLES=""
+ ;;
+ *)
+ AC_MSG_RESULT(yes)
+ SAMPLES="samples"
+
+ ;;
+ esac ],
+ AC_MSG_RESULT(no)
+ SAMPLES=""
+)
+
+PKG_CHECK_MODULES(XML2, libxml-2.0)
+AC_SUBST(XML2_CFLAGS)
+AC_SUBST(XML2_LIBS)
AC_SUBST(LIBXML2)
AC_SUBST(GUTHTHILA)
AC_SUBST(LIBXML2_LIBNAME)
AC_SUBST(GUTHTHILA_LIBNAME)
+AC_SUBST(TESTS)
+AC_SUBST(SAMPLES)
AC_CONFIG_FILES([Makefile \
modules/Makefile \
@@ -102,9 +141,6 @@
modules/core/util/Makefile \
modules/xml/Makefile \
modules/xml/parser/Makefile \
- modules/xml/parser/guththila/Makefile \
- modules/xml/parser/guththila/impl/Makefile \
- modules/xml/parser/guththila/impl/src/Makefile \
modules/xml/parser/libxml2/Makefile \
modules/xml/soap/Makefile \
modules/xml/om/Makefile \
@@ -142,7 +178,9 @@
test/unit/xml/Makefile \
test/unit/xml/om/Makefile\
test/core/transport/Makefile\
- test/core/transport/http/Makefile
+ test/core/transport/http/Makefile \
+ ides/Makefile \
+ ides/anjuta/Makefile
])
AC_OUTPUT
Modified: webservices/axis2/trunk/c/modules/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1 +1,2 @@
SUBDIRS = platforms/unix util xml wsdl core
+EXTRA_DIST = platforms/axis2_platform_auto_sense.h
Modified: webservices/axis2/trunk/c/modules/core/clientapi/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/clientapi/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/clientapi/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/clientapi/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,6 @@
lib_LTLIBRARIES = libaxis2_clientapi.la
+noinst_HEADERS = callback_recv.h listener_manager.h
+
AM_CPPFLAGS = $(CPPFLAGS)
libaxis2_clientapi_la_SOURCES = async_result.c \
Modified: webservices/axis2/trunk/c/modules/core/deployment/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/Makefile.am Wed Feb 1 02:34:27 2006
@@ -23,3 +23,5 @@
-I$(top_builddir)/modules/core/deployment \
-I$(top_builddir)/modules/xml/parser \
-I$(top_builddir)/modules/platforms
+
+noinst_HEADERS = axis2_deployment.h
Modified: webservices/axis2/trunk/c/modules/core/description/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/description/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,6 @@
lib_LTLIBRARIES = libaxis2_description.la
+noinst_HEADERS = axis2_description.h
+
AM_CPPFLAGS = $(CPPFLAGS)
libaxis2_description_la_SOURCES = param_container.c \
op.c \
@@ -26,3 +28,4 @@
-I$(top_builddir)/modules/core/description \
-I$(top_builddir)/modules/core/addr \
-I$(top_builddir)/modules/platforms
+
Modified: webservices/axis2/trunk/c/modules/core/transport/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/core/transport/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1 +1,2 @@
SUBDIRS = http http/sender http/receiver http/server
+noinst_HEADERS = axis2_transport_receiver.h axis2_transport_sender.h
Modified: webservices/axis2/trunk/c/modules/platforms/unix/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/platforms/unix/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/platforms/unix/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/platforms/unix/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,5 @@
lib_LTLIBRARIES = libaxis2_unix.la
+noinst_HEADERS = axis2_unix.h axis2_uuid_gen_unix.h
AM_CPPFLAGS = $(CPPFLAGS)
libaxis2_unix_la_SOURCES = uuid_gen_unix.c
Modified: webservices/axis2/trunk/c/modules/util/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/util/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/util/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/util/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,14 @@
lib_LTLIBRARIES = libaxis2_util.la
+noinst_HEADERS = axis2_hash.h \
+ axis2_string.h \
+ axis2_array_list.h \
+ axis2_log_default.h \
+ axis2_error_default.h \
+ axis2_stream_default.h \
+ axis2_file_diff.h \
+ axis2_utils.h \
+ axis2_linked_list.h
+
AM_CPPFLAGS = $(CPPFLAGS)
libaxis2_util_la_SOURCES = hash.c \
allocator.c \
Modified: webservices/axis2/trunk/c/modules/wsdl/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/wsdl/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/wsdl/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/wsdl/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,5 @@
lib_LTLIBRARIES = libaxis2_wsdl.la
+noinst_HEADERS = axis2_wsdl.h
AM_CPPFLAGS = $(CPPFLAGS)
libaxis2_wsdl_la_SOURCES = wsdl_op.c \
wsdl_svc.c \
Modified: webservices/axis2/trunk/c/modules/xml/parser/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/xml/parser/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/xml/parser/Makefile.am (original)
+++ webservices/axis2/trunk/c/modules/xml/parser/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1 +1,2 @@
SUBDIRS = $(LIBXML2) $(GUTHTHILA)
+noinst_HEADERS = axis2_xml_writer.h axis2_xml_reader.h
Modified: webservices/axis2/trunk/c/samples/client/echo/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/echo/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/echo/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,5 @@
bin_PROGRAMS = echo
+noinst_HEADERS = axis2_echo_stub.h
echo_SOURCES = axis2_echo_stub.c \
echo_client.c
Modified: webservices/axis2/trunk/c/samples/client/math/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/client/math/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/client/math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/client/math/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,5 @@
bin_PROGRAMS = math
+noinst_HEADERS = axis2_math_stub.h
math_SOURCES = axis2_math_stub.c \
math_client.c
Modified: webservices/axis2/trunk/c/samples/server/echo/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/server/echo/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/echo/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/echo/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,5 @@
lib_LTLIBRARIES = libecho.la
+noinst_HEADERS = echo.h
SUBDIRS =
libecho_la_SOURCES = echo.c echo_skeleton.c
libecho_la_LIBADD =
Modified: webservices/axis2/trunk/c/samples/server/math/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/samples/server/math/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/math/Makefile.am (original)
+++ webservices/axis2/trunk/c/samples/server/math/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,4 +1,5 @@
lib_LTLIBRARIES = libmath.la
+noinst_HEADERS = math.h
SUBDIRS =
libmath_la_SOURCES = math.c math_skeleton.c
libmath_la_LIBADD =
Modified: webservices/axis2/trunk/c/test/core/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/core/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1 +1 @@
-SUBDIRS = description context engine clientapi transport deployment addr
+SUBDIRS = description context engine deployment addr clientapi transport
Modified: webservices/axis2/trunk/c/test/core/clientapi/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/clientapi/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/clientapi/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/core/clientapi/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,10 +1,9 @@
prgbindir=$(prefix)/bin/system_test
-prgbin_PROGRAMS = test_clientapi test_client
+prgbin_PROGRAMS = test_client test_clientapi
SUBDIRS =
AM_CPPFLAGS = $(CPPFLAGS) -g -pthread
-test_clientapi_SOURCES = test_clientapi.c
test_client_SOURCES = test_client.c
-
+test_clientapi_SOURCES = test_clientapi.c
test_clientapi_LDADD = -L$(AXIS2C_HOME)/lib \
-laxis2_description \
Modified: webservices/axis2/trunk/c/test/unit/core/phaseresolver/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/unit/core/phaseresolver/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/unit/core/phaseresolver/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/unit/core/phaseresolver/Makefile.am Wed Feb 1 02:34:27 2006
@@ -31,8 +31,8 @@
-laxis2_wsdl \
-laxis2_phaseresolver \
-laxis2_om \
- -laxis2_parser \
-laxis2_addr \
+ -laxis2_parser \
-L$(GUTHTHILA_LIB) $(GUTHTHILA_LIBNAME) \
-L$(LIBXML2_LIB) $(LIBXML2_LIBNAME)
Modified: webservices/axis2/trunk/c/test/unit/xml/om/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/unit/xml/om/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/unit/xml/om/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/unit/xml/om/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,5 +1,6 @@
prgbindir=$(prefix)/bin/unit_test
prglibdir=$(prefix)/lib/unit_test
+noinst_HEADERS = om_node_test.h
prglib_LTLIBRARIES = libtest_om.la
AM_CPPFLAGS = $(CPPFLAGS)
libtest_om_la_SOURCES = om_test.c om_node_test.c
Modified: webservices/axis2/trunk/c/test/util/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/util/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/util/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/util/Makefile.am Wed Feb 1 02:34:27 2006
@@ -1,10 +1,12 @@
prgbindir=$(prefix)/bin/system_test
+noinst_HEADERS = test_log.h
prgbin_PROGRAMS = test_util
SUBDIRS =
AM_CPPFLAGS = $(CPPFLAGS)
test_util_SOURCES = test_util.c test_log.c
-test_util_LDADD = -L$(AXIS2C_HOME)/lib -laxis2_util -laxis2_unix
+test_util_LDADD = -L$(AXIS2C_HOME)/lib -laxis2_util \
+ -laxis2_unix
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/modules/util \
Modified: webservices/axis2/trunk/c/test/xml/om/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/om/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/om/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/xml/om/Makefile.am Wed Feb 1 02:34:27 2006
@@ -8,12 +8,12 @@
-L$(AXIS2C_HOME)/lib \
-laxis2_om \
-laxis2_util \
- -laxis2_unix \
-laxis2_parser \
+ -laxis2_unix \
-L$(LIBXML2_LIB) $(LIBXML2_LIBNAME) \
-L$(GUTHTHILA_LIB) $(GUTHTHILA_LIBNAME)
INCLUDES = -I$(top_builddir)/include \
-I$(top_builddir)/modules/xml/parser \
-I$(top_builddir)/modules/util \
- -I$(top_builddir)/modules/platforms
+ -I$(top_builddir)/modules/platforms
Modified: webservices/axis2/trunk/c/test/xml/soap/Makefile.am
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/soap/Makefile.am?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/Makefile.am (original)
+++ webservices/axis2/trunk/c/test/xml/soap/Makefile.am Wed Feb 1 02:34:27 2006
@@ -9,8 +9,8 @@
-laxis2_om \
-laxis2_soap \
-laxis2_util \
+ -laxis2_parser \
-laxis2_unix \
- -laxis2_libxml2 \
-laxis2_unix \
-L$(LIBXML2_LIB) $(LIBXML2_LIBNAME) \
-L$(GUTHTHILA_LIB) $(GUTHTHILA_LIBNAME)
Modified: webservices/axis2/trunk/c/test/xml/soap/test_soap.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/xml/soap/test_soap.c?rev=374035&r1=374034&r2=374035&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/xml/soap/test_soap.c (original)
+++ webservices/axis2/trunk/c/test/xml/soap/test_soap.c Wed Feb 1 02:34:27 2006
@@ -247,6 +247,7 @@
}
allocator = axis2_allocator_init (NULL);
log = axis2_log_create(allocator, NULL);
+ log->level = AXIS2_LOG_LEVEL_DEBUG;
error = axis2_error_create(allocator);
env = axis2_env_create_with_error_log(allocator, error, log);