Changeset 272 for trunk/JavaCommons
- Timestamp:
- 12/05/11 15:03:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaCommons/build.xml
r269 r272 1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 2 <project basedir="." default="dist" name="EventBench"> 3 <!-- General Properties --> 3 4 <property environment="env" /> 4 5 <property name="build.location" value="bin" /> 5 <property name="build.location.eventbenchconsole" value="${build.location}/eventbenchconsole" />6 <property name="build.location.eventbenchcore" value="${build.location}/eventbenchcore" />7 <property name="build.location.javahelperlib" value="${build.location}/javahelperlib" />8 <property name="build.location.jfcmonitor" value="${build.location}/jfcmonitor" />9 6 <property name="dist.location" value="dist" /> 7 <property name="javadoc.location" value="javadoc" /> 8 <property name="debuglevel" value="source,lines,vars" /> 9 <property name="target" value="1.6" /> 10 <property name="source" value="1.6" /> 11 12 <!-- Distribution Properties --> 10 13 <property name="dist.location.main" value="${dist.location}/console" /> 11 14 <property name="dist.location.jfcmonitor" value="${dist.location}/jfcmonitor" /> 12 15 <property name="dist.location.javadoc" value="${dist.location}/javadoc" /> 13 <property name="javadoc.location" value="javadoc" /> 16 17 <!-- EventBenchConsole Properties --> 18 <property name="build.location.eventbenchconsole" value="${build.location}/eventbenchconsole" /> 14 19 <property name="EventBenchConsole.jarname" value="eventbenchconsole.jar" /> 15 <property name="EventBenchCore.jarname" value="eventbenchcore.jar" />16 <property name="JavaHelperLib.jarname" value="javahelperlib.jar" />17 <property name="JFCMonitor.jarname" value="jfcmonitor.jar" />18 20 <property name="EventBenchConsole.location" value="../EventBenchConsole" /> 19 <property name="JavaHelperLib.location" value="../JavaHelperLib" />20 <property name="EventBenchCore.location" value="../EventBenchCore" />21 <property name="JFCMonitor.location" value="../JFCMonitor" />22 <property name="debuglevel" value="source,lines,vars" />23 <property name="target" value="1.6" />24 <property name="source" value="1.6" />25 <path id="JavaHelperLib.classpath">26 <pathelement location="${build.location.javahelperlib}" />27 </path>28 <path id="EventBenchCore.classpath">29 <pathelement location="${build.location.eventbenchcore}" />30 <pathelement location="lib/Jama-1.0.2.jar" />31 <pathelement location="lib/colt-1.2.0.jar" />32 <pathelement location="lib/concurrent-1.3.4.jar" />33 <pathelement location="lib/j3d-core-1.3.1.jar" />34 <pathelement location="lib/jung-3d-2.0.1.jar" />35 <pathelement location="lib/jung-3d-demos-2.0.1.jar" />36 <pathelement location="lib/jung-algorithms-2.0.1.jar" />37 <pathelement location="lib/jung-api-2.0.1.jar" />38 <pathelement location="lib/jung-graph-impl-2.0.1.jar" />39 <pathelement location="lib/jung-io-2.0.1.jar" />40 <pathelement location="lib/jung-jai-2.0.1.jar" />41 <pathelement location="lib/jung-jai-samples-2.0.1.jar" />42 <pathelement location="lib/jung-samples-2.0.1.jar" />43 <pathelement location="lib/jung-visualization-2.0.1.jar" />44 <pathelement location="lib/stax-api-1.0.1.jar" />45 <pathelement location="lib/vecmath-1.3.1.jar" />46 <pathelement location="lib/wstx-asl-3.2.6.jar" />47 <pathelement location="lib/commons-codec-1.5.jar" />48 <pathelement location="lib/collections-generic-4.01.jar" />49 <path refid="JavaHelperLib.classpath" />50 </path>51 21 <path id="EventBenchConsole.classpath"> 52 22 <pathelement location="${build.location.eventbenchconsole}" /> … … 83 53 <path refid="EventBenchCore.classpath" /> 84 54 </path> 55 56 <!-- EventBenchCore Properties --> 57 <property name="build.location.eventbenchcore" value="${build.location}/eventbenchcore" /> 58 <property name="EventBenchCore.jarname" value="eventbenchcore.jar" /> 59 <property name="EventBenchCore.location" value="../EventBenchCore" /> 60 <path id="EventBenchCore.classpath"> 61 <pathelement location="${build.location.eventbenchcore}" /> 62 <pathelement location="lib/Jama-1.0.2.jar" /> 63 <pathelement location="lib/colt-1.2.0.jar" /> 64 <pathelement location="lib/concurrent-1.3.4.jar" /> 65 <pathelement location="lib/j3d-core-1.3.1.jar" /> 66 <pathelement location="lib/jung-3d-2.0.1.jar" /> 67 <pathelement location="lib/jung-3d-demos-2.0.1.jar" /> 68 <pathelement location="lib/jung-algorithms-2.0.1.jar" /> 69 <pathelement location="lib/jung-api-2.0.1.jar" /> 70 <pathelement location="lib/jung-graph-impl-2.0.1.jar" /> 71 <pathelement location="lib/jung-io-2.0.1.jar" /> 72 <pathelement location="lib/jung-jai-2.0.1.jar" /> 73 <pathelement location="lib/jung-jai-samples-2.0.1.jar" /> 74 <pathelement location="lib/jung-samples-2.0.1.jar" /> 75 <pathelement location="lib/jung-visualization-2.0.1.jar" /> 76 <pathelement location="lib/stax-api-1.0.1.jar" /> 77 <pathelement location="lib/vecmath-1.3.1.jar" /> 78 <pathelement location="lib/wstx-asl-3.2.6.jar" /> 79 <pathelement location="lib/commons-codec-1.5.jar" /> 80 <pathelement location="lib/collections-generic-4.01.jar" /> 81 <path refid="JavaHelperLib.classpath" /> 82 </path> 83 84 <!-- JavaHelperLib Properties --> 85 <property name="build.location.javahelperlib" value="${build.location}/javahelperlib" /> 86 <property name="JavaHelperLib.jarname" value="javahelperlib.jar" /> 87 <property name="JavaHelperLib.location" value="../JavaHelperLib" /> 88 <path id="JavaHelperLib.classpath"> 89 <pathelement location="${build.location.javahelperlib}" /> 90 </path> 91 92 <!-- JFCMonitor Properties --> 93 <property name="build.location.jfcmonitor" value="${build.location}/jfcmonitor" /> 94 <property name="JFCMonitor.jarname" value="jfcmonitor.jar" /> 95 <property name="JFCMonitor.location" value="../JFCMonitor" /> 85 96 <path id="JFCMonitor.classpath" /> 97 98 <!-- Initialization Targets --> 86 99 <target name="init.build"> 87 100 <mkdir dir="bin" /> … … 92 105 <mkdir dir="${dist.location.jfcmonitor}" /> 93 106 </target> 107 <target depends="init.build" name="init.eventbenchconsole"> 108 <mkdir dir="${build.location.eventbenchconsole}" /> 109 </target> 110 <target depends="init.build" name="init.eventbenchcore"> 111 <mkdir dir="${build.location.eventbenchcore}" /> 112 </target> 113 <target depends="init.build" name="init.javahelperlib"> 114 <mkdir dir="${build.location.javahelperlib}" /> 115 </target> 116 <target depends="init.build" name="init.jfcmonitor"> 117 <mkdir dir="${build.location.jfcmonitor}" /> 118 </target> 119 120 <!-- Clean-up Targets --> 94 121 <target name="clean.build"> 95 122 <delete dir="${build.location}" /> … … 102 129 </target> 103 130 <target depends="clean.build,clean.dist,clean.javadoc" name="clean.all" /> 131 132 <!-- Build Targets --> 104 133 <target 105 134 depends="build.javahelperlib,build.eventbenchcore,build.eventbenchconsole,build.jfcmonitor" 106 135 name="build" /> 107 <target depends="init.build" name="init.eventbenchconsole">108 <mkdir dir="${build.location.eventbenchconsole}" />109 </target>110 136 <target depends="init.eventbenchconsole" name="build.eventbenchconsole"> 111 137 <javac debug="true" debuglevel="${debuglevel}" … … 116 142 </javac> 117 143 </target> 118 <target depends="init.build" name="init.eventbenchcore">119 <mkdir dir="${build.location.eventbenchcore}" />120 </target>121 144 <target depends="init.eventbenchcore" name="build.eventbenchcore"> 122 145 <javac debug="true" debuglevel="${debuglevel}" … … 127 150 </javac> 128 151 </target> 129 <target depends="init.build" name="init.javahelperlib">130 <mkdir dir="${build.location.javahelperlib}" />131 </target>132 152 <target depends="init.javahelperlib" name="build.javahelperlib"> 133 153 <javac debug="true" debuglevel="${debuglevel}" destdir="${build.location.javahelperlib}" … … 137 157 </javac> 138 158 </target> 139 <target depends="init.build" name="init.jfcmonitor">140 <mkdir dir="${build.location.jfcmonitor}" />141 </target>142 159 <target depends="init.jfcmonitor" name="build.jfcmonitor"> 143 160 <javac debug="true" debuglevel="${debuglevel}" destdir="${build.location.jfcmonitor}" … … 147 164 </javac> 148 165 </target> 166 167 <!-- Distribution Targets --> 149 168 <target depends="build,init.dist,javadoc" name="dist"> 150 169 <!-- dist of main components, i.e., the console --> … … 178 197 </manifest> 179 198 </jar> 180 <jar destfile="${dist.location.main}/${JavaHelperLib.jarname}" basedir="${build.location.javahelperlib}"> 199 <jar destfile="${dist.location.main}/${JavaHelperLib.jarname}" 200 basedir="${build.location.javahelperlib}"> 181 201 <manifest> 182 202 <attribute name="Built-By" value="${user.name}" /> … … 193 213 <fileset dir="${EventBenchConsole.location}/rules" /> 194 214 </copy> 195 215 196 216 <!-- dist of JFCMonitor --> 197 <jar destfile="${dist.location.jfcmonitor}/${JFCMonitor.jarname}" basedir="${build.location.jfcmonitor}"> 217 <jar destfile="${dist.location.jfcmonitor}/${JFCMonitor.jarname}" 218 basedir="${build.location.jfcmonitor}"> 198 219 <manifest> 199 220 <attribute name="Built-By" value="${user.name}" /> … … 202 223 </manifest> 203 224 </jar> 204 225 205 226 <!-- copy Javadoc to dist --> 206 227 <copy includeemptydirs="false" todir="${dist.location.javadoc}"> … … 208 229 </copy> 209 230 </target> 210 <target name="javadoc" 211 description="o Create Javadocs (Requires Javadoc 1.4+)"> 231 232 <!-- Javadoc Targets --> 233 <target name="javadoc" description="o Create Javadocs (Requires Javadoc 1.4+)"> 212 234 <mkdir dir="${javadoc.location}/javahelperlib" /> 213 235 <mkdir dir="${javadoc.location}/eventbenchcore" />
Note: See TracChangeset
for help on using the changeset viewer.