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 2004/08/19 13:37:23 UTC

cvs commit: ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp ExceptionWriter.java

damitha     2004/08/19 04:37:23

  Modified:    c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp
                        ExceptionWriter.java
  Log:
  added service name to the generated file name
  
  Revision  Changes    Path
  1.6       +2 -2      ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ExceptionWriter.java
  
  Index: ExceptionWriter.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/ExceptionWriter.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ExceptionWriter.java	16 Aug 2004 09:22:50 -0000	1.5
  +++ ExceptionWriter.java	19 Aug 2004 11:37:23 -0000	1.6
  @@ -51,7 +51,7 @@
   				targetOutputLocation = targetOutputLocation.substring(0, targetOutputLocation.length() - 1);
   			new File(targetOutputLocation).mkdirs();
   			String fileName = targetOutputLocation + "/" + faultInfoName + ".cpp";
  -			this.wscontext.addGeneratedFile(faultInfoName + ".cpp");
  +		//	this.wscontext.addGeneratedFile(faultInfoName + ".cpp");
   			return new File(fileName);
   		}	
   
  @@ -67,7 +67,7 @@
   		{
   			fileName = targetOutputLocation + "/" + this.wscontext.getSerInfo().getServicename() + "_" + faultInfoName + ".cpp";
   		}
  -		
  +		this.wscontext.addGeneratedFile( this.wscontext.getSerInfo().getServicename()+"_"+faultInfoName + ".cpp");
   		return new File(fileName);
   	}