Changeset 1602 for TI01-discovery/trunk


Ignore:
Timestamp:
18/10/06 21:39:38 (13 years ago)
Author:
mpritcha
Message:

Modified build script to include any jars placed in resources dir (not needed but easier than naming individually if this changes in future).

File:
1 edited

Legend:

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

    r1548 r1602  
    2323                </fileset> 
    2424                <fileset dir="${resources}"> 
    25                         <include name="xmlrpc-1.2-patched.jar"/> 
     25                        <include name="*.jar"/> 
     26                        <!--<include name="xmlrpc-1.2-patched.jar"/> 
     27                        <include name="jdom.jar"/> 
     28                        <include name="jaxen-core.jar"/> 
     29                        <include name="jaxen-jdom.jar"/> 
     30                        <include name="saxpath.jar"/>--> 
    2631                </fileset> 
    2732        </path> 
     
    5358        </target> 
    5459        <target name="compile.src" depends="pre.compile.test,copynongen" if="jars.ok"> 
    55                 <!-- Copy non-auto-generated src into same source tree for compilation --> 
    5660                <javac debug="on" destdir="${classes}" srcdir="${src}"> 
    5761                        <classpath location="${lib}/${xbeans.packaged.jar.name}"/> 
     
    8286                <copy file="${resources}/DiscoveryService.properties" toDir="${classes}"/> 
    8387                <copy file="${resources}/DiscoveryService.fullTextSearch.xq" toDir="${classes}"/> 
    84                 <copy file="${resources}/xmlrpc-1.2-patched.jar" toDir="${classes}/lib"/> 
     88                <copy toDir="${classes}/lib"> 
     89                        <fileset dir="${resources}"> 
     90                                <include name="*.jar"/> 
     91                        </fileset> 
     92                </copy> 
    8593                <jar destfile="${lib}/${name}.aar"> 
    8694                        <fileset excludes="**/Test.class" dir="${classes}"/> 
     
    134142        <target name="javadoc" depends="compile.src" description="Create Javadoc API documentation"> 
    135143                <mkdir dir="${build}/docs/api"/> 
    136                 <javadoc sourcepath="${src}" destdir="${build}/docs/api" packagenames="ndg.*,discoveryserviceapi.*"/> 
     144                <javadoc sourcepath="${src}" destdir="${build}/docs/api" packagenames="*"/> 
    137145   </target> 
    138146   <target name="copynongen"> 
Note: See TracChangeset for help on using the changeset viewer.