axis-c-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r1050794 - /axis/axis2/c/core/trunk/src/core/transport/tcp/server/simple_tcp_server/tcp_server_main.c
Date Sun, 19 Dec 2010 10:34:10 GMT
Author: nandika
Date: Sun Dec 19 10:34:10 2010
New Revision: 1050794

URL: http://svn.apache.org/viewvc?rev=1050794&view=rev
Log:
server code changed to look for axis2c_home first and next get the path from default location

Modified:
    axis/axis2/c/core/trunk/src/core/transport/tcp/server/simple_tcp_server/tcp_server_main.c

Modified: axis/axis2/c/core/trunk/src/core/transport/tcp/server/simple_tcp_server/tcp_server_main.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/tcp/server/simple_tcp_server/tcp_server_main.c?rev=1050794&r1=1050793&r2=1050794&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/tcp/server/simple_tcp_server/tcp_server_main.c
(original)
+++ axis/axis2/c/core/trunk/src/core/transport/tcp/server/simple_tcp_server/tcp_server_main.c
Sun Dec 19 10:34:10 2010
@@ -129,7 +129,11 @@ main(
     axutil_log_levels_t log_level = AXIS2_LOG_LEVEL_DEBUG;
     const axis2_char_t *log_file = AXIS2_TCP_SERVER_LOG_FILE_NAME;
     int port = AXIS2_TCP_SERVER_PORT;
-    const axis2_char_t *repo_path = AXIS2_TCP_SERVER_REPO_PATH;
+	axis2_char_t *repo_path = AXIS2_GETENV("AXIS2C_HOME");
+	if(!repo_path)
+	{
+		repo_path = AXIS2_TCP_SERVER_REPO_PATH;
+	}
 
     while((c = AXIS2_GETOPT(argc, argv, ":p:r:ht:l:s:f:")) != -1)
     {



Mime
View raw message