Changeset 279


Ignore:
Timestamp:
12/08/11 10:35:09 (12 years ago)
Author:
sherbold
Message:
  • changed Javadoc to compile everything into one project, instead of one directory per project
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaCommons/build.xml

    r278 r279  
    140140                <mkdir dir="${downloads.location}"/> 
    141141        </target> 
     142        <target name="init.javadoc"> 
     143                <mkdir dir="${javadoc.location}" /> 
     144        </target> 
    142145        <target depends="init.build" name="init.eventbenchconsole"> 
    143146                <mkdir dir="${build.location.eventbenchconsole}" /> 
     
    151154        <target depends="init.build" name="init.jfcmonitor"> 
    152155                <mkdir dir="${build.location.jfcmonitor}" /> 
     156        </target> 
     157        <target depends="init.build" name="init.junit"> 
     158                <mkdir dir="${test.location.results}" /> 
     159                <mkdir dir="${test.location.data}" /> 
     160                <mkdir dir="${test.location.output}" /> 
     161        </target> 
     162        <target depends="init.junit" name="init.eventbenchcore-test"> 
     163                <mkdir dir="${test.location.eventbenchcore}" /> 
     164        </target> 
     165        <target depends="init.junit" name="init.javahelperlib-test"> 
     166                <mkdir dir="${test.location.javahelperlib}" /> 
     167                <copy includeemptydirs="true" todir="${test.location.data}"> 
     168                        <fileset dir="${JavaHelperLibTest.location}/testdata" /> 
     169                </copy> 
    153170        </target> 
    154171 
     
    162179        <target name="clean.javadoc"> 
    163180                <delete dir="${javadoc.location}" /> 
     181        </target> 
     182        <target name="clean.junit"> 
     183                <delete dir="${test.location.results}" /> 
     184                <delete dir="${test.location.data}" /> 
     185                <delete dir="${test.location.output}" /> 
    164186        </target> 
    165187        <target depends="clean.build,clean.dist,clean.javadoc,clean.junit" name="clean.all" /> 
     
    282304 
    283305        <!-- Javadoc Targets --> 
    284         <target name="javadoc" description="o Create Javadocs (Requires Javadoc 1.4+)"> 
    285                 <mkdir dir="${javadoc.location}/javahelperlib" /> 
    286                 <mkdir dir="${javadoc.location}/eventbenchcore" /> 
    287                 <mkdir dir="${javadoc.location}/eventbenchconsole" /> 
    288                 <mkdir dir="${javadoc.location}/jfcmonitor" /> 
    289                 <javadoc destdir="${javadoc.location}/javahelperlib" 
     306        <target depends="init.javadoc" name="javadoc" description="o Create Javadocs (Requires Javadoc 1.4+)"> 
     307                <javadoc destdir="${javadoc.location}" 
    290308                        additionalparam="-J-Dorg.apache.commons.attributes.javadoc.CATaglet.sources=${basedir}"> 
    291309                        <classpath refid="JavaHelperLib.classpath" /> 
     310                        <classpath refid="EventBenchCore.classpath" /> 
     311                        <classpath refid="EventBenchConsole.classpath" /> 
     312                        <classpath refid="JFCMonitor.classpath" /> 
    292313                        <link href="http://download.oracle.com/javase/6/docs/api/" /> 
    293314                        <fileset dir="${JavaHelperLib.location}/src" includes="**/*.java" /> 
    294                 </javadoc> 
    295                 <javadoc destdir="${javadoc.location}/eventbenchcore" 
    296                         additionalparam="-J-Dorg.apache.commons.attributes.javadoc.CATaglet.sources=${basedir}"> 
    297                         <classpath refid="EventBenchCore.classpath" /> 
    298                         <link resolveLink="true" href="${javadoc.location}/javahelperlib/" /> 
    299                         <link href="http://download.oracle.com/javase/6/docs/api/" /> 
    300315                        <fileset dir="${EventBenchCore.location}/src" includes="**/*.java" /> 
    301                 </javadoc> 
    302                 <javadoc destdir="${javadoc.location}/eventbenchconsole" 
    303                         additionalparam="-J-Dorg.apache.commons.attributes.javadoc.CATaglet.sources=${basedir}"> 
    304                         <classpath refid="EventBenchConsole.classpath" /> 
    305                         <link resolveLink="true" href="${javadoc.location}/javahelperlib/" /> 
    306                         <link resolveLink="true" href="${javadoc.location}/eventbenchcore/" /> 
    307                         <link href="http://download.oracle.com/javase/6/docs/api/" /> 
    308316                        <fileset dir="${EventBenchConsole.location}/src" includes="**/*.java" /> 
    309                 </javadoc> 
    310                 <javadoc destdir="${javadoc.location}/jfcmonitor" 
    311                         additionalparam="-J-Dorg.apache.commons.attributes.javadoc.CATaglet.sources=${basedir}"> 
    312                         <classpath refid="JFCMonitor.classpath" /> 
    313                         <link href="http://download.oracle.com/javase/6/docs/api/" /> 
    314317                        <fileset dir="${JFCMonitor.location}/src" includes="**/*.java" /> 
    315318                </javadoc> 
     
    317320 
    318321        <!-- JUnit Targets --> 
    319         <target depends="init.build" name="init.junit"> 
    320                 <mkdir dir="${test.location.results}" /> 
    321                 <mkdir dir="${test.location.data}" /> 
    322                 <mkdir dir="${test.location.output}" /> 
    323         </target> 
    324         <target depends="init.junit" name="init.eventbenchcore-test"> 
    325                 <mkdir dir="${test.location.eventbenchcore}" /> 
    326         </target> 
    327         <target depends="init.junit" name="init.javahelperlib-test"> 
    328                 <mkdir dir="${test.location.javahelperlib}" /> 
    329                 <copy includeemptydirs="true" todir="${test.location.data}"> 
    330                         <fileset dir="${JavaHelperLibTest.location}/testdata" /> 
    331                 </copy> 
    332         </target> 
    333          
    334         <target name="clean.junit"> 
    335                 <delete dir="${test.location.results}" /> 
    336                 <delete dir="${test.location.data}" /> 
    337                 <delete dir="${test.location.output}" /> 
    338         </target> 
    339  
    340322        <target depends="init.eventbenchcore-test" name="build.eventbenchcore-test"> 
    341323                <javac debug="true" debuglevel="${debuglevel}" destdir="${test.location.eventbenchcore}" 
Note: See TracChangeset for help on using the changeset viewer.