Ignore:
Timestamp:
29/05/08 17:34:17 (11 years ago)
Author:
cbyrom
Message:

Add new build target, generatestubs, to generate both client + server
side stubs + package up client xbeans files + tidy up some other build
things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/branches/ws-Discovery2-upgrade/srcgen/buildDiscovery.xml

    r3959 r3962  
    2121        <property name="src.nongen.client" value="../src/ndg/testclient"/> 
    2222        <property name="res.nongen" value="../resources"/> 
    23         <property name="stubfile" value="${build.base.dir}/src/ndg/clients/discovery/DiscoveryServiceStub.java"/> 
    24         <property name="skeletonfile" value="${build.base.dir}/src/ndg/services/discovery/DiscoveryServiceSkeleton.java"/> 
     23        <property name="stubfile" value="${src}/ndg/clients/discovery/DiscoveryServiceStub.java"/> 
     24        <property name="skeletonfile" value="${src}/ndg/services/discovery/DiscoveryServiceSkeleton.java"/> 
    2525        <property name="tomcat.deploy.dir" value="${env.CATALINA_HOME}/webapps/axis2/WEB-INF/services/"/> 
    2626         
     
    3636        </path> 
    3737         
     38        <target name="clean"> 
     39                <delete dir="${build}"/> 
     40                <delete dir="${resources}"/> 
     41                <delete dir="${test}"/> 
     42                <delete dir="${src}"/> 
     43        </target> 
    3844        <target name="init" depends="clean"> 
    3945                <mkdir dir="${build}"/> 
     
    7884                <delete file="${skeletonfile}"/> 
    7985        </target>        
     86 
     87        <target name="generatestubs" depends="wsdl2java.server, wsdl2java.client, jar.xbeans" /> 
    8088 
    8189        <target name="jar.xbeans"> 
     
    182190                </junit> 
    183191        </target> 
    184         <target name="clean"> 
    185                 <delete dir="${build}"/> 
    186                 <delete dir="${resources}"/> 
    187                 <delete dir="${test}"/> 
    188                 <delete dir="${src}"/> 
    189         </target> 
    190192        <target name="javadoc" depends="compile.src.server" description="Create Javadoc API documentation"> 
    191193                <mkdir dir="${build}/docs/api"/> 
Note: See TracChangeset for help on using the changeset viewer.