Changeset 758


Ignore:
Timestamp:
Sep 15, 2008, 1:45:27 PM (13 years ago)
Author:
Jari Häkkinen
Message:

Addresses #56, #129, #131. Created se.lu.onk.BaseFile? and moved ReplicateError? to se.lu.onk.ReplicateError?.

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  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <!-- ======================================================================
    3    Oct 10, 2005 3:32:31 PM
     2<!--
     3    $Id$
    44
    5    Base plugins
    6    This buildfile is used for base-plugins created at the oncology department in Lund, Sweden
     5    Copyright (C) 2005, 2006 Johan Enell
     6    Copyright (C) 2008 Jari Hakkinen
    77
    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
    1212
    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.
    1517
    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.
    2322
    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>
    3732
    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"/>
    5238
    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  
    6839  <!-- =================================
    6940      target: compile
    7041    ================================== -->
    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}"/>
    8644    <javac
    87       srcdir="${basefile.src}"
    88       destdir="${basefile.bin}"
     45      srcdir="${src}"
     46      destdir="${build}"
    8947      debug="true"
    9048      deprecation="true"
     
    9351  </target>
    9452
    95   <!-- - - - - - - - - - - - - - - - - -
    96       target: virtualarray.compile
    97      - - - - - - - - - - - - - - - - - -->
    98     <target name="virtualarray.compile" depends="basefile.compile">
    99       <mkdir dir="${virtualarray.bin}"/>
    100       <javac
    101         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.compile
    112      - - - - - - - - - - - - - - - - - -->
    113     <target name="replicateerror.compile" depends="basefile.compile">
    114       <mkdir dir="${replicateerror.bin}"/>
    115       <javac
    116         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.compile
    127      - - - - - - - - - - - - - - - - - -->
    128     <target name="mergebioassay.compile" depends="basefile.compile">
    129       <mkdir dir="${mergebioassay.bin}"/>
    130       <javac
    131         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.compile
    142      - - - - - - - - - - - - - - - - - -->
    143     <target name="qpackage.compile" depends="basefile.compile">
    144       <mkdir dir="${qpackage.bin}"/>
    145       <javac
    146         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.compile
    157      - - - - - - - - - - - - - - - - - -->
    158     <target name="center.compile" depends="basefile.compile">
    159       <mkdir dir="${center.bin}"/>
    160       <javac
    161         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.compile
    172      - - - - - - - - - - - - - - - - - -->
    173     <target name="normalization.compile" depends="basefile.compile">
    174       <mkdir dir="${normalization.bin}"/>
    175       <javac
    176         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.compile
    187      - - - - - - - - - - - - - - - - - -->
    188     <target name="smooth.compile" depends="basefile.compile">
    189       <mkdir dir="${smooth.bin}"/>
    190       <javac
    191         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.compile
    202      - - - - - - - - - - - - - - - - - -->
    203     <target name="null.compile" depends="basefile.compile">
    204       <mkdir dir="${null.bin}"/>
    205       <javac
    206         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.compile
    217      - - - - - - - - - - - - - - - - - -->
    218     <target name="gominer.compile" depends="basefile.compile">
    219       <mkdir dir="${gominer.bin}"/>
    220       <javac
    221         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.compile
    232      - - - - - - - - - - - - - - - - - -->
    233     <target name="ztest.compile" depends="basefile.compile">
    234       <mkdir dir="${ztest.bin}"/>
    235       <javac
    236         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.compile
    247      - - - - - - - - - - - - - - - - - -->
    248     <target name="annotationfilter.compile" depends="basefile.compile">
    249       <mkdir dir="${annotationfilter.bin}"/>
    250       <javac
    251         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 
    26253  <!-- =================================
    26354      target: clean
    26455     ================================= -->
    26556  <target name="clean" description="--> Remove all generated files">
     57    <delete dir="${bin}" />
    26658    <delete dir="${dist}" />
    267     <delete dir="${bin}" />
     59    <delete dir="${package}" />
     60    <delete file="BaseFile.zip" />
    26861  </target>
    26962
     
    27265      target: dist
    27366    ================================== -->
    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">
    28468    <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}" />
    29072        <manifest>
    29173          <attribute name="Built-By" value="${user.name}" />
    292           <attribute name="Main-Class" value="virtualarray.VirtualArray" />
    29374        </manifest>
    29475    </jar>
    29576  </target>
    29677 
    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}" />
    31291  </target>
    31392 
    314   <!-- - - - - - - - - - - - - - - - - -
    315       target: mergebioassay.dist                     
    316      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    333      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    349      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    366      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    383      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    400      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    417      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    434      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    451      - - - - - - - - - - - - - - - - - -->
    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.package             
    469      ================================= -->
    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}" />
    493   </target>
    494  
    49593</project>
  • plugins/base1/se.lu.onk.ReplicateError/trunk/build.xml

    r757 r758  
    11<?xml version="1.0" encoding="UTF-8"?>
    2 <!-- ======================================================================
    3    Oct 10, 2005 3:32:31 PM
     2<!--
     3    $Id$
    44
    5    Base plugins
    6    This buildfile is used for base-plugins created at the oncology department in Lund, Sweden
     5    Copyright (C) 2005, 2006 Johan Enell
     6    Copyright (C) 2008 Jari Hakkinen
    77
    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
    1211
    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.
    1516
    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 -->
    1734  <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" />
    5437  <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"/>
    6039 
    6140  <path id="classpath">
     
    6342      <include name="**/*.jar"/>
    6443    </fileset>
    65     <pathelement path="${basefile.bin}"/>
    6644  </path>
    6745 
     
    6947      target: compile
    7048    ================================== -->
    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>
    8060 
    81   <!-- - - - - - - - - - - - - - - - - -
    82       target: basefile.compile                     
    83      - - - - - - - - - - - - - - - - - -->
    84   <target name="basefile.compile">
    85     <mkdir dir="${basefile.bin}"/>
    86     <javac
    87       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.compile
    97      - - - - - - - - - - - - - - - - - -->
    98     <target name="virtualarray.compile" depends="basefile.compile">
    99       <mkdir dir="${virtualarray.bin}"/>
    100       <javac
    101         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.compile
    112      - - - - - - - - - - - - - - - - - -->
    113     <target name="replicateerror.compile" depends="basefile.compile">
    114       <mkdir dir="${replicateerror.bin}"/>
    115       <javac
    116         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.compile
    127      - - - - - - - - - - - - - - - - - -->
    128     <target name="mergebioassay.compile" depends="basefile.compile">
    129       <mkdir dir="${mergebioassay.bin}"/>
    130       <javac
    131         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.compile
    142      - - - - - - - - - - - - - - - - - -->
    143     <target name="qpackage.compile" depends="basefile.compile">
    144       <mkdir dir="${qpackage.bin}"/>
    145       <javac
    146         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.compile
    157      - - - - - - - - - - - - - - - - - -->
    158     <target name="center.compile" depends="basefile.compile">
    159       <mkdir dir="${center.bin}"/>
    160       <javac
    161         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.compile
    172      - - - - - - - - - - - - - - - - - -->
    173     <target name="normalization.compile" depends="basefile.compile">
    174       <mkdir dir="${normalization.bin}"/>
    175       <javac
    176         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.compile
    187      - - - - - - - - - - - - - - - - - -->
    188     <target name="smooth.compile" depends="basefile.compile">
    189       <mkdir dir="${smooth.bin}"/>
    190       <javac
    191         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.compile
    202      - - - - - - - - - - - - - - - - - -->
    203     <target name="null.compile" depends="basefile.compile">
    204       <mkdir dir="${null.bin}"/>
    205       <javac
    206         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.compile
    217      - - - - - - - - - - - - - - - - - -->
    218     <target name="gominer.compile" depends="basefile.compile">
    219       <mkdir dir="${gominer.bin}"/>
    220       <javac
    221         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.compile
    232      - - - - - - - - - - - - - - - - - -->
    233     <target name="ztest.compile" depends="basefile.compile">
    234       <mkdir dir="${ztest.bin}"/>
    235       <javac
    236         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.compile
    247      - - - - - - - - - - - - - - - - - -->
    248     <target name="annotationfilter.compile" depends="basefile.compile">
    249       <mkdir dir="${annotationfilter.bin}"/>
    250       <javac
    251         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 
    26261  <!-- =================================
    26362      target: clean
    26463     ================================= -->
    26564  <target name="clean" description="--> Remove all generated files">
     65    <delete dir="${build}" />
    26666    <delete dir="${dist}" />
    267     <delete dir="${bin}" />
     67    <delete dir="${package}" />
     68    <delete file="ReplicateError.jar" />
    26869  </target>
    26970
     
    27273      target: dist
    27374    ================================== -->
    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">
    28476    <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>
    29484    </jar>
    29585  </target>
    29686 
    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>
    312   </target>
    313  
    314   <!-- - - - - - - - - - - - - - - - - -
    315       target: mergebioassay.dist                     
    316      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    333      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    349      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    366      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    383      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    400      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    417      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    434      - - - - - - - - - - - - - - - - - -->
    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.dist                     
    451      - - - - - - - - - - - - - - - - - -->
    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  
    46787  <!-- =================================
    468       target: mergebioassay.package             
     88      target: package
    46989     ================================= -->
    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}" />
    493100  </target>
    494101 
  • plugins/base1/se.lu.onk/trunk/build.xml

    r712 r758  
    1616  <!-- lib -->
    1717  <property name="lib" location="lib" />
    18   <property name="replicateerror.lib" location="ReplicateError/lib" />
    1918  <property name="virtualarray.lib" location="VirtualArray/lib" />
    2019  <property name="mergebioassay.doc" location="MergeBioAssay/doc" />
     
    2524  <property name="basefile.src" location="BaseFile/src" />
    2625  <property name="virtualarray.src" location="VirtualArray/src" />
    27   <property name="replicateerror.src" location="ReplicateError/src" />
    2826  <property name="mergebioassay.src" location="MergeBioAssay/src" />
    2927  <property name="qpackage.src" location="QPackage/src" />
     
    4038  <property name="basefile.bin" location="${bin}/BaseFile" />
    4139  <property name="virtualarray.bin" location="${bin}/VirtualArray" />
    42   <property name="replicateerror.bin" location="${bin}/ReplicateError" />
    4340  <property name="mergebioassay.bin" location="${bin}/MergeBioAssay" />
    4441  <property name="qpackage.bin" location="${bin}/QPackage" />
     
    7168  <target name="compile" description="--> Compiles all the packages">
    7269    <ant target="virtualarray.compile" />
    73     <ant target="replicateerror.compile" />
    7470    <ant target="mergebioassay.compile" />
    7571    <ant target="qpackage.compile" />
     
    109105 
    110106  <!-- - - - - - - - - - - - - - - - - -
    111       target: replicateerror.compile
    112      - - - - - - - - - - - - - - - - - -->
    113     <target name="replicateerror.compile" depends="basefile.compile">
    114       <mkdir dir="${replicateerror.bin}"/>
    115       <javac
    116         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   <!-- - - - - - - - - - - - - - - - - -
    126107      target: mergebioassay.compile
    127108     - - - - - - - - - - - - - - - - - -->
     
    273254    ================================== -->
    274255  <target name="dist"
    275     depends="virtualarray.dist, replicateerror.dist, mergebioassay.dist,
     256    depends="virtualarray.dist, mergebioassay.dist,
    276257      qpackage.dist, center.dist, lowess.dist, smooth.dist"
    277258    description="--> Creates a ditributable gzipfile for each package">
     
    291272          <attribute name="Built-By" value="${user.name}" />
    292273          <attribute name="Main-Class" value="virtualarray.VirtualArray" />
    293         </manifest>
    294     </jar>
    295   </target>
    296  
    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"/>
    310274        </manifest>
    311275    </jar>
Note: See TracChangeset for help on using the changeset viewer.