User: jung    
  Date: 00/12/04 04:35:34

  Modified:    etc/makefiles zoap.xml
  Log:
  adopted to latest jboss container,
  
  added decimal and date
  
  removed some problems due to forward-referencing in meta-data
  
  added serialisation policy
  
  Revision  Changes    Path
  1.3       +180 -173  zoap/etc/makefiles/zoap.xml
  
  Index: zoap.xml
  ===================================================================
  RCS file: /products/cvs/ejboss/zoap/etc/makefiles/zoap.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- zoap.xml  2000/08/11 14:43:47     1.2
  +++ zoap.xml  2000/12/04 12:35:34     1.3
  @@ -1,175 +1,185 @@
  -<!--         
=========================================================================================================
 -->
  -<!-- $Id: zoap.xml,v 1.2 2000/08/11 14:43:47 jung Exp $ -->
  -<!-- Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12, --> 
  -<!-- D-66299 Friedrichsthal, Germany. All Rights Reserved. -->
  -<!-- -->
  -<!-- This program is free software; you can redistribute it and/or -->
  -<!-- modify it under the terms of the GNU General Public License -->
  -<!-- as published by the Free Software Foundation; either version 2 -->
  -<!-- of the License, or (at your option) any later version. -->
  -<!-- -->
  -<!-- This program is distributed in the hope that it will be useful, -->
  -<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  -<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
  -<!-- GNU General Public License for more details. -->
  -<!-- -->
  -<!-- You should have received a copy of the GNU General Public License -->
  -<!-- along with this program; if not, write to the Free Software -->
  -<!-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. -->
  -<!-- 
=========================================================================================================
 -->
  -
  -
  -<project name="zoap" default="main" basedir="../" verbose="true">
  -
  -  <target name="init">
  -    <property name="name" value="zoap"/>
  -    <property name="version" value="0.8"/>
  -
  -    <property name="bin.dir" value="${basedir}/bin"/>
  -
  -    <property name="build.dir" value="${basedir}/build"/>
  -    <property name="build.lib.dir" value="${build.dir}/lib"/>
  -    <property name="build.lib.classes.dir" value="${build.lib.dir}/classes"/>
  -    <property name="build.lib.classes.meta.dir" 
value="${build.lib.classes.dir}/META-INF"/>
  -    <property name="build.lib.ext.dir" value="${build.lib.dir}/ext"/>
  -    <property name="build.deploy.dir" value="${build.dir}/deploy"/>
  -    <property name="build.client.dir" value="${build.dir}/client"/>
  -
  -    <property name="docs.dir" value="${basedir}/docs"/>
  -    <property name="etc.dir" value="${basedir}/etc"/>
  -    <property name="lib.dir" value="${basedir}/lib"/>
  -    <property name="lib.ext.dir" value="${lib.dir}/ext"/>
  -    <property name="lib.resources.dir" value="${lib.dir}/resources"/>
  -
  -    <property name="src.dir" value="${basedir}/src/"/>
  -
  -    <property name="dist.dir" value="${basedir}/dist"/>
  -    
  -    <property name="classpath" 
value="${lib.ext.dir}/xml.jar;${lib.ext.dir}/jboss.jar;${lib.ext.dir}/junit.jar;${lib.ext.dir}/ejb.jar;${lib.ext.dir}/jta-spec1_0_1.jar;${lib.ext.dir}/jmxri.jar;${lib.ext.dir}/ejxjboss.jar;${lib.ext.dir}/ejxejb.jar"/>
  -    <property name="packages" 
value="org.zoap.xml,org.zoap.soap,org.jboss.zoap,org.jboss.ejb.plugins.zoap,de.infor.ce.http,de.infor.ce.util,de.infor.businessobjects,de.infor.businessservices,test"/>
  -
  -    <property name="build.compiler" value="classic"/>
  -    
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- Prepares the build directory                                        -->
  -  <!-- =================================================================== -->
  -  <target name="prepare" depends="init">
  -    <mkdir dir="${build.dir}"/>
  -    <mkdir dir="${build.lib.dir}"/>
  -    <mkdir dir="${build.deploy.dir}"/>
  -    <mkdir dir="${build.client.dir}"/>
  -    <mkdir dir="${build.lib.classes.dir}"/>
  -    <mkdir dir="${build.lib.classes.meta.dir}"/>
  -    <mkdir dir="${build.lib.ext.dir}"/>
  -  </target>
  -  
  -  <!-- =================================================================== -->
  -  <!-- Compiles the source code                                            -->
  -  <!-- =================================================================== -->
  -  <target name="compile" depends="prepare">
  -
  -
  -    <javac srcdir="${src.dir}"
  -           destdir="${build.lib.classes.dir}"
  -           classpath="${classpath}"
  -           debug="on"
  -           deprecation="off"
  -           optimize="off"
  -        includes="**/*.java"
  -    />    
  -
  -  </target>
  -  
  -  <!-- =================================================================== -->
  -  <!-- Creates the jar archives                                            -->
  -  <!-- =================================================================== -->
  -  <target name="jar" depends="compile">
  -     
  -    
  -    <jar jarfile="${build.lib.ext.dir}/zoap.jar"
  -         basedir="${build.lib.classes.dir}"
  -         includes="org/**/*.class,de/infor/ce/**/*.class"
  -      excludes="**/test/**/*.*"
  -    />
  -
  -    <copydir src="${etc.dir}/META-INF/test" dest="${build.lib.classes.meta.dir}"/>
  -    
  -    <jar jarfile="${build.deploy.dir}/test-bean.jar"
  -      basedir="${build.lib.classes.dir}"
  -      
