Changeset 758
- Timestamp:
- Sep 15, 2008, 1:45:27 PM (14 years ago)
- Location:
- plugins/base1
- Files:
-
- 6 added
- 1 edited
- 4 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
plugins/base1/se.lu.onk.BaseFile/trunk/build.xml
r757 r758 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- ======================================================================3 Oct 10, 2005 3:32:31 PM 2 <!-- 3 $Id$ 4 4 5 Base plugins 6 This buildfile is used for base-plugins created at the oncology department in Lund, Sweden5 Copyright (C) 2005, 2006 Johan Enell 6 Copyright (C) 2008 Jari Hakkinen 7 7 8 johan 9 ====================================================================== -->10 <project name="Base plugins" default="dist" basedir="."> 11 <description>This buildfile is used for base-plugins created at the oncology department in Lund, Sweden</description>8 This file is part of the se.lu.onk.BaseFile package, a utility 9 package for reading files generated by BASE. The package is 10 available at http://baseplugins.thep.lu.se/ and BASE web site is 11 http://base.thep.lu.se 12 12 13 <!-- doc --> 14 <property name="doc" value="doc"/> 13 This is free software; you can redistribute it and/or modify it 14 under the terms of the GNU General Public License as published by 15 the Free Software Foundation; either version 3 of the License, or 16 (at your option) any later version. 15 17 16 <!-- lib --> 17 <property name="lib" location="lib" /> 18 <property name="replicateerror.lib" location="ReplicateError/lib" /> 19 <property name="virtualarray.lib" location="VirtualArray/lib" /> 20 <property name="mergebioassay.doc" location="MergeBioAssay/doc" /> 21 <property name="qpackage.lib" location="QPackage/lib" /> 22 <property name="smooth.doc" location="smooth/doc" /> 18 The software is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 General Public License for more details. 23 22 24 <!-- src --> 25 <property name="basefile.src" location="BaseFile/src" /> 26 <property name="virtualarray.src" location="VirtualArray/src" /> 27 <property name="replicateerror.src" location="ReplicateError/src" /> 28 <property name="mergebioassay.src" location="MergeBioAssay/src" /> 29 <property name="qpackage.src" location="QPackage/src" /> 30 <property name="center.src" location="Center/src" /> 31 <property name="normalization.src" location="Normalization/src" /> 32 <property name="null.src" location="NullPlugin/src" /> 33 <property name="smooth.src" location="Smooth/src" /> 34 <property name="gominer.src" location="GoMiner/src" /> 35 <property name="ztest.src" location="ZTest/src" /> 36 <property name="annotationfilter.src" location="AnnotationFilter/src" /> 23 You should have received a copy of the GNU General Public License 24 along with BASE. If not, see <http://www.gnu.org/licenses/>. 25 --> 26 <project name="se.lu.onk.ReplicateError package for BASE" 27 default="dist" basedir="."> 28 <description> 29 This build file is used for se.lu.onk.BaseFile package for BASE 30 created at the Department of Oncology, Lund University, Sweden. 31 </description> 37 32 38 <!-- bin --> 39 <property name="bin" location="build" /> 40 <property name="basefile.bin" location="${bin}/BaseFile" /> 41 <property name="virtualarray.bin" location="${bin}/VirtualArray" /> 42 <property name="replicateerror.bin" location="${bin}/ReplicateError" /> 43 <property name="mergebioassay.bin" location="${bin}/MergeBioAssay" /> 44 <property name="qpackage.bin" location="${bin}/QPackage" /> 45 <property name="center.bin" location="${bin}/Center" /> 46 <property name="normalization.bin" location="${bin}/Normalization" /> 47 <property name="null.bin" location="${bin}/NullPlugin" /> 48 <property name="smooth.bin" location="${bin}/Smooth" /> 49 <property name="gominer.bin" location="${bin}/GoMiner" /> 50 <property name="ztest.bin" location="${bin}/ZTest" /> 51 <property name="annotationfilter.bin" location="${bin}/AnnotationFilter" /> 33 <!-- properties --> 34 <property name="src" location="src" /> 35 <property name="build" location="build" /> 36 <property name="dist" location="dist" /> 37 <property name="package" value="basefile"/> 52 38 53 <!-- dist -->54 <property name="dist" location="dist" />55 56 <!-- package -->57 <property name="mergebioassay.pac" value="${dist}/mergebioassay"/>58 <property name="smooth.pac" value="${dist}/smooth"/>59 60 61 <path id="classpath">62 <fileset dir="${lib}">63 <include name="**/*.jar"/>64 </fileset>65 <pathelement path="${basefile.bin}"/>66 </path>67 68 39 <!-- ================================= 69 40 target: compile 70 41 ================================== --> 71 <target name="compile" description="--> Compiles all the packages"> 72 <ant target="virtualarray.compile" /> 73 <ant target="replicateerror.compile" /> 74 <ant target="mergebioassay.compile" /> 75 <ant target="qpackage.compile" /> 76 <ant target="center.compile" /> 77 <ant target="normalization.compile" /> 78 <ant target="smooth.compile" /> 79 </target> 80 81 <!-- - - - - - - - - - - - - - - - - - 82 target: basefile.compile 83 - - - - - - - - - - - - - - - - - --> 84 <target name="basefile.compile"> 85 <mkdir dir="${basefile.bin}"/> 42 <target name="compile"> 43 <mkdir dir="${build}"/> 86 44 <javac 87 srcdir="${ basefile.src}"88 destdir="${b asefile.bin}"45 srcdir="${src}" 46 destdir="${build}" 89 47 debug="true" 90 48 deprecation="true" … … 93 51 </target> 94 52 95 <!-- - - - - - - - - - - - - - - - - -96 target: virtualarray.compile97 - - - - - - - - - - - - - - - - - -->98 <target name="virtualarray.compile" depends="basefile.compile">99 <mkdir dir="${virtualarray.bin}"/>100 <javac101 srcdir="${virtualarray.src}"102 destdir="${virtualarray.bin}"103 classpath="${basefile.bin}"104 debug="true"105 deprecation="true"106 encoding="ISO-8859-1"107 />108 </target>109 110 <!-- - - - - - - - - - - - - - - - - -111 target: replicateerror.compile112 - - - - - - - - - - - - - - - - - -->113 <target name="replicateerror.compile" depends="basefile.compile">114 <mkdir dir="${replicateerror.bin}"/>115 <javac116 srcdir="${replicateerror.src}"117 destdir="${replicateerror.bin}"118 classpath="${basefile.bin}"119 debug="true"120 deprecation="true"121 encoding="ISO-8859-1"122 />123 </target>124 125 <!-- - - - - - - - - - - - - - - - - -126 target: mergebioassay.compile127 - - - - - - - - - - - - - - - - - -->128 <target name="mergebioassay.compile" depends="basefile.compile">129 <mkdir dir="${mergebioassay.bin}"/>130 <javac131 srcdir="${mergebioassay.src}"132 destdir="${mergebioassay.bin}"133 classpath="${basefile.bin}"134 debug="true"135 deprecation="true"136 encoding="ISO-8859-1"137 />138 </target>139 140 <!-- - - - - - - - - - - - - - - - - -141 target: qpackage.compile142 - - - - - - - - - - - - - - - - - -->143 <target name="qpackage.compile" depends="basefile.compile">144 <mkdir dir="${qpackage.bin}"/>145 <javac146 srcdir="${qpackage.src}"147 destdir="${qpackage.bin}"148 classpath="${basefile.bin}"149 debug="true"150 deprecation="true"151 encoding="ISO-8859-1"152 />153 </target>154 155 <!-- - - - - - - - - - - - - - - - - -156 target: center.compile157 - - - - - - - - - - - - - - - - - -->158 <target name="center.compile" depends="basefile.compile">159 <mkdir dir="${center.bin}"/>160 <javac161 srcdir="${center.src}"162 destdir="${center.bin}"163 classpath="${basefile.bin}"164 debug="true"165 deprecation="true"166 encoding="ISO-8859-1"167 />168 </target>169 170 <!-- - - - - - - - - - - - - - - - - -171 target: normalization.compile172 - - - - - - - - - - - - - - - - - -->173 <target name="normalization.compile" depends="basefile.compile">174 <mkdir dir="${normalization.bin}"/>175 <javac176 srcdir="${normalization.src}"177 destdir="${normalization.bin}"178 classpath="${basefile.bin}"179 debug="true"180 deprecation="true"181 encoding="ISO-8859-1"182 />183 </target>184 185 <!-- - - - - - - - - - - - - - - - - -186 target: smooth.compile187 - - - - - - - - - - - - - - - - - -->188 <target name="smooth.compile" depends="basefile.compile">189 <mkdir dir="${smooth.bin}"/>190 <javac191 srcdir="${smooth.src}"192 destdir="${smooth.bin}"193 classpathref="classpath"194 debug="true"195 deprecation="true"196 encoding="ISO-8859-1"197 />198 </target>199 200 <!-- - - - - - - - - - - - - - - - - -201 target: null.compile202 - - - - - - - - - - - - - - - - - -->203 <target name="null.compile" depends="basefile.compile">204 <mkdir dir="${null.bin}"/>205 <javac206 srcdir="${null.src}"207 destdir="${null.bin}"208 classpath="${basefile.bin}"209 debug="true"210 deprecation="true"211 encoding="ISO-8859-1"212 />213 </target>214 215 <!-- - - - - - - - - - - - - - - - - -216 target: gominer.compile217 - - - - - - - - - - - - - - - - - -->218 <target name="gominer.compile" depends="basefile.compile">219 <mkdir dir="${gominer.bin}"/>220 <javac221 srcdir="${gominer.src}"222 destdir="${gominer.bin}"223 classpath="${basefile.bin}"224 debug="true"225 deprecation="true"226 encoding="ISO-8859-1"227 />228 </target>229 230 <!-- - - - - - - - - - - - - - - - - -231 target: ztest.compile232 - - - - - - - - - - - - - - - - - -->233 <target name="ztest.compile" depends="basefile.compile">234 <mkdir dir="${ztest.bin}"/>235 <javac236 srcdir="${ztest.src}"237 destdir="${ztest.bin}"238 classpathref="classpath"239 debug="true"240 deprecation="true"241 encoding="ISO-8859-1"242 />243 </target>244 245 <!-- - - - - - - - - - - - - - - - - -246 target: annotationfilter.compile247 - - - - - - - - - - - - - - - - - -->248 <target name="annotationfilter.compile" depends="basefile.compile">249 <mkdir dir="${annotationfilter.bin}"/>250 <javac251 srcdir="${annotationfilter.src}"252 destdir="${annotationfilter.bin}"253 classpathref="classpath"254 debug="true"255 deprecation="true"256 encoding="ISO-8859-1"257 />258 </target>259 260 261 262 53 <!-- ================================= 263 54 target: clean 264 55 ================================= --> 265 56 <target name="clean" description="--> Remove all generated files"> 57 <delete dir="${bin}" /> 266 58 <delete dir="${dist}" /> 267 <delete dir="${bin}" /> 59 <delete dir="${package}" /> 60 <delete file="BaseFile.zip" /> 268 61 </target> 269 62 … … 272 65 target: dist 273 66 ================================== --> 274 <target name="dist" 275 depends="virtualarray.dist, replicateerror.dist, mergebioassay.dist, 276 qpackage.dist, center.dist, lowess.dist, smooth.dist" 277 description="--> Creates a ditributable gzipfile for each package"> 278 </target> 279 280 <!-- - - - - - - - - - - - - - - - - - 281 target: virtualarray.dist 282 - - - - - - - - - - - - - - - - - --> 283 <target name="virtualarray.dist" depends="virtualarray.compile"> 67 <target name="dist" depends="compile"> 284 68 <mkdir dir="${dist}" /> 285 <jar destfile="${dist}/virtualarray.jar"> 286 <fileset dir="${basefile.src}" /> 287 <fileset dir="${basefile.bin}" /> 288 <fileset dir="${virtualarray.bin}" /> 289 <fileset dir="${virtualarray.src}" /> 69 <jar destfile="${dist}/BaseFile.jar"> 70 <fileset dir="${src}" /> 71 <fileset dir="${build}" /> 290 72 <manifest> 291 73 <attribute name="Built-By" value="${user.name}" /> 292 <attribute name="Main-Class" value="virtualarray.VirtualArray" />293 74 </manifest> 294 75 </jar> 295 76 </target> 296 77 297 <!-- - - - - - - - - - - - - - - - - - 298 target: replicateerror.dist 299 - - - - - - - - - - - - - - - - - --> 300 <target name="replicateerror.dist" depends="replicateerror.compile"> 301 <mkdir dir="${dist}" /> 302 <jar destfile="${dist}/replicateerror.jar"> 303 <fileset dir="${basefile.src}" /> 304 <fileset dir="${basefile.bin}" /> 305 <fileset dir="${replicateerror.bin}" /> 306 <fileset dir="${replicateerror.src}" /> 307 <manifest> 308 <attribute name="Built-By" value="${user.name}"/> 309 <attribute name="Main-Class" value="replicateerror.ReplicateError"/> 310 </manifest> 311 </jar> 78 <!-- ================================= 79 target: package 80 ================================= --> 81 <target name="package" depends="dist" 82 description="--> Create a zip file for distribution."> 83 <mkdir dir="${package}"/> 84 <mkdir dir="${package}/BaseFile"/> 85 <copy todir="${package}/BaseFile"> 86 <fileset file="${dist}/BaseFile.jar" /> 87 <fileset file="README" /> 88 <fileset file="license.txt" /> 89 </copy> 90 <zip destfile="BaseFile.zip" basedir="${package}" /> 312 91 </target> 313 92 314 <!-- - - - - - - - - - - - - - - - - -315 target: mergebioassay.dist316 - - - - - - - - - - - - - - - - - -->317 <target name="mergebioassay.dist" depends="mergebioassay.compile">318 <mkdir dir="${dist}" />319 <jar destfile="${dist}/mergebioassay.jar">320 <fileset dir="${basefile.src}" />321 <fileset dir="${basefile.bin}" />322 <fileset dir="${mergebioassay.bin}" />323 <fileset dir="${mergebioassay.src}" />324 <manifest>325 <attribute name="Built-By" value="${user.name}"/>326 <attribute name="Main-Class" value="mergebioassay.MergeBioAssay"/>327 </manifest>328 </jar>329 </target>330 331 <!-- - - - - - - - - - - - - - - - - -332 target: qpackage.dist333 - - - - - - - - - - - - - - - - - -->334 <target name="qpackage.dist" depends="qpackage.compile">335 <mkdir dir="${dist}" />336 <jar destfile="${dist}/qpackage.jar">337 <fileset dir="${basefile.src}" />338 <fileset dir="${basefile.bin}" />339 <fileset dir="${qpackage.bin}" />340 <fileset dir="${qpackage.src}" />341 <manifest>342 <attribute name="Built-By" value="${user.name}"/>343 </manifest>344 </jar>345 </target>346 347 <!-- - - - - - - - - - - - - - - - - -348 target: center.dist349 - - - - - - - - - - - - - - - - - -->350 <target name="center.dist" depends="center.compile">351 <mkdir dir="${dist}" />352 <jar destfile="${dist}/center.jar">353 <fileset dir="${basefile.src}" />354 <fileset dir="${basefile.bin}" />355 <fileset dir="${center.bin}" />356 <fileset dir="${center.src}" />357 <manifest>358 <attribute name="Built-By" value="${user.name}"/>359 <attribute name="Main-Class" value="center.Center"/>360 </manifest>361 </jar>362 </target>363 364 <!-- - - - - - - - - - - - - - - - - -365 target: lowess.dist366 - - - - - - - - - - - - - - - - - -->367 <target name="lowess.dist" depends="normalization.compile">368 <mkdir dir="${dist}" />369 <jar destfile="${dist}/lowess.jar">370 <fileset dir="${basefile.src}" />371 <fileset dir="${basefile.bin}" />372 <fileset dir="${normalization.bin}" includes="lowess/**" />373 <fileset dir="${normalization.src}" includes="lowess/**" />374 <manifest>375 <attribute name="Built-By" value="${user.name}" />376 <attribute name="Main-Class" value="lowess.Lowess" />377 </manifest>378 </jar>379 </target>380 381 <!-- - - - - - - - - - - - - - - - - -382 target: smooth.dist383 - - - - - - - - - - - - - - - - - -->384 <target name="smooth.dist" depends="smooth.compile">385 <mkdir dir="${dist}" />386 <jar destfile="${dist}/smooth.jar">387 <fileset dir="${basefile.src}" />388 <fileset dir="${basefile.bin}" />389 <fileset dir="${smooth.bin}" />390 <fileset dir="${smooth.src}" />391 <manifest>392 <attribute name="Built-By" value="${user.name}"/>393 <attribute name="Main-Class" value="smooth.SmoothMain"/>394 </manifest>395 </jar>396 </target>397 398 <!-- - - - - - - - - - - - - - - - - -399 target: null.dist400 - - - - - - - - - - - - - - - - - -->401 <target name="null.dist" depends="null.compile">402 <mkdir dir="${dist}" />403 <jar destfile="${dist}/nullbase1plugin.jar">404 <fileset dir="${basefile.src}" />405 <fileset dir="${basefile.bin}" />406 <fileset dir="${null.bin}" />407 <fileset dir="${null.src}" />408 <manifest>409 <attribute name="Built-By" value="${user.name}"/>410 <attribute name="Main-Class" value="base1null.Base1NullPlugin"/>411 </manifest>412 </jar>413 </target>414 415 <!-- - - - - - - - - - - - - - - - - -416 target: gominer.dist417 - - - - - - - - - - - - - - - - - -->418 <target name="gominer.dist" depends="gominer.compile">419 <mkdir dir="${dist}" />420 <jar destfile="${dist}/gominer.jar">421 <fileset dir="${basefile.src}" />422 <fileset dir="${basefile.bin}" />423 <fileset dir="${gominer.bin}" />424 <fileset dir="${gominer.src}" />425 <manifest>426 <attribute name="Built-By" value="${user.name}"/>427 <attribute name="Main-Class" value="net.sf.basedb.plugin.gominer.GoMinerExport"/>428 </manifest>429 </jar>430 </target>431 432 <!-- - - - - - - - - - - - - - - - - -433 target: ztest.dist434 - - - - - - - - - - - - - - - - - -->435 <target name="ztest.dist" depends="ztest.compile">436 <mkdir dir="${dist}" />437 <jar destfile="${dist}/ztest.jar">438 <fileset dir="${basefile.src}" />439 <fileset dir="${basefile.bin}" />440 <fileset dir="${ztest.bin}" />441 <fileset dir="${ztest.src}" />442 <manifest>443 <attribute name="Built-By" value="${user.name}"/>444 <attribute name="Main-Class" value="ztest.Start"/>445 </manifest>446 </jar>447 </target>448 449 <!-- - - - - - - - - - - - - - - - - -450 target: annotationfilter.dist451 - - - - - - - - - - - - - - - - - -->452 <target name="annotationfilter.dist" depends="annotationfilter.compile">453 <mkdir dir="${dist}" />454 <jar destfile="${dist}/annotationfilter.jar">455 <fileset dir="${basefile.src}" />456 <fileset dir="${basefile.bin}" />457 <fileset dir="${annotationfilter.bin}" />458 <fileset dir="${annotationfilter.src}" />459 <manifest>460 <attribute name="Built-By" value="${user.name}"/>461 <attribute name="Main-Class" value="annotationfilter.Main"/>462 </manifest>463 </jar>464 </target>465 466 467 <!-- =================================468 target: mergebioassay.package469 ================================= -->470 <target name="mergebioassay.package" depends="mergebioassay.dist" description="--> Create a zip file containting all files necessary for distribution.">471 <mkdir dir="${mergebioassay.pac}"/>472 <copy file="${dist}/mergebioassay.jar" todir="${mergebioassay.pac}" />473 <copy file="${doc}/gpl.txt" todir="${mergebioassay.pac}" />474 <copy file="${mergebioassay.doc}/INSTALL.txt" todir="${mergebioassay.pac}" />475 <copy file="${mergebioassay.doc}/mergebioassay.base" todir="${mergebioassay.pac}" />476 <copy file="${mergebioassay.doc}/run" todir="${mergebioassay.pac}" />477 <zip destfile="mergebioassay.zip" basedir="${mergebioassay.pac}" />478 </target>479 480 <!-- =================================481 target: smooth.package482 ================================= -->483 <target name="smooth.package" depends="smooth.dist" description="--> Create a zip file containting all files necessary for distribution.">484 <mkdir dir="${smooth.pac}"/>485 <copy file="${dist}/smooth.jar" todir="${smooth.pac}" />486 <copy file="${doc}/gpl.txt" todir="${smooth.pac}" />487 <copy file="${lib}/jcommon-1.0.6.jar" todir="${smooth.pac}" />488 <copy file="${lib}/jfreechart-1.0.3.jar" todir="${smooth.pac}" />489 <copy file="${smooth.doc}/INSTALL.txt" todir="${smooth.pac}" />490 <copy file="${smooth.doc}/run" todir="${smooth.pac}" />491 <copy file="${smooth.doc}/smooth.base" todir="${smooth.pac}" />492 <zip destfile="smooth.zip" basedir="${smooth.pac}" />493 </target>494 495 93 </project> -
plugins/base1/se.lu.onk.ReplicateError/trunk/build.xml
r757 r758 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- ======================================================================3 Oct 10, 2005 3:32:31 PM 2 <!-- 3 $Id$ 4 4 5 Base plugins 6 This buildfile is used for base-plugins created at the oncology department in Lund, Sweden5 Copyright (C) 2005, 2006 Johan Enell 6 Copyright (C) 2008 Jari Hakkinen 7 7 8 johan 9 ====================================================================== --> 10 <project name="Base plugins" default="dist" basedir="."> 11 <description>This buildfile is used for base-plugins created at the oncology department in Lund, Sweden</description> 8 This file is part of the se.lu.onk.ReplicateError plug-in for 9 BASE. Available at http://baseplugins.thep.lu.se/ and BASE web 10 site is http://base.thep.lu.se 12 11 13 <!-- doc --> 14 <property name="doc" value="doc"/> 12 This is free software; you can redistribute it and/or modify it 13 under the terms of the GNU General Public License as published by 14 the Free Software Foundation; either version 3 of the License, or 15 (at your option) any later version. 15 16 16 <!-- lib --> 17 The software is distributed in the hope that it will be useful, 18 but WITHOUT ANY WARRANTY; without even the implied warranty of 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 20 General Public License for more details. 21 22 You should have received a copy of the GNU General Public License 23 along with BASE. If not, see <http://www.gnu.org/licenses/>. 24 --> 25 <project name="se.lu.onk.ReplicateError plug-in for BASE" 26 default="dist" basedir="."> 27 <description> 28 This build file is used for se.lu.onk.ReplicateError plug-in for 29 BASE created at the Department of Oncology, Lund University, 30 Sweden. 31 </description> 32 33 <!-- properties --> 17 34 <property name="lib" location="lib" /> 18 <property name="replicateerror.lib" location="ReplicateError/lib" /> 19 <property name="virtualarray.lib" location="VirtualArray/lib" /> 20 <property name="mergebioassay.doc" location="MergeBioAssay/doc" /> 21 <property name="qpackage.lib" location="QPackage/lib" /> 22 <property name="smooth.doc" location="smooth/doc" /> 23 24 <!-- src --> 25 <property name="basefile.src" location="BaseFile/src" /> 26 <property name="virtualarray.src" location="VirtualArray/src" /> 27 <property name="replicateerror.src" location="ReplicateError/src" /> 28 <property name="mergebioassay.src" location="MergeBioAssay/src" /> 29 <property name="qpackage.src" location="QPackage/src" /> 30 <property name="center.src" location="Center/src" /> 31 <property name="normalization.src" location="Normalization/src" /> 32 <property name="null.src" location="NullPlugin/src" /> 33 <property name="smooth.src" location="Smooth/src" /> 34 <property name="gominer.src" location="GoMiner/src" /> 35 <property name="ztest.src" location="ZTest/src" /> 36 <property name="annotationfilter.src" location="AnnotationFilter/src" /> 37 38 <!-- bin --> 39 <property name="bin" location="build" /> 40 <property name="basefile.bin" location="${bin}/BaseFile" /> 41 <property name="virtualarray.bin" location="${bin}/VirtualArray" /> 42 <property name="replicateerror.bin" location="${bin}/ReplicateError" /> 43 <property name="mergebioassay.bin" location="${bin}/MergeBioAssay" /> 44 <property name="qpackage.bin" location="${bin}/QPackage" /> 45 <property name="center.bin" location="${bin}/Center" /> 46 <property name="normalization.bin" location="${bin}/Normalization" /> 47 <property name="null.bin" location="${bin}/NullPlugin" /> 48 <property name="smooth.bin" location="${bin}/Smooth" /> 49 <property name="gominer.bin" location="${bin}/GoMiner" /> 50 <property name="ztest.bin" location="${bin}/ZTest" /> 51 <property name="annotationfilter.bin" location="${bin}/AnnotationFilter" /> 52 53 <!-- dist --> 35 <property name="src" location="src" /> 36 <property name="build" location="build" /> 54 37 <property name="dist" location="dist" /> 55 56 <!-- package --> 57 <property name="mergebioassay.pac" value="${dist}/mergebioassay"/> 58 <property name="smooth.pac" value="${dist}/smooth"/> 59 38 <property name="package" value="replicateerror"/> 60 39 61 40 <path id="classpath"> … … 63 42 <include name="**/*.jar"/> 64 43 </fileset> 65 <pathelement path="${basefile.bin}"/>66 44 </path> 67 45 … … 69 47 target: compile 70 48 ================================== --> 71 <target name="compile" description="--> Compiles all the packages"> 72 <ant target="virtualarray.compile" /> 73 <ant target="replicateerror.compile" /> 74 <ant target="mergebioassay.compile" /> 75 <ant target="qpackage.compile" /> 76 <ant target="center.compile" /> 77 <ant target="normalization.compile" /> 78 <ant target="smooth.compile" /> 79 </target> 49 <target name="compile" description="--> Compile the package"> 50 <mkdir dir="${build}"/> 51 <javac 52 srcdir="${src}" 53 destdir="${build}" 54 classpathref="classpath" 55 debug="true" 56 deprecation="true" 57 encoding="ISO-8859-1" 58 /> 59 </target> 80 60 81 <!-- - - - - - - - - - - - - - - - - -82 target: basefile.compile83 - - - - - - - - - - - - - - - - - -->84 <target name="basefile.compile">85 <mkdir dir="${basefile.bin}"/>86 <javac87 srcdir="${basefile.src}"88 destdir="${basefile.bin}"89 debug="true"90 deprecation="true"91 encoding="ISO-8859-1"92 />93 </target>94 95 <!-- - - - - - - - - - - - - - - - - -96 target: virtualarray.compile97 - - - - - - - - - - - - - - - - - -->98 <target name="virtualarray.compile" depends="basefile.compile">99 <mkdir dir="${virtualarray.bin}"/>100 <javac101 srcdir="${virtualarray.src}"102 destdir="${virtualarray.bin}"103 classpath="${basefile.bin}"104 debug="true"105 deprecation="true"106 encoding="ISO-8859-1"107 />108 </target>109 110 <!-- - - - - - - - - - - - - - - - - -111 target: replicateerror.compile112 - - - - - - - - - - - - - - - - - -->113 <target name="replicateerror.compile" depends="basefile.compile">114 <mkdir dir="${replicateerror.bin}"/>115 <javac116 srcdir="${replicateerror.src}"117 destdir="${replicateerror.bin}"118 classpath="${basefile.bin}"119 debug="true"120 deprecation="true"121 encoding="ISO-8859-1"122 />123 </target>124 125 <!-- - - - - - - - - - - - - - - - - -126 target: mergebioassay.compile127 - - - - - - - - - - - - - - - - - -->128 <target name="mergebioassay.compile" depends="basefile.compile">129 <mkdir dir="${mergebioassay.bin}"/>130 <javac131 srcdir="${mergebioassay.src}"132 destdir="${mergebioassay.bin}"133 classpath="${basefile.bin}"134 debug="true"135 deprecation="true"136 encoding="ISO-8859-1"137 />138 </target>139 140 <!-- - - - - - - - - - - - - - - - - -141 target: qpackage.compile142 - - - - - - - - - - - - - - - - - -->143 <target name="qpackage.compile" depends="basefile.compile">144 <mkdir dir="${qpackage.bin}"/>145 <javac146 srcdir="${qpackage.src}"147 destdir="${qpackage.bin}"148 classpath="${basefile.bin}"149 debug="true"150 deprecation="true"151 encoding="ISO-8859-1"152 />153 </target>154 155 <!-- - - - - - - - - - - - - - - - - -156 target: center.compile157 - - - - - - - - - - - - - - - - - -->158 <target name="center.compile" depends="basefile.compile">159 <mkdir dir="${center.bin}"/>160 <javac161 srcdir="${center.src}"162 destdir="${center.bin}"163 classpath="${basefile.bin}"164 debug="true"165 deprecation="true"166 encoding="ISO-8859-1"167 />168 </target>169 170 <!-- - - - - - - - - - - - - - - - - -171 target: normalization.compile172 - - - - - - - - - - - - - - - - - -->173 <target name="normalization.compile" depends="basefile.compile">174 <mkdir dir="${normalization.bin}"/>175 <javac176 srcdir="${normalization.src}"177 destdir="${normalization.bin}"178 classpath="${basefile.bin}"179 debug="true"180 deprecation="true"181 encoding="ISO-8859-1"182 />183 </target>184 185 <!-- - - - - - - - - - - - - - - - - -186 target: smooth.compile187 - - - - - - - - - - - - - - - - - -->188 <target name="smooth.compile" depends="basefile.compile">189 <mkdir dir="${smooth.bin}"/>190 <javac191 srcdir="${smooth.src}"192 destdir="${smooth.bin}"193 classpathref="classpath"194 debug="true"195 deprecation="true"196 encoding="ISO-8859-1"197 />198 </target>199 200 <!-- - - - - - - - - - - - - - - - - -201 target: null.compile202 - - - - - - - - - - - - - - - - - -->203 <target name="null.compile" depends="basefile.compile">204 <mkdir dir="${null.bin}"/>205 <javac206 srcdir="${null.src}"207 destdir="${null.bin}"208 classpath="${basefile.bin}"209 debug="true"210 deprecation="true"211 encoding="ISO-8859-1"212 />213 </target>214 215 <!-- - - - - - - - - - - - - - - - - -216 target: gominer.compile217 - - - - - - - - - - - - - - - - - -->218 <target name="gominer.compile" depends="basefile.compile">219 <mkdir dir="${gominer.bin}"/>220 <javac221 srcdir="${gominer.src}"222 destdir="${gominer.bin}"223 classpath="${basefile.bin}"224 debug="true"225 deprecation="true"226 encoding="ISO-8859-1"227 />228 </target>229 230 <!-- - - - - - - - - - - - - - - - - -231 target: ztest.compile232 - - - - - - - - - - - - - - - - - -->233 <target name="ztest.compile" depends="basefile.compile">234 <mkdir dir="${ztest.bin}"/>235 <javac236 srcdir="${ztest.src}"237 destdir="${ztest.bin}"238 classpathref="classpath"239 debug="true"240 deprecation="true"241 encoding="ISO-8859-1"242 />243 </target>244 245 <!-- - - - - - - - - - - - - - - - - -246 target: annotationfilter.compile247 - - - - - - - - - - - - - - - - - -->248 <target name="annotationfilter.compile" depends="basefile.compile">249 <mkdir dir="${annotationfilter.bin}"/>250 <javac251 srcdir="${annotationfilter.src}"252 destdir="${annotationfilter.bin}"253 classpathref="classpath"254 debug="true"255 deprecation="true"256 encoding="ISO-8859-1"257 />258 </target>259 260 261 262 61 <!-- ================================= 263 62 target: clean 264 63 ================================= --> 265 64 <target name="clean" description="--> Remove all generated files"> 65 <delete dir="${build}" /> 266 66 <delete dir="${dist}" /> 267 <delete dir="${bin}" /> 67 <delete dir="${package}" /> 68 <delete file="ReplicateError.jar" /> 268 69 </target> 269 70 … … 272 73 target: dist 273 74 ================================== --> 274 <target name="dist" 275 depends="virtualarray.dist, replicateerror.dist, mergebioassay.dist, 276 qpackage.dist, center.dist, lowess.dist, smooth.dist" 277 description="--> Creates a ditributable gzipfile for each package"> 278 </target> 279 280 <!-- - - - - - - - - - - - - - - - - - 281 target: virtualarray.dist 282 - - - - - - - - - - - - - - - - - --> 283 <target name="virtualarray.dist" depends="virtualarray.compile"> 75 <target name="dist" depends="compile"> 284 76 <mkdir dir="${dist}" /> 285 <jar destfile="${dist}/virtualarray.jar"> 286 <fileset dir="${basefile.src}" /> 287 <fileset dir="${basefile.bin}" /> 288 <fileset dir="${virtualarray.bin}" /> 289 <fileset dir="${virtualarray.src}" /> 290 <manifest> 291 <attribute name="Built-By" value="${user.name}" /> 292 <attribute name="Main-Class" value="virtualarray.VirtualArray" /> 293 </manifest> 77 <jar destfile="${dist}/ReplicateError.jar"> 78 <fileset dir="${build}" /> 79 <fileset dir="${src}" /> 80 <manifest> 81 <attribute name="Built-By" value="${user.name}"/> 82 <attribute name="Main-Class" value="replicateerror.ReplicateError"/> 83 </manifest> 294 84 </jar> 295 85 </target> 296 86 297 <!-- - - - - - - - - - - - - - - - - -298 target: replicateerror.dist299 - - - - - - - - - - - - - - - - - -->300 <target name="replicateerror.dist" depends="replicateerror.compile">301 <mkdir dir="${dist}" />302 <jar destfile="${dist}/replicateerror.jar">303 <fileset dir="${basefile.src}" />304 <fileset dir="${basefile.bin}" />305 <fileset dir="${replicateerror.bin}" />306 <fileset dir="${replicateerror.src}" />307 <manifest>308 <attribute name="Built-By" value="${user.name}"/>309 <attribute name="Main-Class" value="replicateerror.ReplicateError"/>310 </manifest>311 </jar>312 </target>313 314 <!-- - - - - - - - - - - - - - - - - -315 target: mergebioassay.dist316 - - - - - - - - - - - - - - - - - -->317 <target name="mergebioassay.dist" depends="mergebioassay.compile">318 <mkdir dir="${dist}" />319 <jar destfile="${dist}/mergebioassay.jar">320 <fileset dir="${basefile.src}" />321 <fileset dir="${basefile.bin}" />322 <fileset dir="${mergebioassay.bin}" />323 <fileset dir="${mergebioassay.src}" />324 <manifest>325 <attribute name="Built-By" value="${user.name}"/>326 <attribute name="Main-Class" value="mergebioassay.MergeBioAssay"/>327 </manifest>328 </jar>329 </target>330 331 <!-- - - - - - - - - - - - - - - - - -332 target: qpackage.dist333 - - - - - - - - - - - - - - - - - -->334 <target name="qpackage.dist" depends="qpackage.compile">335 <mkdir dir="${dist}" />336 <jar destfile="${dist}/qpackage.jar">337 <fileset dir="${basefile.src}" />338 <fileset dir="${basefile.bin}" />339 <fileset dir="${qpackage.bin}" />340 <fileset dir="${qpackage.src}" />341 <manifest>342 <attribute name="Built-By" value="${user.name}"/>343 </manifest>344 </jar>345 </target>346 347 <!-- - - - - - - - - - - - - - - - - -348 target: center.dist349 - - - - - - - - - - - - - - - - - -->350 <target name="center.dist" depends="center.compile">351 <mkdir dir="${dist}" />352 <jar destfile="${dist}/center.jar">353 <fileset dir="${basefile.src}" />354 <fileset dir="${basefile.bin}" />355 <fileset dir="${center.bin}" />356 <fileset dir="${center.src}" />357 <manifest>358 <attribute name="Built-By" value="${user.name}"/>359 <attribute name="Main-Class" value="center.Center"/>360 </manifest>361 </jar>362 </target>363 364 <!-- - - - - - - - - - - - - - - - - -365 target: lowess.dist366 - - - - - - - - - - - - - - - - - -->367 <target name="lowess.dist" depends="normalization.compile">368 <mkdir dir="${dist}" />369 <jar destfile="${dist}/lowess.jar">370 <fileset dir="${basefile.src}" />371 <fileset dir="${basefile.bin}" />372 <fileset dir="${normalization.bin}" includes="lowess/**" />373 <fileset dir="${normalization.src}" includes="lowess/**" />374 <manifest>375 <attribute name="Built-By" value="${user.name}" />376 <attribute name="Main-Class" value="lowess.Lowess" />377 </manifest>378 </jar>379 </target>380 381 <!-- - - - - - - - - - - - - - - - - -382 target: smooth.dist383 - - - - - - - - - - - - - - - - - -->384 <target name="smooth.dist" depends="smooth.compile">385 <mkdir dir="${dist}" />386 <jar destfile="${dist}/smooth.jar">387 <fileset dir="${basefile.src}" />388 <fileset dir="${basefile.bin}" />389 <fileset dir="${smooth.bin}" />390 <fileset dir="${smooth.src}" />391 <manifest>392 <attribute name="Built-By" value="${user.name}"/>393 <attribute name="Main-Class" value="smooth.SmoothMain"/>394 </manifest>395 </jar>396 </target>397 398 <!-- - - - - - - - - - - - - - - - - -399 target: null.dist400 - - - - - - - - - - - - - - - - - -->401 <target name="null.dist" depends="null.compile">402 <mkdir dir="${dist}" />403 <jar destfile="${dist}/nullbase1plugin.jar">404 <fileset dir="${basefile.src}" />405 <fileset dir="${basefile.bin}" />406 <fileset dir="${null.bin}" />407 <fileset dir="${null.src}" />408 <manifest>409 <attribute name="Built-By" value="${user.name}"/>410 <attribute name="Main-Class" value="base1null.Base1NullPlugin"/>411 </manifest>412 </jar>413 </target>414 415 <!-- - - - - - - - - - - - - - - - - -416 target: gominer.dist417 - - - - - - - - - - - - - - - - - -->418 <target name="gominer.dist" depends="gominer.compile">419 <mkdir dir="${dist}" />420 <jar destfile="${dist}/gominer.jar">421 <fileset dir="${basefile.src}" />422 <fileset dir="${basefile.bin}" />423 <fileset dir="${gominer.bin}" />424 <fileset dir="${gominer.src}" />425 <manifest>426 <attribute name="Built-By" value="${user.name}"/>427 <attribute name="Main-Class" value="net.sf.basedb.plugin.gominer.GoMinerExport"/>428 </manifest>429 </jar>430 </target>431 432 <!-- - - - - - - - - - - - - - - - - -433 target: ztest.dist434 - - - - - - - - - - - - - - - - - -->435 <target name="ztest.dist" depends="ztest.compile">436 <mkdir dir="${dist}" />437 <jar destfile="${dist}/ztest.jar">438 <fileset dir="${basefile.src}" />439 <fileset dir="${basefile.bin}" />440 <fileset dir="${ztest.bin}" />441 <fileset dir="${ztest.src}" />442 <manifest>443 <attribute name="Built-By" value="${user.name}"/>444 <attribute name="Main-Class" value="ztest.Start"/>445 </manifest>446 </jar>447 </target>448 449 <!-- - - - - - - - - - - - - - - - - -450 target: annotationfilter.dist451 - - - - - - - - - - - - - - - - - -->452 <target name="annotationfilter.dist" depends="annotationfilter.compile">453 <mkdir dir="${dist}" />454 <jar destfile="${dist}/annotationfilter.jar">455 <fileset dir="${basefile.src}" />456 <fileset dir="${basefile.bin}" />457 <fileset dir="${annotationfilter.bin}" />458 <fileset dir="${annotationfilter.src}" />459 <manifest>460 <attribute name="Built-By" value="${user.name}"/>461 <attribute name="Main-Class" value="annotationfilter.Main"/>462 </manifest>463 </jar>464 </target>465 466 467 87 <!-- ================================= 468 target: mergebioassay.package88 target: package 469 89 ================================= --> 470 <target name="mergebioassay.package" depends="mergebioassay.dist" description="--> Create a zip file containting all files necessary for distribution."> 471 <mkdir dir="${mergebioassay.pac}"/> 472 <copy file="${dist}/mergebioassay.jar" todir="${mergebioassay.pac}" /> 473 <copy file="${doc}/gpl.txt" todir="${mergebioassay.pac}" /> 474 <copy file="${mergebioassay.doc}/INSTALL.txt" todir="${mergebioassay.pac}" /> 475 <copy file="${mergebioassay.doc}/mergebioassay.base" todir="${mergebioassay.pac}" /> 476 <copy file="${mergebioassay.doc}/run" todir="${mergebioassay.pac}" /> 477 <zip destfile="mergebioassay.zip" basedir="${mergebioassay.pac}" /> 478 </target> 479 480 <!-- ================================= 481 target: smooth.package 482 ================================= --> 483 <target name="smooth.package" depends="smooth.dist" description="--> Create a zip file containting all files necessary for distribution."> 484 <mkdir dir="${smooth.pac}"/> 485 <copy file="${dist}/smooth.jar" todir="${smooth.pac}" /> 486 <copy file="${doc}/gpl.txt" todir="${smooth.pac}" /> 487 <copy file="${lib}/jcommon-1.0.6.jar" todir="${smooth.pac}" /> 488 <copy file="${lib}/jfreechart-1.0.3.jar" todir="${smooth.pac}" /> 489 <copy file="${smooth.doc}/INSTALL.txt" todir="${smooth.pac}" /> 490 <copy file="${smooth.doc}/run" todir="${smooth.pac}" /> 491 <copy file="${smooth.doc}/smooth.base" todir="${smooth.pac}" /> 492 <zip destfile="smooth.zip" basedir="${smooth.pac}" /> 90 <target name="package" depends="dist" 91 description="--> Create a zip file for distribution."> 92 <mkdir dir="${package}"/> 93 <mkdir dir="${package}/ReplicateError"/> 94 <copy todir="${package}/ReplicateError"> 95 <fileset file="${dist}/ReplicateError.jar" /> 96 <fileset file="license.txt" /> 97 <fileset dir="${lib}" includes="*" /> 98 </copy> 99 <zip destfile="ReplicateError.zip" basedir="${package}" /> 493 100 </target> 494 101 -
plugins/base1/se.lu.onk/trunk/build.xml
r712 r758 16 16 <!-- lib --> 17 17 <property name="lib" location="lib" /> 18 <property name="replicateerror.lib" location="ReplicateError/lib" />19 18 <property name="virtualarray.lib" location="VirtualArray/lib" /> 20 19 <property name="mergebioassay.doc" location="MergeBioAssay/doc" /> … … 25 24 <property name="basefile.src" location="BaseFile/src" /> 26 25 <property name="virtualarray.src" location="VirtualArray/src" /> 27 <property name="replicateerror.src" location="ReplicateError/src" />28 26 <property name="mergebioassay.src" location="MergeBioAssay/src" /> 29 27 <property name="qpackage.src" location="QPackage/src" /> … … 40 38 <property name="basefile.bin" location="${bin}/BaseFile" /> 41 39 <property name="virtualarray.bin" location="${bin}/VirtualArray" /> 42 <property name="replicateerror.bin" location="${bin}/ReplicateError" />43 40 <property name="mergebioassay.bin" location="${bin}/MergeBioAssay" /> 44 41 <property name="qpackage.bin" location="${bin}/QPackage" /> … … 71 68 <target name="compile" description="--> Compiles all the packages"> 72 69 <ant target="virtualarray.compile" /> 73 <ant target="replicateerror.compile" />74 70 <ant target="mergebioassay.compile" /> 75 71 <ant target="qpackage.compile" /> … … 109 105 110 106 <!-- - - - - - - - - - - - - - - - - - 111 target: replicateerror.compile112 - - - - - - - - - - - - - - - - - -->113 <target name="replicateerror.compile" depends="basefile.compile">114 <mkdir dir="${replicateerror.bin}"/>115 <javac116 srcdir="${replicateerror.src}"117 destdir="${replicateerror.bin}"118 classpath="${basefile.bin}"119 debug="true"120 deprecation="true"121 encoding="ISO-8859-1"122 />123 </target>124 125 <!-- - - - - - - - - - - - - - - - - -126 107 target: mergebioassay.compile 127 108 - - - - - - - - - - - - - - - - - --> … … 273 254 ================================== --> 274 255 <target name="dist" 275 depends="virtualarray.dist, replicateerror.dist,mergebioassay.dist,256 depends="virtualarray.dist, mergebioassay.dist, 276 257 qpackage.dist, center.dist, lowess.dist, smooth.dist" 277 258 description="--> Creates a ditributable gzipfile for each package"> … … 291 272 <attribute name="Built-By" value="${user.name}" /> 292 273 <attribute name="Main-Class" value="virtualarray.VirtualArray" /> 293 </manifest>294 </jar>295 </target>296 297 <!-- - - - - - - - - - - - - - - - - -298 target: replicateerror.dist299 - - - - - - - - - - - - - - - - - -->300 <target name="replicateerror.dist" depends="replicateerror.compile">301 <mkdir dir="${dist}" />302 <jar destfile="${dist}/replicateerror.jar">303 <fileset dir="${basefile.src}" />304 <fileset dir="${basefile.bin}" />305 <fileset dir="${replicateerror.bin}" />306 <fileset dir="${replicateerror.src}" />307 <manifest>308 <attribute name="Built-By" value="${user.name}"/>309 <attribute name="Main-Class" value="replicateerror.ReplicateError"/>310 274 </manifest> 311 275 </jar>
Note: See TracChangeset
for help on using the changeset viewer.