You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by jm...@apache.org on 2001/03/14 20:41:30 UTC

cvs commit: xml-soap/java build.xml

jmsnell     01/03/14 11:41:30

  Modified:    java     build.xml
  Log:
  Adding COM Provider to CVS tree
  
  Revision  Changes    Path
  1.24      +30 -1     xml-soap/java/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/xml-soap/java/build.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- build.xml	2001/01/29 15:50:24	1.23
  +++ build.xml	2001/03/14 19:41:27	1.24
  @@ -58,6 +58,7 @@
       <property name="debug" value="off"/>
   
       <property name="src.dir" value="./src"/>
  +    <property name="src.comprovider" value="${src.dir}\org\apache\soap\providers\com" />
       <property name="docs.dir" value="./docs"/>
       <property name="samples.dir" value="./samples"/>
   
  @@ -74,6 +75,7 @@
       <property name="webapps" value="./webapps"/>
   
       <property name="dist.dir" value="./soap-2_1"/>
  +    <available property="com.present" file="${src.comprovider}\org_apache_soap_providers_com_RPCProvider.h" />
     </target>
   
     <!-- =================================================================== -->
  @@ -90,6 +92,7 @@
       <available property="ejb.present" classname="javax.ejb.SessionBean" />
       <available property="ssl.present" classname="javax.net.ssl.SSLSocket" />
   
  +
       <uptodate property="javac.notRequired"
                 targetfile="${build.lib}/${name}.jar">
         <srcfiles dir="${src.dir}">
  @@ -149,6 +152,10 @@
       <exclude name="**/SSLUtils.java" unless="ssl.present" />
     </patternset>
   
  +  <patternset id="dllfiles">
  +    <include name="*.dll"/>
  +  </patternset>
  +
     <!-- =================================================================== -->
     <!-- Compiles the source directory                                       -->
     <!-- =================================================================== -->
  @@ -158,6 +165,12 @@
         <patternset refid="javac.source.files"/>
       </javac>
   
  +    <copy todir="${build.dest}">
  +      <fileset dir="${src.dir}">
  +         <include name="**/*.properties" />
  +      </fileset>
  +    </copy>
  +
       <mkdir dir="${build.lib}"/>
       <jar jarfile="${build.lib}/${name}.jar" basedir="${build.dest}" />
   
  @@ -182,6 +195,16 @@
     </target>
   
     <!-- =================================================================== -->
  +  <!-- Compiles the MS COM Pluggable Provider CPP code requires MS VS 6.0  -->
  +  <!-- =================================================================== -->
  +
  +  <target name="com"  depends="compile">
  +    <exec dir="${src.comprovider}" executable="nmake" failonerror="Yes">
  +    <arg line= "/NOLOGO ANTBUILD=1 ANTBUILDDEBUG=right${debug} ANTBUILDTARGET=${basedir}\${build.lib} ANTBUILDCLASSPATH=${basedir}\${build.dest}"/>
  +    </exec>
  +  </target>
  +
  +  <!-- =================================================================== -->
     <!-- Creates the API documentation                                       -->
     <!-- =================================================================== -->
     <target name="javadocs" depends="prepare">
  @@ -252,8 +275,14 @@
     <!-- =================================================================== -->
     <!-- Cleans everything                                                   -->
     <!-- =================================================================== -->
  -  <target name="clean" depends="init">
  +  <target name="clean" depends="init,clean.java,clean.com"/>
  +  <target name="clean.java" depends="init">
       <delete dir="${build.dir}"/>
       <delete dir="${dist.dir}"/>
  +  </target>
  +  <target name="clean.com" depends="init" if="com.present">
  +    <exec dir="${src.comprovider}" executable="nmake" failonerror="Yes">
  +    <arg line= " /NOLOGO ANTBUILD=1 ANTBUILDTARGET=${basedir}\${build.lib} ANTBUILDCLASSPATH=${basedir}\${build.dest} clean"/>
  +    </exec>
     </target>
   </project>