includes="de/infor/business*/**/*.class,META-INF/jboss.xml,META-INF/ejb-jar.xml,META-INF/contract.scl,META-INF/BusinessService.scl,META-INF/businessservices/*.*,META-INF/businessobjects/*.*"
 />
  -
  -    <jar jarfile="${build.client.dir}/test-client.jar"
  -      basedir="${build.lib.classes.dir}"
  -      
includes="de/infor/business*/**/*.class,META-INF/contract.scl,META-INF/BusinessService.scl,META-INF/businessservices/*.*,META-INF/businessobjects/*.*,**/test/*.*"
 />
  -
  -              
  -  </target>
  -  
  -  <!-- =================================================================== -->
  -  <!-- Creates the binary structure                                        -->
  -  <!-- =================================================================== -->
  -  <target name="main" depends="jar">
  -
  -     <mkdir dir="${dist.dir}"/>
  -     <mkdir dir="${dist.dir}/bin"/>
  -     <mkdir dir="${dist.dir}/docs"/>
  -     <mkdir dir="${dist.dir}/client"/>
  -     <mkdir dir="${dist.dir}/conf"/>
  -     <mkdir dir="${dist.dir}/lib"/>
  -     <mkdir dir="${dist.dir}/deploy"/>
  -
  -     <copydir src="${build.lib.ext.dir}" dest="${dist.dir}/lib/ext"/>
  -     <copyfile src="${lib.ext.dir}/ejb.jar" dest="${dist.dir}/lib/ext/ejb.jar"/>
  -     <copyfile src="${lib.ext.dir}/junit.jar" dest="${dist.dir}/lib/ext/junit.jar"/>
  -     <copyfile src="${lib.ext.dir}/xml.jar" dest="${dist.dir}/lib/ext/xml.jar"/>
  -     <copyfile src="${build.client.dir}/test-client.jar" 
dest="${dist.dir}/client/test-client.jar"/>
  -     <copydir src="${build.deploy.dir}" dest="${dist.dir}/deploy"/>
  -     <copydir src="${etc.dir}/conf" dest="${dist.dir}/conf"/> 
  -     <copydir src="${etc.dir}/bat" dest="${dist.dir}/bin"/> 
  -     <copydir src="${lib.resources.dir}" dest="${dist.dir}/lib/resources"/>
  -     <copydir src="${docs.dir}" dest="${dist.dir}/docs"/> -->
  -     <copydir src="${etc.dir}/html" dest="${dist.dir}"/> -->
  -  
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- Packages the distribution with ZIP                                  -->
  -  <!-- =================================================================== -->
  -  <target name="dist-zip" depends="main">
  -    <zip zipfile="${name}-${version}.zip" basedir="${dist.dir}" includes="**"/>
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- Packages the distribution with TAR-GZIP                             -->
  -  <!-- =================================================================== -->
  -  <target name="dist-tgz" depends="main">
  -    <tar tarfile="${name}-${version}.tar" basedir="${dist.dir}" includes="**"/>
  -    <gzip zipfile="${name}-${version}.tar.gz" src="${name}-${version}.tar"/>
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- Cleans up generated stuff                                           -->
  -  <!-- =================================================================== -->
  -  <target name="clean" depends="init">
  -    <deltree dir="${build.dir}"/>
  -    <deltree dir="${dist.dir}"/>
  -  </target>
  -
  -  <!-- =================================================================== -->
  -  <!-- Total cleanup                                                       -->
  -  <!-- =================================================================== -->
  -  <target name="total-clean" depends="clean">
  -    <delete file="${name}-${version}.zip"/>
  -    <delete file="${name}-${version}.tar"/>
  -    <delete file="${name}-${version}.tar.gz"/>
  -  </target>
  -
  -</project>
  -
  -<!-- 
  +<!--         
