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/16 11:25:40 UTC

svn commit: r369427 - in /webservices/axis2/trunk/c: modules/core/deployment/dep_engine.c test/core/deployment/test_deployment.c

Author: damitha
Date: Mon Jan 16 02:25:26 2006
New Revision: 369427

URL: http://svn.apache.org/viewcvs?rev=369427&view=rev
Log:
Now deployment engines load method test is working

Modified:
    webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
    webservices/axis2/trunk/c/test/core/deployment/test_deployment.c

Modified: webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c?rev=369427&r1=369426&r2=369427&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c (original)
+++ webservices/axis2/trunk/c/modules/core/deployment/dep_engine.c Mon Jan 16 02:25:26 2006
@@ -716,10 +716,8 @@
     }
     AXIS2_CONF_SET_REPOS(engine_impl->conf, env, engine_impl->axis2_repos);
     status = axis2_dep_engine_validate_system_predefined_phases(dep_engine, env);
-    printf("came20\n");
     if(AXIS2_SUCCESS != status)
     {
-        printf("came21\n");
         AXIS2_REPOS_LISTENER_FREE(repos_listener, env);
         AXIS2_CONF_FREE(engine_impl->conf, env);
         AXIS2_CONF_BUILDER_FREE(builder, env);
@@ -727,15 +725,9 @@
             AXIS2_FAILURE);
         return NULL;
     }
-    printf("came22\n");
-    if(engine_impl->conf)
-    {
-        printf("came23\n");
-    }
+    
     AXIS2_CONF_SET_PHASESINFO(engine_impl->conf, env, engine_impl->phases_info);
-    printf("came24\n");
     status = axis2_dep_engine_engage_modules(dep_engine, env);
-    printf("status:%d\n", status);
     if(AXIS2_FAILURE == status)
     {
         AXIS2_REPOS_LISTENER_FREE(repos_listener, env);
@@ -893,7 +885,6 @@
     /* ArrayList modules = DeploymentData.getInstance().getModules(); */
     /* PhaseResolver resolver = new PhaseResolver(axisConfig); */
     size = AXIS2_ARRAY_LIST_SIZE(engine_impl->module_list, env);
-    printf("size:%d\n", size);
     for(i = 0; i < size; i++)
     {
         axis2_qname_t *qname = (axis2_qname_t *) AXIS2_ARRAY_LIST_GET(

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=369427&r1=369426&r2=369427&view=diff
==============================================================================
--- webservices/axis2/trunk/c/test/core/deployment/test_deployment.c (original)
+++ webservices/axis2/trunk/c/test/core/deployment/test_deployment.c Mon Jan 16 02:25:26 2006
@@ -33,13 +33,16 @@
         printf("conf is NULL\n)");
         return -1;
     }
-    printf("came2\n");
     in_phases = 
         AXIS2_CONF_GET_IN_PHASES_UPTO_AND_INCLUDING_POST_DISPATCH(
             conf, &env);
     if(!in_phases)
     {
         printf("in phases up to and including post dispatch is NULL\n");
+    }
+    else
+    {
+        printf("dep engine load is successfull\n");
     }
     return 0;
 }