axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From di...@apache.org
Subject svn commit: r349725 - /webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/BuildScriptWriter.java
Date Tue, 29 Nov 2005 15:12:58 GMT
Author: dicka
Date: Tue Nov 29 07:12:55 2005
New Revision: 349725

URL: http://svn.apache.org/viewcvs?rev=349725&view=rev
Log:
Makefiles are still being created despite supposedly disabling this feature in WSDL2Ws.

Modified:
    webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/BuildScriptWriter.java

Modified: webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/BuildScriptWriter.java
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/BuildScriptWriter.java?rev=349725&r1=349724&r2=349725&view=diff
==============================================================================
--- webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/BuildScriptWriter.java
(original)
+++ webservices/axis/trunk/c/src/wsdl/org/apache/axis/wsdl/wsdl2ws/BuildScriptWriter.java
Tue Nov 29 07:12:55 2005
@@ -45,38 +45,38 @@
             // hence check if user wanted gnu make files
    
 //            if ( (WSDL2Ws.makeSystem == null) || (!WSDL2Ws.makeSystem.equals("gnu")) )
-//                return;
+                return;
 
-		try {
-			servicename = wscontext.getSerInfo().getServicename();
-			Iterator filelist = wscontext.getGeneratedFileList().iterator();
-			BufferedWriter writer = new BufferedWriter(new FileWriter(getFilePath(), false));
-			if(WrapperConstants.SERVER.equals(wscontext.getWrapInfo().getTargetEngine())){
-				writer.write("lib_LTLIBRARIES = lib"+servicename+".la\n");
-				writer.write("SUBDIRS =\n");
-				writer.write("lib"+servicename+"_la_SOURCES =");
-				while (filelist.hasNext()){
-					writer.write(" "+(String)filelist.next());
-				}
-				writer.write("\nlib"+servicename+"_la_LIBADD = $(LDFLAGS)\n");
-				writer.write("INCLUDES = -I$(AXISCPP_HOME)/include\n");			
-			}
-			else{
-				writer.write("bin_PROGRAMS = "+servicename+"\n");
-				writer.write("SUBDIRS =\n");
-				writer.write("AM_CPPFLAGS = $(CPPFLAGS)\n");
-				writer.write(servicename+"_SOURCES = ");
-				while(filelist.hasNext()){
-					writer.write(" "+(String)filelist.next());
-				}
-				writer.write("\n"+servicename+"_LDADD = $(LDFLAGS)\n");
-				writer.write("INCLUDES = -I$(AXISCPP_HOME)/include\n");			
-			}
-			writer.flush();
-			writer.close();
-		}catch(IOException e){
-			throw new WrapperFault(e);
-		}
+//		try {
+//			servicename = wscontext.getSerInfo().getServicename();
+//			Iterator filelist = wscontext.getGeneratedFileList().iterator();
+//			BufferedWriter writer = new BufferedWriter(new FileWriter(getFilePath(), false));
+//			if(WrapperConstants.SERVER.equals(wscontext.getWrapInfo().getTargetEngine())){
+//				writer.write("lib_LTLIBRARIES = lib"+servicename+".la\n");
+//				writer.write("SUBDIRS =\n");
+//				writer.write("lib"+servicename+"_la_SOURCES =");
+//				while (filelist.hasNext()){
+//					writer.write(" "+(String)filelist.next());
+//				}
+//				writer.write("\nlib"+servicename+"_la_LIBADD = $(LDFLAGS)\n");
+//				writer.write("INCLUDES = -I$(AXISCPP_HOME)/include\n");			
+//			}
+//			else{
+//				writer.write("bin_PROGRAMS = "+servicename+"\n");
+//				writer.write("SUBDIRS =\n");
+//				writer.write("AM_CPPFLAGS = $(CPPFLAGS)\n");
+//				writer.write(servicename+"_SOURCES = ");
+//				while(filelist.hasNext()){
+//					writer.write(" "+(String)filelist.next());
+//				}
+//				writer.write("\n"+servicename+"_LDADD = $(LDFLAGS)\n");
+//				writer.write("INCLUDES = -I$(AXISCPP_HOME)/include\n");			
+//			}
+//			writer.flush();
+//			writer.close();
+//		}catch(IOException e){
+//			throw new WrapperFault(e);
+//		}
 	}
 
 	private File getFilePath() throws WrapperFault {



Mime
View raw message