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 2006/01/26 11:48:42 UTC
svn commit: r372501 - in /webservices/axis2/trunk/c:
modules/core/context/test/ modules/core/deployment/
modules/core/engine/test/ modules/xml/om/test/
modules/xml/parser/guththila/test/ modules/xml/parser/libxml2/test/
test/core/deployment/
Author: damitha
Date: Thu Jan 26 02:48:26 2006
New Revision: 372501
URL: http://svn.apache.org/viewcvs?rev=372501&view=rev
Log:
Remove unneccessary folders
Removed:
webservices/axis2/trunk/c/modules/core/context/test/
webservices/axis2/trunk/c/modules/core/engine/test/
webservices/axis2/trunk/c/modules/xml/om/test/
webservices/axis2/trunk/c/modules/xml/parser/guththila/test/
webservices/axis2/trunk/c/modules/xml/parser/libxml2/test/
Modified:
webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c
webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c
webservices/axis2/trunk/c/test/core/deployment/test_deployment.c
Modified: webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c?rev=372501&r1=372500&r2=372501&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/repos_listener.c Thu Jan 26 02:48:26 2006
@@ -325,8 +325,6 @@
file = AXIS2_ARRAY_LIST_GET(current_info_list, env, i);
AXIS2_WS_INFO_LIST_ADD_WS_INFO_ITEM(listener_impl->info_list, env,
file, type);
- /*AXIS2_FILE_FREE(file, env);*/
-
}
return AXIS2_SUCCESS;
}
Modified: webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c?rev=372501&r1=372500&r2=372501&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/svc_builder.c Thu Jan 26 02:48:26 2006
@@ -353,7 +353,6 @@
sprintf(message, "%s:%d - dll path is:", __FILE__, __LINE__);
log_msg = AXIS2_STRACAT(message, dll_path, env);
AXIS2_LOG(env, log_msg, AXIS2_LOG_INFO);
- printf("log_msg:%s\n", log_msg);
status = AXIS2_DLL_DESC_SET_NAME(dll_desc, env, dll_path);
if(AXIS2_SUCCESS != status)
{
Modified: webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c?rev=372501&r1=372500&r2=372501&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/ws_info_list.c Thu Jan 26 02:48:26 2006
@@ -389,10 +389,8 @@
for (j = 0; j < current_lists_size; j++)
{
axis2_char_t *file_name = NULL;
- printf("file_item_name:%s\n", file_item_name);
file_name = (axis2_char_t *) AXIS2_ARRAY_LIST_GET(info_list_impl->
current_info_lists, env, j);
- printf("file_name:%s\n", file_name);
if(0 == AXIS2_STRCMP(file_name, file_item_name))
{
exist = AXIS2_TRUE;
Modified: webservices/axis2/trunk/c/test/core/deployment/test_deployment.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/test/core/deployment/test_deployment.c?rev=372501&r1=372500&r2=372501&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/deployment/test_deployment.c (original)
+++ webservices/axis2/trunk/c/test/core/deployment/test_deployment.c Thu Jan 26 02:48:26 2006
@@ -8,6 +8,8 @@
#include <axis2_env.h>
#include <axis2_allocator.h>
#include <axis2_class_loader.h>
+#include <axis2_error_default.h>
+#include <axis2_log_default.h>
int axis2_test_dep_engine_load()
{
@@ -16,13 +18,17 @@
axis2_hash_t *svc_map = NULL;
axis2_array_list_t *in_phases = NULL;
axis2_char_t *axis2c_home = NULL;
+ axis2_env_t *env = NULL;
printf("******************************************\n");
printf("testing dep_engine_load method \n");
printf("******************************************\n");
-
+
axis2_allocator_t *allocator = axis2_allocator_init (NULL);
- axis2_env_t *env = axis2_env_create (allocator);
+ axis2_error_t *error = axis2_error_create(allocator);
+ axis2_log_t *log = axis2_log_create(allocator, NULL);
+ env = axis2_env_create_with_error_log(allocator, error, log);
+ env->log->level = AXIS2_LOG_INFO;
axis2c_home = AXIS2_GETENV("AXIS2C_HOME");
dep_engine = axis2_dep_engine_create_with_repos_name(&env,
@@ -38,10 +44,6 @@
printf("conf is NULL\n)");
return -1;
}
- else
- {
- printf("conf is not null\n");
- }
svc_map = AXIS2_CONF_GET_SVCS(conf, &env);
if (svc_map)
@@ -209,7 +211,6 @@
axis2_allocator_t *allocator = axis2_allocator_init (NULL);
axis2_env_t *env = axis2_env_create (allocator);
- env->log->level = AXIS2_LOG_INFO;
msg_ctx = (axis2_msg_ctx_t *) AXIS2_MALLOC(env->allocator, 5);
dll_desc = axis2_dll_desc_create(&env);
@@ -235,9 +236,8 @@
{
/*axis2_test_dep_engine_do_deploy();
axis2_test_engine_conf_builder_populate_conf();*/
- axis2_test_dep_engine_load();
-/* axis2_test_transport_receiver_load();
+ axis2_test_transport_receiver_load();
axis2_test_transport_sender_load();
- */
+ axis2_test_dep_engine_load();
return 0;
}