=========================================================================================================
 -->
  +<!-- $Id: zoap.xml,v 1.3 2000/12/04 12:35:34 jung Exp $ -->
  +<!-- Copyright (c) 2000 infor:business solutions AG, Hauerstrasse 12, --> 
  +<!-- D-66299 Friedrichsthal, Germany. All Rights Reserved. -->
  +<!-- -->
  +<!-- This program is free software; you can redistribute it and/or -->
  +<!-- modify it under the terms of the GNU General Public License -->
  +<!-- as published by the Free Software Foundation; either version 2 -->
  +<!-- of the License, or (at your option) any later version. -->
  +<!-- -->
  +<!-- This program is distributed in the hope that it will be useful, -->
  +<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
  +<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the -->
  +<!-- GNU General Public License for more details. -->
  +<!-- -->
  +<!-- You should have received a copy of the GNU General Public License -->
  +<!-- along with this program; if not, write to the Free Software -->
  +<!-- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. -->
  +<!-- 
=========================================================================================================
 -->
  +
  +
  +<project name="zoap" default="main" basedir="../" verbose="true">
  +
  +  <target name="init">
  +    <property name="name" value="zoap"/>
  +    <property name="version" value="0.8"/>
  +
  +    <property name="bin.dir" value="${basedir}/bin"/>
  +
  +    <property name="build.dir" value="${basedir}/build"/>
  +    <property name="build.lib.dir" value="${build.dir}/lib"/>
  +    <property name="build.lib.classes.dir" value="${build.lib.dir}/classes"/>
  +    <property name="build.lib.classes.meta.dir" 
value="${build.lib.classes.dir}/META-INF"/>
  +    <property name="build.lib.ext.dir" value="${build.lib.dir}/ext"/>
  +    <property name="build.deploy.dir" value="${build.dir}/deploy"/>
  +    <property name="build.client.dir" value="${build.dir}/client"/>
  +
  +    <property name="docs.dir" value="${basedir}/docs"/>
  +    <property name="etc.dir" value="${basedir}/etc"/>
  +    <property name="lib.dir" value="${basedir}/lib"/>
  +    <property name="lib.ext.dir" value="${lib.dir}/ext"/>
  +    <property name="lib.resources.dir" value="${lib.dir}/resources"/>
  +
  +    <property name="src.dir" value="${basedir}/src/"/>
  +
  +    <property name="dist.dir" value="${basedir}/dist"/>
  +    
  +    <property name="classpath" 
value="${lib.ext.dir}/xml.jar;${lib.ext.dir}/jboss.jar;${lib.ext.dir}/junit.jar;${lib.ext.dir}/ejb.jar;${lib.ext.dir}/jta-spec1_0_1.jar;${lib.ext.dir}/jmxri.jar;${lib.ext.dir}/ejxjboss.jar;${lib.ext.dir}/ejxejb.jar;${lib.ext.dir}/awt.jar;${lib.ext.dir}/ejxeditor.jar"/>
  +    <property name="packages" 
value="org.zoap.xml,org.zoap.soap,org.jboss.zoap,org.jboss.ejb.plugins.zoap,de.infor.ce.http,de.infor.ce.util,de.infor.businessobjects,de.infor.businessservices,test"/>
  +
  +    <property name="build.compiler" value="classic"/>
  +
  +    
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Prepares the build directory                                        -->
  +  <!-- =================================================================== -->
  +  <target name="prepare" depends="init">
  +    <mkdir dir="${build.dir}"/>
  +    <mkdir dir="${build.lib.dir}"/>
  +    <mkdir dir="${build.deploy.dir}"/>
  +    <mkdir dir="${build.client.dir}"/>
  +    <mkdir dir="${build.lib.classes.dir}"/>
  +    <mkdir dir="${build.lib.classes.meta.dir}"/>
  +    <mkdir dir="${build.lib.ext.dir}"/>
  +  </target>
  +  
  +  <!-- =================================================================== -->
  +  <!-- Compiles the source code                                            -->
  +  <!-- =================================================================== -->
  +  <target name="compile" depends="prepare">
  +
  +
  +    <javac srcdir="${src.dir}"
  +           destdir="${build.lib.classes.dir}"
  +           classpath="${classpath}"
  +           debug="on"
  +           deprecation="off"
  +           optimize="off"
  +        includes="**/*.java"
  +    />    
  +
  +  </target>
  +  
  +  <!-- =================================================================== -->
  +  <!-- Creates the jar archives                                            -->
  +  <!-- =================================================================== -->
  +  <target name="jar" depends="compile">
  +     
  +    
  +    <jar jarfile="${build.lib.ext.dir}/zoap.jar"
  +         basedir="${build.lib.classes.dir}"
  +         includes="org/**/*.class,de/infor/ce/**/*.class"
  +      excludes="**/test/**/*.*"
  +    />
  +
  +    <copydir src="${etc.dir}/META-INF/test" dest="${build.lib.classes.meta.dir}"/>
  +    
  +    <jar jarfile="${build.deploy.dir}/test-bean.jar"
  +      basedir="${build.lib.classes.dir}"
  +      
