axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hemap...@apache.org
Subject cvs commit: ws-axis/contrib/ews/src/org/apache/geronimo/ews/ws4j2ee/toWs/misc BuildFileGenerator.java
Date Wed, 28 Jul 2004 02:58:50 GMT
hemapani    2004/07/27 19:58:50

  Modified:    contrib/ews/src/org/apache/geronimo/ews/ws4j2ee/toWs/misc
                        BuildFileGenerator.java
  Log:
  fix the bug that create a recursive dir structure by the generated build file.
  If that crazy sturcture is already created in ur file system please run the
  update EWS build agien  it will remove the files and fix it.
  
  Revision  Changes    Path
  1.16      +13 -3     ws-axis/contrib/ews/src/org/apache/geronimo/ews/ws4j2ee/toWs/misc/BuildFileGenerator.java
  
  Index: BuildFileGenerator.java
  ===================================================================
  RCS file: /home/cvs/ws-axis/contrib/ews/src/org/apache/geronimo/ews/ws4j2ee/toWs/misc/BuildFileGenerator.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- BuildFileGenerator.java	26 Jul 2004 12:21:51 -0000	1.15
  +++ BuildFileGenerator.java	28 Jul 2004 02:58:50 -0000	1.16
  @@ -177,6 +177,12 @@
   
   			out.write("	<target name=\"compile\">\n");
   			out.write("	   <mkdir dir=\"${build.classes}\"/>\n");
  +            out.write("    <delete>\n");
  +            out.write("         <fileset dir=\"${build.classes}\">\n");
  +            out.write("             <include name=\"**\"/>\n");
  +            out.write("         </fileset>\n");
  +            out.write("    </delete>\n");
  +
   			out.write("	   <mkdir dir=\"${build.lib}\"/>\n");
   			out.write("		<javac destdir=\"${build.classes}\" debug=\"on\">\n");
   			out.write("			<classpath refid=\"classpath\" />\n");
  @@ -215,13 +221,17 @@
   //					out.write("		<copy file =\"${src}/WEB-INF/web.xml\" todir=\"${build.classes}/META-INF\"/>\n
");				
   //				}
   //			}
  -			
   			out.write("		<copy todir=\"${build.classes}\">\n");
   			out.write("			<fileset dir=\"${src}\">\n");
   			out.write("				<include name=\"META-INF/*.xml\"/>\n");
   			out.write("				<include name=\"WEB-INF/*.xml\"/>\n");
  -			out.write("				<include name=\"**/*.wsdl\"/>\n");
  -			out.write("				<include name=\"**/*.wsdd\"/>\n");
  +			out.write("				<include name=\"META-INF/*.wsdl\"/>\n");
  +			out.write("				<include name=\"META-INF/*.wsdd\"/>\n");
  +            out.write("             <include name=\"WEB-INF/*.wsdl\"/>\n");
  +            out.write("             <include name=\"WEB-INF/*.wsdd\"/>\n");
  +            out.write("             <include name=\"*.wsdl\"/>\n");
  +            out.write("             <include name=\"*.wsdd\"/>\n");
  +            out.write("             <exclude name=\"build**\"/>\n");
   			out.write("			</fileset>\n");
   			out.write("		</copy>\n");
   
  
  
  

Mime
View raw message