Changeset 266
- Timestamp:
- 12/02/11 11:15:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaCommons/build.xml
r247 r266 6 6 <property name="build.location.eventbenchcore" value="${build.location}/eventbenchcore" /> 7 7 <property name="build.location.javahelperlib" value="${build.location}/javahelperlib" /> 8 <property name="build.location.jfcmonitor" value="${build.location}/jfcmonitor" /> 8 9 <property name="dist.location" value="dist" /> 10 <property name="dist.location.main" value="${dist.location}/console" /> 11 <property name="dist.location.jfcmonitor" value="${dist.location}/jfcmonitor" /> 9 12 <property name="javadoc.location" value="javadoc" /> 10 13 <property name="EventBenchConsole.jarname" value="eventbenchconsole.jar" /> 11 14 <property name="EventBenchCore.jarname" value="eventbenchcore.jar" /> 12 15 <property name="JavaHelperLib.jarname" value="javahelperlib.jar" /> 16 <property name="JFCMonitor.jarname" value="jfcmonitor.jar" /> 13 17 <property name="EventBenchConsole.location" value="../EventBenchConsole" /> 14 18 <property name="JavaHelperLib.location" value="../JavaHelperLib" /> 15 19 <property name="EventBenchCore.location" value="../EventBenchCore" /> 20 <property name="JFCMonitor.location" value="../JFCMonitor" /> 16 21 <property name="debuglevel" value="source,lines,vars" /> 17 22 <property name="target" value="1.6" /> … … 77 82 <path refid="EventBenchCore.classpath" /> 78 83 </path> 84 <path id="JFCMonitor.classpath" /> 79 85 <target name="init.build"> 80 86 <mkdir dir="bin" /> 81 87 </target> 82 88 <target name="init.dist"> 83 <mkdir dir="dist" /> 89 <mkdir dir="${dist.location}" /> 90 <mkdir dir="${dist.location.main}" /> 91 <mkdir dir="${dist.location.jfcmonitor}" /> 84 92 </target> 85 93 <target name="clean.build"> … … 94 102 <target depends="clean.build,clean.dist,clean.javadoc" name="clean.all" /> 95 103 <target 96 depends="build.javahelperlib,build.eventbenchcore,build.eventbenchconsole "104 depends="build.javahelperlib,build.eventbenchcore,build.eventbenchconsole,build.jfcmonitor" 97 105 name="build" /> 98 106 <target depends="init.build" name="init.eventbenchconsole"> … … 128 136 </javac> 129 137 </target> 138 <target depends="init.build" name="init.jfcmonitor"> 139 <mkdir dir="${build.location.jfcmonitor}" /> 140 </target> 141 <target depends="init.jfcmonitor" name="build.jfcmonitor"> 142 <javac debug="true" debuglevel="${debuglevel}" destdir="${build.location.jfcmonitor}" 143 source="${source}" target="${target}" includeantruntime="false"> 144 <src path="${JFCMonitor.location}/src" /> 145 <classpath refid="JFCMonitor.classpath" /> 146 </javac> 147 </target> 130 148 <target depends="build,init.dist,javadoc" name="dist"> 149 <!-- dist of main components, i.e., the console --> 131 150 <pathconvert property="dist.libs" pathsep=" "> 132 151 <mapper> … … 144 163 <property name="dist.classpath" 145 164 value="${dist.libs} ${JavaHelperLib.jarname} ${EventBenchCore.jarname}"></property> 146 <jar destfile="${dist.location }/${EventBenchConsole.jarname}"165 <jar destfile="${dist.location.main}/${EventBenchConsole.jarname}" 147 166 basedir="${build.location.eventbenchconsole}"> 148 167 <manifest> … … 152 171 </manifest> 153 172 </jar> 154 <jar destfile="${dist.location }/${EventBenchCore.jarname}"173 <jar destfile="${dist.location.main}/${EventBenchCore.jarname}" 155 174 basedir="${build.location.eventbenchcore}"> 156 175 <manifest> … … 158 177 </manifest> 159 178 </jar> 160 <jar destfile="${dist.location}/${JavaHelperLib.jarname}" basedir="${build.location.javahelperlib}"> 161 <manifest> 162 <attribute name="Built-By" value="${user.name}" /> 163 <attribute name="Main-Class" value="de.ugoe.cs.eventbench.Runner" /> 179 <jar destfile="${dist.location.main}/${JavaHelperLib.jarname}" basedir="${build.location.javahelperlib}"> 180 <manifest> 181 <attribute name="Built-By" value="${user.name}" /> 164 182 <attribute name="Class-Path" value="${dist.classpath}" /> 165 183 </manifest> 166 184 </jar> 167 <copy includeemptydirs="false" todir=" dist/lib">185 <copy includeemptydirs="false" todir="${dist.location.main}/lib"> 168 186 <fileset dir="lib" /> 169 187 </copy> 170 <copy todir=" dist/misc">188 <copy todir="${dist.location.main}/misc"> 171 189 <fileset dir="${EventBenchConsole.location}/misc" /> 172 190 </copy> 173 <copy todir=" dist/rules">191 <copy todir="${dist.location.main}/rules"> 174 192 <fileset dir="${EventBenchConsole.location}/rules" /> 175 193 </copy> 194 195 <!-- dist of JFCMonitor --> 196 <jar destfile="${dist.location.jfcmonitor}/${JFCMonitor.jarname}" basedir="${build.location.jfcmonitor}"> 197 <manifest> 198 <attribute name="Built-By" value="${user.name}" /> 199 <attribute name="Main-Class" value="de.ugoe.cs.eventbench.jfcmonitor.Runner" /> 200 <attribute name="Class-Path" value="${jfc.classpath}" /> 201 </manifest> 202 </jar> 176 203 </target> 177 204 <target name="javadoc"
Note: See TracChangeset
for help on using the changeset viewer.