includes="de/infor/business*/**/*.class,META-INF/jboss.xml,META-INF/ejb-jar.xml,META-INF/contract.scl,META-INF/BusinessService.scl,META-INF/businessservices/*.*,META-INF/businessobjects/*.*"
 />
  +
  +    <jar jarfile="${build.client.dir}/test-client.jar"
  +      basedir="${build.lib.classes.dir}"
  +      
includes="de/infor/business*/**/*.class,META-INF/contract.scl,META-INF/BusinessService.scl,META-INF/businessservices/*.*,META-INF/businessobjects/*.*,**/test/*.*"
 />
  +
  +              
  +  </target>
  +  
  +  <!-- =================================================================== -->
  +  <!-- Creates the binary structure                                        -->
  +  <!-- =================================================================== -->
  +  <target name="main" depends="jar">
  +
  +     <mkdir dir="${dist.dir}"/>
  +     <mkdir dir="${dist.dir}/bin"/>
  +     <mkdir dir="${dist.dir}/docs"/>
  +     <mkdir dir="${dist.dir}/client"/>
  +     <mkdir dir="${dist.dir}/conf"/>
  +     <mkdir dir="${dist.dir}/lib"/>
  +     <mkdir dir="${dist.dir}/deploy"/>
  +
  +     <copydir src="${build.lib.ext.dir}" dest="${dist.dir}/lib/ext"/>
  +     <copyfile src="${lib.ext.dir}/ejb.jar" dest="${dist.dir}/lib/ext/ejb.jar"/>
  +     <copyfile src="${lib.ext.dir}/junit.jar" dest="${dist.dir}/lib/ext/junit.jar"/>
  +     <copyfile src="${lib.ext.dir}/xml.jar" dest="${dist.dir}/lib/ext/xml.jar"/>
  +     <copyfile src="${build.client.dir}/test-client.jar" 
dest="${dist.dir}/client/test-client.jar"/>
  +     <copydir src="${build.deploy.dir}" dest="${dist.dir}/deploy"/>
  +     <copydir src="${etc.dir}/conf" dest="${dist.dir}/conf"/> 
  +     <copydir src="${etc.dir}/bat" dest="${dist.dir}/bin"/> 
  +     <copydir src="${lib.resources.dir}" dest="${dist.dir}/lib/resources"/>
  +     <copydir src="${docs.dir}" dest="${dist.dir}/docs"/> -->
  +     <copydir src="${etc.dir}/html" dest="${dist.dir}"/> -->
  +  
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Packages the distribution with ZIP                                  -->
  +  <!-- =================================================================== -->
  +  <target name="dist-zip" depends="main">
  +    <zip zipfile="${name}-${version}.zip" basedir="${dist.dir}" includes="**"/>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Packages the distribution with TAR-GZIP                             -->
  +  <!-- =================================================================== -->
  +  <target name="dist-tgz" depends="main">
  +    <tar tarfile="${name}-${version}.tar" basedir="${dist.dir}" includes="**"/>
  +    <gzip zipfile="${name}-${version}.tar.gz" src="${name}-${version}.tar"/>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Cleans up generated stuff                                           -->
  +  <!-- =================================================================== -->
  +  <target name="clean" depends="init">
  +    <deltree dir="${build.dir}"/>
  +    <deltree dir="${dist.dir}"/>
  +  </target>
  +
  +  <!-- =================================================================== -->
  +  <!-- Total cleanup                                                       -->
  +  <!-- =================================================================== -->
  +  <target name="total-clean" depends="clean">
  +    <delete file="${name}-${version}.zip"/>
  +    <delete file="${name}-${version}.tar"/>
  +    <delete file="${name}-${version}.tar.gz"/>
  +  </target>
  +
  +</project>
  +
  +<!-- 
        $Log: zoap.xml,v $
  +     Revision 1.3  2000/12/04 12:35:34  jung
  +     adopted to latest jboss container,
  +     
  +     added decimal and date
  +     
  +     removed some problems due to forward-referencing in meta-data
  +     
  +     added serialisation policy
  +     
        Revision 1.2  2000/08/11 14:43:47  jung
        added comments how to run the testsuite with jboss.
        an scl file was wrongly named and had to be moved.
  @@ -178,6 +188,6 @@
        
        Revision 1.1.1.1  2000/08/10 21:05:17  jung
        Initial import.
  +     
        
  -     
  --->
  +-->
  
  
  

Reply via email to