axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From susan...@apache.org
Subject cvs commit: ws-axis/c/src/common AxisConfig.cpp
Date Wed, 24 Dec 2003 14:01:01 GMT
susantha    2003/12/24 06:01:01

  Modified:    c/src/common Tag: Release-2003_10_26-bugfixes_branch
                        AxisConfig.cpp
  Log:
  fixed problem of getting wsdls when Axis deployed with Apache 2.0
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.8.2.9   +8 -0      ws-axis/c/src/common/AxisConfig.cpp
  
  Index: AxisConfig.cpp
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/common/AxisConfig.cpp,v
  retrieving revision 1.8.2.8
  retrieving revision 1.8.2.9
  diff -u -r1.8.2.8 -r1.8.2.9
  --- AxisConfig.cpp	17 Dec 2003 10:30:09 -0000	1.8.2.8
  +++ AxisConfig.cpp	24 Dec 2003 14:01:00 -0000	1.8.2.9
  @@ -71,6 +71,7 @@
   {
       m_sWsddFilePath = (char*) malloc(CONFBUFFSIZE);
       m_sAxisLogPath = (char*) malloc(CONFBUFFSIZE);
  +	m_sAxisHome = (char*) malloc(CONFBUFFSIZE);
       m_sValue = NULL;
       
       /*assigning default values for configuration variables*/
  @@ -89,6 +90,7 @@
   {
       if(m_sWsddFilePath) delete m_sWsddFilePath;
       if(m_sAxisLogPath) delete m_sAxisLogPath;
  +	if(m_sAxisHome) delete m_sAxisHome;
       if(m_sValue) delete m_sValue;
       
   }
  @@ -106,6 +108,7 @@
   	sConfPath = getenv("AXIS_HOME");
   	if (!sConfPath)
           return AXIS_FAIL;
  +	strcpy(m_sAxisHome, sConfPath);
   	strcpy(sNewConfPath, sConfPath);
       strcat(sNewConfPath, "/axiscpp.conf");
       if ((fileConfig = fopen(sNewConfPath, "r")) == NULL)
  @@ -171,6 +174,11 @@
   char* AxisConfig::GetAxisLogPath()
   {    
       return m_sAxisLogPath;
  +}
  +
  +char* AxisConfig::GetAxisHomePath()
  +{
  +	return m_sAxisHome;
   }
   
   /*int main(void)
  
  
  

Mime
View raw message