source: branches/cleanup/build.xml @ 5944

Revision 5944, 44.0 KB checked in by melissa, 10 years ago (diff)
  • Moved OME I/O tests to ome-io component.
  • Added dependency check to LuraWave service.
  • Tweaked POI and MDB tests to expect a FileNotFoundException to be thrown.

All tests should now pass. See #464.

Line 
1<!--
2build.xml
3
4Master ant build file for all Java software projects at LOCI.
5Download Apache Ant from http://ant.apache.org/.
6Type "ant -p" for a list of targets.
7
8===============================================================================
9This build file handles the following components.
10For more information on a component, see the
11build.properties file in that component's subtree.
12Run ./scan-deps.pl to programmatically generate this list.
13
14LOCI Common
15    A library containing common I/O and reflection classes
16    -=-
17    JAR file:      loci-common.jar
18    Path:          components/common
19    Project deps:  (none)
20    Library deps:  Simple Logging Facade for Java API,
21                   Simple Logging Facade for Java Binding
22    Optional:      (none)
23    License:       GPL
24
25OME-XML Java library
26    A library for working with OME-XML metadata structures
27    -=-
28    JAR file:      ome-xml.jar
29    Path:          components/ome-xml
30    Project deps:  (none)
31    Library deps:  (none)
32    Optional:      (none)
33    License:       GPL
34
35Bio-Formats
36    A library for reading and writing popular microscopy file formats
37    -=-
38    JAR file:      bio-formats.jar
39    Path:          components/bio-formats
40    Project deps:  LOCI Common, OME-XML Java library
41    Library deps:  JGoodies Forms, Simple Logging Facade for Java API,
42                   Simple Logging Facade for Java Binding
43    Optional:      OME I/O, OME Notes, Apache Jakarta POI,
44                   MDB Tools (Java port), JAI Image I/O Tools, NetCDF
45    License:       GPL
46
47LOCI code generator
48    Package for generating other code, including the Bio-Formats metadata API,
49    related documentation, Ice bindings, and Bio-Formats C++ bindings headers
50    -=-
51    JAR file:      loci-autogen.jar
52    Path:          components/autogen
53    Project deps:  LOCI Common, Bio-Formats
54    Library deps:  Apache Velocity
55    Optional:      (none)
56    License:       GPL
57
58Bio-Formats Ice framework
59    Bindings for Bio-Formats client/server communication enabling
60    cross-language interoperability
61    -=-
62    JAR file:      bf-ice.jar
63    Path:          components/bf-ice
64    Project deps:  Bio-Formats
65    Library deps:  Ice
66    Optional:      (none)
67    License:       GPL
68
69LOCI Plugins for ImageJ
70    A collection of plugins for ImageJ, including the Bio-Formats Importer,
71    Bio-Formats Exporter, Bio-Formats Macro Extensions, Data Browser, Stack
72    Colorizer and Stack Slicer
73    -=-
74    JAR file:      loci_plugins.jar
75    Path:          components/loci-plugins
76    Project deps:  LOCI Common, Bio-Formats
77    Library deps:  JGoodies Forms, ImageJ
78    Optional:      OME I/O, VisBio
79    License:       GPL
80
81OME I/O
82    A library for OME database import, upload and download
83    -=-
84    JAR file:      ome-io.jar
85    Path:          components/ome-io
86    Project deps:  LOCI Common, Bio-Formats
87    Library deps:  Simple Logging Facade for Java API,
88                   Simple Logging Facade for Java Binding, OMERO Client,
89                   OMERO Common
90    Optional:      OME-Java
91    License:       GPL
92
93OME Plugins for ImageJ
94    A collection of plugins for ImageJ, including the Download from OME and
95    Upload to OME plugins
96    -=-
97    JAR file:      ome_plugins.jar
98    Path:          components/ome-plugins
99    Project deps:  LOCI Common, Bio-Formats, LOCI Plugins for ImageJ, OME I/O
100    Library deps:  ImageJ
101    Optional:      (none)
102    License:       GPL
103
104VisBio
105    A multi-purpose biological analysis tool
106    -=-
107    JAR file:      visbio.jar
108    Path:          components/visbio
109    Project deps:  LOCI Common, OME-XML Java library, Bio-Formats, OME I/O,
110                   Apache Jakarta POI
111    Library deps:  Apple eAWT stubs, JGoodies Forms, ImageJ, VisAD
112    Optional:      (none)
113    License:       GPL
114
115SLIM Plotter
116    An application and curve fitting library for visualization and analysis of
117    combined spectral lifetime data
118    -=-
119    JAR file:      SlimPlotter.jar
120    Path:          components/slim-plotter
121    Project deps:  LOCI Common, Bio-Formats, VisBio
122    Library deps:  L-M Fit, VisAD
123    Optional:      (none)
124    License:       GPL
125
126WiscScan Flow Cytometry
127    Server application for flow cytometry with WiscScan using JVMLink
128    -=-
129    JAR file:      flow-cytometry.jar
130    Path:          components/flow-cytometry
131    Project deps:  Bio-Formats
132    Library deps:  ImageJ, VisAD
133    Optional:      (none)
134    License:       BSD
135
136LOCI Checkstyle checks
137    LOCI's Checkstyle extensions, for checking source code style
138    -=-
139    JAR file:      loci-checks.jar
140    Path:          components/checkstyle
141    Project deps:  (none)
142    Library deps:  Checkstyle
143    Optional:      (none)
144    License:       Public domain
145
146LOCI testing framework
147    Framework for automated and manual testing of the LOCI software packages
148    -=-
149    JAR file:      loci-testing-framework.jar
150    Path:          components/test-suite
151    Project deps:  LOCI Common, Bio-Formats, OME I/O
152    Library deps:  Simple Logging Facade for Java API,
153                   Simple Logging Facade for Java Binding, TestNG
154    Optional:      (none)
155    License:       BSD
156
157===============================================================================
158The following components are considered "legacy" but still available:
159
160JVMLink
161    A library for communicating between a Java Virtual Machine and other
162    programs (e.g., C++ applications) via IP over localhost (or remotely)
163    -=-
164    JAR file:      jvmlink.jar
165    Path:          components/legacy/jvmlink
166    Project deps:  LOCI Common
167    Optional:      (none)
168    License:       BSD
169
170Multi-LUT
171    A demo application for visually exploring multi-spectral image data
172    -=-
173    JAR file:      MultiLUT.jar
174    Path:          components/legacy/multi-lut
175    Project deps:  (none)
176    Optional:      (none)
177    License:       Public domain
178
179OME Notes
180    A library for flexible organization and presentation of OME-XML metadata
181    within a graphical browser and editor interface
182    -=-
183    JAR file:      ome-notes.jar
184    Path:          components/legacy/ome-notes
185    Project deps:  LOCI Common, Bio-Formats
186    Optional:      (none)
187    License:       LGPL
188
189OME Metadata Editor
190    An application for exploration and editing of OME-XML and OME-TIFF metadata
191    -=-
192    JAR file:      ome-editor.jar
193    Path:          components/legacy/ome-editor
194    Project deps:  LOCI Common, OME-XML Java library, Bio-Formats
195    Optional:      (none)
196    License:       LGPL
197
198===============================================================================
199The following components are forks of third party projects:
200
201Apache Jakarta POI
202    Java API to handle Microsoft OLE 2 Compound Document format (Word, Excel)
203    -=-
204    JAR file:      poi-loci.jar
205    Path:          components/forks/poi
206    Project deps:  LOCI Common
207    Optional:      (none)
208    License:       Apache
209    Project URL:   http://jakarta.apache.org/poi/
210    Notes:         Based on poi-2.5.1-final-20040804.jar, with bugfixes for OLE
211                   v2 and memory efficiency improvements. Used by Bio-Formats
212                   for OLE support (cxd, ipw, oib, zvi). Used by VisBio
213                   overlays logic for XLS export feature.
214
215MDB Tools (Java port)
216    Java API to handle Microsoft MDB format (Access)
217    -=-
218    JAR file:      mdbtools-java.jar
219    Path:          components/forks/mdbtools
220    Project deps:  (none)
221    Optional:      (none)
222    License:       LGPL
223    Project URL:   http://sourceforge.net/forum/message.php?msg_id=2550619
224    Notes:         Used by Bio-Formats for Zeiss LSM metadata in MDB files.
225
226JAI Image I/O Tools
227    Java API to handle JPEG and JPEG2000 files
228    -=-
229    JAR file:      jai_imageio.jar
230    Path:          components/forks/jai
231    Project deps:  (none)
232    Optional:      (none)
233    License:       BSD
234    Project URL:   http://jai-imageio.dev.java.net/
235    Notes:         Used by Bio-Formats to read images compressed with JPEG2000
236                   and lossless JPEG. Modified from the 2008-10-14 source to
237                   include support for the YCbCr color space. Several files in
238                   the com.sun.media.jai packages were removed, as they are not
239                   needed by Bio-Formats, and created an additional dependency.
240                   This component will be removed once our changes have been
241                   added to the official JAI CVS repository.
242
243===============================================================================
244The following external dependencies (in the jar folder) may be required:
245Apple eAWT stubs
246    JAR file:  AppleJavaExtensions.jar
247    URL:       http://developer.apple.com/samplecode/AppleJavaExtensions/
248    Notes:     required to compile VisBio on non-Mac OS X machines
249    License:   BSD
250
251Ant-Contrib
252    JAR file:  ant-contrib-1.0b3.jar
253    URL:       http://ant-contrib.sourceforge.net/
254    Notes:     used by tools target to iterate over JAR files ("for" task)
255    License:   Apache
256
257Checkstyle
258    JAR file:  checkstyle-all-5.0.jar
259    URL:       http://checkstyle.sourceforge.net/
260    Notes:     used by style Ant target to check source code style conventions
261    License:   LGPL
262
263Apache Jakarta Commons HttpClient
264    JAR file:  commons-httpclient-2.0-rc2.jar
265    URL:       http://jakarta.apache.org/commons/httpclient/
266    Notes:     required for OME-Java to communicate with OME servers
267    License:   Apache
268
269Apache Jakarta Commons Logging
270    JAR file:  commons-logging.jar
271    URL:       http://jakarta.apache.org/commons/logging/
272    Notes:     used by OME-Java
273    License:   Apache
274
275FindBugs Ant task
276    JAR file:  findbugs-ant.jar
277    URL:       http://findbugs.sourceforge.net/
278    Notes:     used by findbugs Ant target to check for program bugs
279    License:   LGPL
280
281JGoodies Forms
282    JAR file:  forms-1.3.0.jar
283    URL:       http://www.jgoodies.com/freeware/forms/index.html
284    Notes:     used for layout by VisBio, Data Browser and OME Notes
285    License:   BSD
286
287Ice
288    JAR file:  Ice-3.3.1.jar
289    URL:       http://www.zeroc.com/ice.html
290    Notes:     used by Bio-Formats Ice framework
291    License:   GPL
292
293ImageJ
294    JAR file:  ij.jar
295    URL:       http://rsb.info.nih.gov/ij/
296    Notes:     used by LOCI plugins for ImageJ and OME plugins for ImageJ;
297               bundled with VisBio to achieve ImageJ interconnectivity
298    License:   Public domain
299
300JAI ImageIO wrapper
301    JAR file:  clibwrapper_jiio.jar
302    URL:       https://jai-imageio.dev.java.net/
303    Notes:     used by Bio-Formats via reflection for JPEG2000 support (ND2,
304               JP2) and lossless JPEG decompression (DICOM)
305    License:   BSD
306
307JUnit
308    JAR file:  junit.jar
309    URL:       http://www.junit.org/
310    Notes:     unit testing framework used for a few VisBio unit tests
311    License:   Common Public License
312
313L-M Fit
314    JAR file:  lma.jar
315    URL:       http://users.utu.fi/jaolho/
316    Notes:     Levenberg-Marquardt algorithm for exponential curve fitting,
317               used by SLIM Plotter
318    License:   LGPL
319
320JGoodies Looks
321    JAR file:  looks-2.3.1.jar
322    URL:       http://www.jgoodies.com/freeware/looks/index.html
323    Notes:     used for a nicer Look & Feel by VisBio and OME Metadata Editor
324    License:   BSD
325
326NetCDF
327    JAR file:  netcdf-4.0.jar
328    URL:       http://www.unidata.ucar.edu/software/netcdf-java/
329    Notes:     used by Bio-Formats via reflection for HDF support (Imaris 5.5)
330    License:   LGPL
331
332Simple Logging Facade for Java API
333    JAR file:  slf4j-api-1.5.10.jar
334    URL:       http://www.slf4j.org/
335    Notes:     used for all logging in loci.*
336    License:   BSD
337
338Simple Logging Facade for Java Binding
339    JAR file:  slf4j-log4j12-1.5.10.jar
340    URL:       http://www.slf4j.org/
341    Notes:     used for all logging in loci.*
342    License:   BSD
343
344OME-Java
345    JAR file:  ome-java.jar
346    URL:       http://www.openmicroscopy.org/site/documents/data-management/ome-server/developer/java-api
347    Notes:     used by OME I/O to connect to OME servers
348    License:   LGPL
349
350OME-Java deprecated classes
351    JAR file:  ome-java-deprecated.jar
352    URL:       http://www.openmicroscopy.org/site/documents/data-management/ome-server/developer/java-api
353    Notes:     used by OME Notes and OME Metadata Editor to work with OME-XML
354    License:   LGPL
355
356OMERO Client
357    JAR file:  omero-client-4.1.1.jar
358    URL:       http://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads
359    Notes:     used by OME I/O to connect to OMERO servers
360    License:   GPL
361
362OMERO Common
363    JAR file:  omero-common-4.1.1.jar
364    URL:       http://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads
365    Notes:     used by OME I/O to connect to OMERO servers
366    License:   GPL
367
368Skin Look and Feel
369    JAR file:  skinlf.jar
370    URL:       http://skinlf.l2fprod.com/
371    Notes:     not used (may be used in the future for flexible skinning)
372    License:   Custom (BSD-like)
373
374TestNG
375    JAR file:  testng-5.11-jdk15.jar
376    URL:       http://testng.org/
377    Notes:     testing framework used for LOCI software automated test suite
378    License:   Apache
379
380Apache Velocity
381    JAR file:  velocity-1.6.3-dep.jar
382    URL:       http://velocity.apache.org/
383    Notes:     used to autogenerate the loci.formats.meta and loci.formats.ome
384               Bio-Formats packages
385    License:   Apache
386
387VisAD
388    JAR file:  visad-lite.jar
389    URL:       http://www.ssec.wisc.edu/~billh/visad.html
390    Notes:     stripped down VisAD library used by VisBio and SLIM Plotter for
391               interactive visualization
392    License:   LGPL
393
394Apache XML-RPC
395    JAR file:  xmlrpc-1.2-b1.jar
396    URL:       http://ws.apache.org/xmlrpc/
397    Notes:     used by OME-Java library to communicate with OME servers
398    License:   Apache
399-->
400
401<project name="LOCI Software" default="jars" basedir=".">
402  <description>
403    Master build file for all Java software projects at LOCI
404  </description>
405
406  <property name="root.dir" location="${basedir}"/>
407  <import file="global.xml"/>
408  <property file="build.properties"/>
409
410  <!-- Global build targets -->
411
412  <target name="jars"
413    depends="copy-jars, jar-common, jar-ome-xml,
414      jar-jai, jar-poi-loci, jar-mdbtools,
415      jar-formats, jar-autogen, jar-bf-ice,
416      jar-loci-plugins, jar-ome-io, jar-ome-plugins,
417      jar-visbio, jar-slim, jar-flow,
418      jar-checks, jar-tests,
419      jar-jvmlink, jar-multi-lut,
420      jar-ome-notes, jar-ome-editor"
421    description="generate JAR files for LOCI software packages"/>
422
423  <target name="osgi"
424    depends="copy-jars, osgi-common, osgi-ome-xml,
425      osgi-jai, osgi-poi-loci, osgi-mdbtools,
426      osgi-formats, osgi-autogen, osgi-bf-ice,
427      osgi-loci-plugins, osgi-ome-io, osgi-ome-plugins,
428      osgi-visbio, osgi-slim, osgi-flow,
429      osgi-checks, osgi-tests,
430      osgi-jvmlink, osgi-multi-lut,
431      osgi-ome-notes, osgi-ome-editor"
432    description="generate OSGi bundles for LOCI software packages"/>
433
434  <!--
435  NB: Findbugs target does not test autogenerated code, forks and legacy:
436    findbugs-ome-xml
437    findbugs-jai
438    findbugs-poi-loci
439    findbugs-mdbtools
440    findbugs-bf-ice
441    findbugs-jvmlink
442    findbugs-multi-lut
443    findbugs-ome-notes
444    findbugs-ome-editor
445  -->
446  <target name="findbugs"
447    depends="findbugs-common,
448      findbugs-formats, findbugs-autogen,
449      findbugs-loci-plugins, findbugs-ome-io, findbugs-ome-plugins,
450      findbugs-visbio, findbugs-slim, findbugs-flow,
451      findbugs-checks, findbugs-tests"
452    description="run findbugs on most components"/>
453
454  <target name="clean"
455    depends="clean-common, clean-ome-xml,
456      clean-jai, clean-poi-loci, clean-mdbtools,
457      clean-formats, clean-autogen, clean-bf-ice,
458      clean-loci-plugins, clean-ome-io, clean-ome-plugins,
459      clean-visbio, clean-slim, clean-flow,
460      clean-checks, clean-tests,
461      clean-jvmlink, clean-multi-lut,
462      clean-ome-notes, clean-ome-editor"
463    description="remove all build files">
464    <delete dir="${artifact.dir}"/>
465    <delete dir="build"/>
466  </target>
467
468  <target name="test"
469    depends="test-common, test-ome-xml,
470      test-jai, test-poi-loci, test-mdbtools,
471      test-formats, test-autogen, test-bf-ice,
472      test-loci-plugins, test-ome-io, test-ome-plugins,
473      test-flow, test-checks, test-tests,
474      test-jvmlink, test-multi-lut, test-ome-notes, test-ome-editor"
475    description="test all components">
476  </target>
477
478  <target name="utils"
479    depends="jars, utils-common, utils-formats, utils-loci-plugins"
480    description="compile all extra utilities">
481    <echo>----------=========== utils ===========----------</echo>
482    <delete>
483      <fileset dir="${toplevel-utils.dir}" includes="*.class"/>
484    </delete>
485    <javac debug="true" deprecation="true" source="1.5" target="1.5"
486      srcdir="${toplevel-utils.dir}" includes="*.java">
487      <classpath>
488        <fileset dir="${artifact.dir}">
489          <include name="*.jar"/>
490        </fileset>
491      </classpath>
492    </javac>
493  </target>
494
495  <target name="docs" depends="jars"
496    description="generate Javadocs for LOCI software packages">
497    <echo>----------=========== Javadocs ===========----------</echo>
498    <tstamp>
499      <format property="YEAR" pattern="yyyy"/>
500    </tstamp>
501    <javadoc sourcepath="${merged-docs.source}"
502      classpath="${merged-docs.classpath}"
503      destdir="${merged-docs.dir}/api"
504      maxmemory="${merged-docs.memory}"
505      failonerror="true" author="true" version="true" use="true"
506      nodeprecated="true" windowtitle="LOCI Software API">
507      <doctitle><![CDATA[<h1>LOCI Software</h1>]]></doctitle>
508      <bottom><![CDATA[${copyright.begin} ${YEAR} ${copyright.end}]]></bottom>
509      <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
510      <link href="http://hudson.openmicroscopy.org.uk/job/OMEJAVA/javadoc/"/>
511      <link href="http://rsbweb.nih.gov/ij/developer/api/"/>
512      <link href="http://www.ssec.wisc.edu/visad-docs/javadoc/"/>
513      <!--<link href="http://www.jdocs.com/formlayout/1.0.4/api/"/>-->
514      <!--<link href="http://www.jdocs.com/looks/2.3.1/api/"/>-->
515    </javadoc>
516  </target>
517
518  <target name="docs-zip" depends="docs"
519    description="generate a Zip containing the Javadocs">
520    <zip destfile="${artifact.dir}/bio-formats-javadocs.zip" basedir="${merged-docs.dir}"/>
521  </target>
522
523  <target name="copy-jars">
524    <!-- copy third party JARs into artifacts folder -->
525    <!-- necessary for runtime classpath dependencies to function properly -->
526    <copy todir="${artifact.dir}" preservelastmodified="true">
527      <fileset dir="${lib.dir}" includes="*.jar"/>
528    </copy>
529  </target>
530
531  <!-- LOCI common library -->
532
533  <target name="compile-common"
534    description="compile classes for LOCI common library">
535    <ant dir="components/common" target="common.compile"/>
536  </target>
537
538  <target name="jar-common"
539    description="generate JAR file for LOCI common library">
540    <ant dir="components/common" target="common.jar"/>
541  </target>
542
543  <target name="osgi-common" depends="jar-common"
544    description="generate OSGi bundle for LOCI common library">
545    <ant dir="components/common" target="common.osgi"/>
546  </target>
547
548  <target name="findbugs-common"
549    description="run findbugs on LOCI common library">
550    <ant dir="components/common" target="common.findbugs"/>
551  </target>
552
553  <target name="clean-common"
554    description="remove build files for LOCI common library">
555    <ant dir="components/common" target="common.clean"/>
556  </target>
557
558  <target name="utils-common" depends="jar-common"
559    description="compile extra utilities for LOCI common library">
560    <ant dir="components/common" target="common.utils"/>
561  </target>
562
563  <target name="test-common"
564    description="compile and run tests for LOCI common library">
565    <ant dir="components/common" target="test"/>
566  </target>
567
568  <!-- JAI Image I/O Tools library -->
569
570  <target name="compile-jai"
571    description="compile classes for JAI Image I/O Tools library">
572    <ant dir="components/forks/jai" target="jai.compile"/>
573  </target>
574
575  <target name="jar-jai"
576    description="generate JAR file for JAI Image I/O Tools library">
577    <ant dir="components/forks/jai" target="jai.jar"/>
578  </target>
579
580  <target name="osgi-jai" depends="jar-jai"
581    description="generate OSGi bundle for JAI Image I/O Tools library">
582    <ant dir="components/forks/jai" target="jai.osgi"/>
583  </target>
584
585  <target name="findbugs-jai"
586    description="run findbugs on JAI Image I/O Tools library">
587    <ant dir="components/forks/jai" target="jai.findbugs"/>
588  </target>
589
590  <target name="clean-jai"
591    description="remove build files for JAI Image I/O Tools library">
592    <ant dir="components/forks/jai" target="jai.clean"/>
593  </target>
594
595  <target name="test-jai"
596    description="compile and run tests for JAI Image I/O Tools library">
597    <ant dir="components/forks/jai" target="jai.test"/>
598  </target>
599
600  <!-- Apache POI Java library -->
601
602  <target name="compile-poi-loci"
603    depends="compile-common"
604    description="compile classes for Apache POI library">
605    <ant dir="components/forks/poi" target="poi-loci.compile"/>
606  </target>
607
608  <target name="jar-poi-loci"
609    depends="jar-common"
610    description="generate JAR file for Apache POI library">
611    <ant dir="components/forks/poi" target="poi-loci.jar"/>
612  </target>
613
614  <target name="osgi-poi-loci" depends="jar-poi-loci"
615    description="generate OSGi bundle for Apache POI library">
616    <ant dir="components/forks/poi" target="poi-loci.osgi"/>
617  </target>
618
619  <target name="findbugs-poi-loci"
620    description="run findbugs on Apache POI library">
621    <ant dir="components/forks/poi" target="poi-loci.findbugs"/>
622  </target>
623
624  <target name="clean-poi-loci"
625    depends="clean-common"
626    description="remove build files for Apache POI library">
627    <ant dir="components/forks/poi" target="poi-loci.clean"/>
628  </target>
629
630  <target name="test-poi-loci"
631    description="compile and run tests for Apache POI library">
632    <ant dir="components/forks/poi" target="poi-loci.test"/>
633  </target>
634
635  <!-- MDB Tools Java library -->
636
637  <target name="compile-mdbtools"
638    description="compile classes for MDB Tools Java library">
639    <ant dir="components/forks/mdbtools" target="mdbtools.compile"/>
640  </target>
641
642  <target name="jar-mdbtools"
643    description="generate JAR file for MDB Tools Java library">
644    <ant dir="components/forks/mdbtools" target="mdbtools.jar"/>
645  </target>
646
647  <target name="osgi-mdbtools" depends="jar-mdbtools"
648    description="generate OSGi bundle for MDB Tools Java library">
649    <ant dir="components/forks/mdbtools" target="mdbtools.osgi"/>
650  </target>
651
652  <target name="findbugs-mdbtools"
653    description="run findbugs on MDB Tools Java library">
654    <ant dir="components/forks/mdbtools" target="mdbtools.findbugs"/>
655  </target>
656
657  <target name="clean-mdbtools"
658    description="remove build files for MDB Tools Java library">
659    <ant dir="components/forks/mdbtools" target="mdbtools.clean"/>
660  </target>
661
662  <target name="test-mdbtools"
663    description="compile and run tests for MDB Tools Java library">
664    <ant dir="components/forks/mdbtools" target="mdbtools.test"/>
665  </target>
666
667  <!-- OME-XML Java library -->
668
669  <target name="compile-ome-xml"
670    description="compile classes for OME-XML Java library">
671    <ant dir="components/ome-xml" target="ome-xml.compile"/>
672  </target>
673
674  <target name="jar-ome-xml"
675    description="generate JAR file for OME-XML Java library">
676    <ant dir="components/ome-xml" target="ome-xml.jar"/>
677  </target>
678
679  <target name="osgi-ome-xml" depends="jar-ome-xml"
680    description="generate OSGi bundle for OME-XML Java library">
681    <ant dir="components/ome-xml" target="ome-xml.osgi"/>
682  </target>
683
684  <target name="findbugs-ome-xml"
685    description="run findbugs on OME-XML Java library">
686    <ant dir="components/ome-xml" target="ome-xml.findbugs"/>
687  </target>
688
689  <target name="clean-ome-xml"
690    description="remove build files for OME-XML Java library">
691    <ant dir="components/ome-xml" target="ome-xml.clean"/>
692  </target>
693
694  <target name="test-ome-xml"
695    description="compile and run tests for OME-XML Java library">
696    <ant dir="components/ome-xml" target="ome-xml.test"/>
697  </target>
698
699  <!-- Bio-Formats -->
700
701  <target name="compile-formats"
702    depends="compile-common, compile-ome-xml"
703    description="compile classes for Bio-Formats">
704    <ant dir="components/bio-formats" target="formats.compile"/>
705  </target>
706
707  <target name="jar-formats"
708    depends="jar-common, jar-ome-xml"
709    description="generate JAR file for Bio-Formats">
710    <ant dir="components/bio-formats" target="formats.jar"/>
711  </target>
712
713  <target name="osgi-formats" depends="jar-formats"
714    description="generate OSGi bundle for Bio-Formats">
715    <ant dir="components/bio-formats" target="formats.osgi"/>
716  </target>
717
718  <target name="findbugs-formats"
719    description="run findbugs on Bio-Formats">
720    <ant dir="components/bio-formats" target="formats.findbugs"/>
721  </target>
722
723  <target name="clean-formats"
724    depends="clean-common, clean-ome-xml"
725    description="remove build files for Bio-Formats">
726    <ant dir="components/bio-formats" target="formats.clean"/>
727  </target>
728
729  <target name="utils-formats" depends="jar-formats"
730    description="compile extra utilities for Bio-Formats">
731    <ant dir="components/bio-formats" target="formats.utils"/>
732  </target>
733
734  <target name="test-formats"
735    description="compile and run tests for Bio-Formats">
736    <ant dir="components/bio-formats" target="test"/>
737  </target>
738
739  <!-- LOCI autogen -->
740
741  <target name="compile-autogen"
742    depends="compile-common, compile-formats"
743    description="compile classes for LOCI autogen">
744    <ant dir="components/autogen" target="autogen.compile"/>
745  </target>
746
747  <target name="jar-autogen"
748    depends="jar-common, jar-formats"
749    description="generate JAR file for LOCI autogen">
750    <ant dir="components/autogen" target="autogen.jar"/>
751  </target>
752
753  <target name="osgi-autogen" depends="jar-autogen"
754    description="generate OSGi bundle for LOCI autogen">
755    <ant dir="components/autogen" target="autogen.osgi"/>
756  </target>
757
758  <target name="findbugs-autogen"
759    description="run findbugs on LOCI autogen">
760    <ant dir="components/autogen" target="autogen.findbugs"/>
761  </target>
762
763  <target name="clean-autogen"
764    depends="clean-common, clean-formats"
765    description="remove build files for LOCI autogen">
766    <ant dir="components/autogen" target="autogen.clean"/>
767  </target>
768
769  <target name="test-autogen"
770    description="compile and run tests for LOCI autogen">
771    <ant dir="components/autogen" target="autogen.test"/>
772  </target>
773
774  <!-- Bio-Formats Ice framework -->
775
776  <target name="compile-bf-ice"
777    depends="compile-formats"
778    description="compile classes for Bio-Formats Ice framework">
779    <ant dir="components/bf-ice" target="bf-ice.compile"/>
780  </target>
781
782  <target name="jar-bf-ice"
783    depends="jar-formats"
784    description="generate JAR file for Bio-Formats Ice framework">
785    <ant dir="components/bf-ice" target="bf-ice.jar"/>
786  </target>
787
788  <target name="osgi-bf-ice" depends="jar-bf-ice"
789    description="generate OSGi bundle for Bio-Formats Ice framework">
790    <ant dir="components/bf-ice" target="bf-ice.osgi"/>
791  </target>
792
793  <target name="findbugs-bf-ice"
794    description="run findbugs on Bio-Formats Ice framework">
795    <ant dir="components/bf-ice" target="bf-ice.findbugs"/>
796  </target>
797
798  <target name="clean-bf-ice"
799    depends="clean-formats"
800    description="remove build files for Bio-Formats Ice framework">
801    <ant dir="components/bf-ice" target="bf-ice.clean"/>
802  </target>
803
804  <target name="test-bf-ice"
805    description="compile and run tests for Bio-Formats Ice framework">
806    <ant dir="components/bf-ice" target="bf-ice.test"/>
807  </target>
808
809  <!-- LOCI Plugins for ImageJ -->
810
811  <target name="compile-loci-plugins"
812    depends="compile-common, compile-formats"
813    description="compile classes for LOCI Plugins for ImageJ">
814    <ant dir="components/loci-plugins" target="loci-plugins.compile"/>
815  </target>
816
817  <target name="jar-loci-plugins"
818    depends="jar-common, jar-formats"
819    description="generate JAR file for LOCI Plugins for ImageJ">
820    <ant dir="components/loci-plugins" target="loci-plugins.jar"/>
821  </target>
822
823  <target name="osgi-loci-plugins" depends="jar-loci-plugins"
824    description="generate OSGi bundle for LOCI Plugins for ImageJ">
825    <ant dir="components/loci-plugins" target="loci-plugins.osgi"/>
826  </target>
827
828  <target name="findbugs-loci-plugins"
829    description="run findbugs on LOCI Plugins for ImageJ">
830    <ant dir="components/loci-plugins" target="loci-plugins.findbugs"/>
831  </target>
832
833  <target name="clean-loci-plugins"
834    depends="clean-common, clean-formats"
835    description="remove build files for LOCI Plugins for ImageJ">
836    <ant dir="components/loci-plugins" target="loci-plugins.clean"/>
837  </target>
838
839  <target name="utils-loci-plugins" depends="jar-loci-plugins"
840    description="compile extra utilities for LOCI Plugins for ImageJ">
841    <ant dir="components/loci-plugins" target="loci-plugins.utils"/>
842  </target>
843
844  <target name="test-loci-plugins"
845    description="compile and run tests for LOCI Plugins for ImageJ">
846    <ant dir="components/loci-plugins" target="loci-plugins.test"/>
847  </target>
848
849  <!-- OME I/O -->
850
851  <target name="compile-ome-io"
852    depends="compile-common, compile-formats"
853    description="compile classes for OME I/O">
854    <ant dir="components/ome-io" target="ome-io.compile"/>
855  </target>
856
857  <target name="jar-ome-io"
858    depends="jar-common, jar-formats"
859    description="generate JAR file for OME I/O">
860    <ant dir="components/ome-io" target="ome-io.jar"/>
861  </target>
862
863  <target name="osgi-ome-io" depends="jar-ome-io"
864    description="generate OSGi bundle for OME I/O">
865    <ant dir="components/ome-io" target="ome-io.osgi"/>
866  </target>
867
868  <target name="findbugs-ome-io"
869    description="run findbugs on OME I/O">
870    <ant dir="components/ome-io" target="ome-io.findbugs"/>
871  </target>
872
873  <target name="clean-ome-io"
874    depends="clean-common, clean-formats"
875    description="remove build files for OME I/O">
876    <ant dir="components/ome-io" target="ome-io.clean"/>
877  </target>
878
879  <target name="test-ome-io"
880    description="compile and run tests for OME I/O">
881    <ant dir="components/ome-io" target="test"/>
882  </target>
883
884  <!-- OME Plugins for ImageJ -->
885
886  <target name="compile-ome-plugins"
887    depends="compile-common, compile-formats,
888      compile-loci-plugins, compile-ome-io"
889    description="compile classes for OME Plugins for ImageJ">
890    <ant dir="components/ome-plugins" target="ome-plugins.compile"/>
891  </target>
892
893  <target name="jar-ome-plugins"
894    depends="jar-common, jar-formats, jar-loci-plugins, jar-ome-io"
895    description="generate JAR file for OME Plugins for ImageJ">
896    <ant dir="components/ome-plugins" target="ome-plugins.jar"/>
897  </target>
898
899  <target name="osgi-ome-plugins" depends="jar-ome-plugins"
900    description="generate OSGi bundle for OME Plugins for ImageJ">
901    <ant dir="components/ome-plugins" target="ome-plugins.osgi"/>
902  </target>
903
904  <target name="findbugs-ome-plugins"
905    description="run findbugs on OME Plugins for ImageJ">
906    <ant dir="components/ome-plugins" target="ome-plugins.findbugs"/>
907  </target>
908
909  <target name="clean-ome-plugins"
910    depends="clean-common, clean-formats, clean-loci-plugins, clean-ome-io"
911    description="remove build files for OME Plugins for ImageJ">
912    <ant dir="components/ome-plugins" target="ome-plugins.clean"/>
913  </target>
914
915  <target name="test-ome-plugins"
916    description="compile and run tests for OME Plugins for ImageJ">
917    <ant dir="components/ome-plugins" target="ome-plugins.test"/>
918  </target>
919
920  <!-- VisBio -->
921
922  <target name="compile-visbio"
923    depends="compile-common, compile-ome-xml, compile-formats,
924      compile-ome-io, compile-poi-loci"
925    description="compile classes for VisBio">
926    <ant dir="components/visbio" target="visbio.compile"/>
927  </target>
928
929  <target name="jar-visbio"
930    depends="jar-common, jar-ome-xml, jar-formats, jar-ome-io, jar-poi-loci"
931    description="generate JAR file for VisBio">
932    <ant dir="components/visbio" target="visbio.jar"/>
933  </target>
934
935  <target name="osgi-visbio" depends="jar-visbio"
936    description="generate OSGi bundle for VisBio">
937    <ant dir="components/visbio" target="visbio.osgi"/>
938  </target>
939
940  <target name="findbugs-visbio"
941    description="run findbugs on VisBio">
942    <ant dir="components/visbio" target="visbio.findbugs"/>
943  </target>
944
945  <target name="clean-visbio"
946    depends="clean-common, clean-ome-xml, clean-formats,
947      clean-ome-io, clean-poi-loci"
948    description="remove build files for VisBio">
949    <ant dir="components/visbio" target="visbio.clean"/>
950  </target>
951
952  <target name="dist-visbio"
953    description="create distribution archives for VisBio">
954    <ant dir="components/visbio" target="dist"/>
955  </target>
956
957  <target name="dist-visbio-win32"
958    description="create distribution archive for VisBio: Windows w/ JRE">
959    <ant dir="components/visbio" target="dist-win32"/>
960  </target>
961
962  <target name="dist-visbio-win32-nojre"
963    description="create distribution archive for VisBio: Windows no JRE">
964    <ant dir="components/visbio" target="dist-win32-nojre"/>
965  </target>
966
967  <target name="dist-visbio-macosx"
968    description="create distribution archive for VisBio: Mac OS X">
969    <ant dir="components/visbio" target="dist-macosx"/>
970  </target>
971
972  <target name="dist-visbio-linux"
973    description="create distribution archive for VisBio: Linux w/ JRE">
974    <ant dir="components/visbio" target="dist-linux"/>
975  </target>
976
977  <target name="dist-visbio-nojre"
978    description="create distribution archive for VisBio: cross-platform">
979    <ant dir="components/visbio" target="dist-nojre"/>
980  </target>
981
982  <target name="test-visbio"
983    description="compile and run tests for VisBio">
984    <ant dir="components/visbio" target="visbio.test"/>
985  </target>
986
987  <!-- SLIM Plotter -->
988
989  <target name="compile-slim"
990    depends="compile-common, compile-formats, compile-visbio"
991    description="compile classes for SLIM Plotter">
992    <ant dir="components/slim-plotter" target="slim.compile"/>
993  </target>
994
995  <target name="jar-slim"
996    depends="jar-common, jar-formats, jar-visbio"
997    description="generate JAR file for SLIM Plotter">
998    <ant dir="components/slim-plotter" target="slim.jar"/>
999  </target>
1000
1001  <target name="osgi-slim" depends="jar-slim"
1002    description="generate OSGi bundle for SLIM Plotter">
1003    <ant dir="components/slim-plotter" target="slim.osgi"/>
1004  </target>
1005
1006  <target name="findbugs-slim"
1007    description="run findbugs on SLIM Plotter">
1008    <ant dir="components/slim-plotter" target="slim.findbugs"/>
1009  </target>
1010
1011  <target name="clean-slim"
1012    depends="clean-common, clean-formats, clean-visbio"
1013    description="remove build files for SLIM Plotter">
1014    <ant dir="components/slim-plotter" target="slim.clean"/>
1015  </target>
1016
1017  <target name="dist-slim"
1018    description="create distribution archive for SLIM Plotter">
1019    <ant dir="components/slim-plotter" target="dist"/>
1020  </target>
1021
1022  <target name="test-slim"
1023    description="compile and run tests for SLIM Plotter">
1024    <ant dir="components/slim-plotter" target="slim.test"/>
1025  </target>
1026
1027  <!-- WiscScan Flow Cytometry -->
1028
1029  <target name="compile-flow"
1030    depends="compile-formats"
1031    description="compile classes for WiscScan Flow Cytometry">
1032    <ant dir="components/flow-cytometry" target="flow.compile"/>
1033  </target>
1034
1035  <target name="jar-flow"
1036    depends="jar-formats"
1037    description="generate JAR file for WiscScan Flow Cytometry">
1038    <ant dir="components/flow-cytometry" target="flow.jar"/>
1039  </target>
1040
1041  <target name="osgi-flow" depends="jar-flow"
1042    description="generate OSGi bundle for WiscScan Flow Cytometry">
1043    <ant dir="components/flow-cytometry" target="flow.osgi"/>
1044  </target>
1045
1046  <target name="findbugs-flow"
1047    description="run findbugs on WiscScan Flow Cytometry">
1048    <ant dir="components/flow-cytometry" target="flow.findbugs"/>
1049  </target>
1050
1051  <target name="clean-flow"
1052    depends="clean-formats"
1053    description="remove build files for WiscScan Flow Cytometry">
1054    <ant dir="components/flow-cytometry" target="flow.clean"/>
1055  </target>
1056
1057  <target name="dist-flow"
1058    description="create distribution archive for WiscScan Flow Cytometry">
1059    <ant dir="components/flow-cytometry" target="dist"/>
1060  </target>
1061
1062  <target name="test-flow"
1063    description="compile and run tests for WiscScan Flow Cytometry">
1064    <ant dir="components/flow-cytometry" target="flow.test"/>
1065  </target>
1066
1067  <!-- LOCI Checkstyle checks -->
1068
1069  <target name="compile-checks"
1070    description="compile classes for LOCI Checkstyle checks">
1071    <ant dir="components/checkstyle" target="checks.compile"/>
1072  </target>
1073
1074  <target name="jar-checks"
1075    description="generate JAR file for LOCI Checkstyle checks">
1076    <ant dir="components/checkstyle" target="checks.jar"/>
1077  </target>
1078
1079  <target name="osgi-checks" depends="jar-checks"
1080    description="generate OSGi bundle for LOCI Checkstyle checks">
1081    <ant dir="components/checkstyle" target="checks.osgi"/>
1082  </target>
1083
1084  <target name="findbugs-checks"
1085    description="run findbugs on LOCI Checkstyle checks">
1086    <ant dir="components/checkstyle" target="checks.findbugs"/>
1087  </target>
1088
1089  <target name="clean-checks"
1090    description="remove build files for LOCI Checkstyle checks">
1091    <ant dir="components/checkstyle" target="checks.clean"/>
1092  </target>
1093
1094  <target name="test-checks"
1095    description="compile and run tests or LOCI Checkstyle checks">
1096    <ant dir="components/checkstyle" target="checks.test"/>
1097  </target>
1098
1099  <!-- LOCI testing framework -->
1100
1101  <target name="compile-tests"
1102    depends="compile-common, compile-formats, compile-ome-io"
1103    description="compile classes for LOCI testing framework">
1104    <ant dir="components/test-suite" target="tests.compile"/>
1105  </target>
1106
1107  <target name="jar-tests"
1108    depends="jar-common, jar-formats, jar-ome-io"
1109    description="generate JAR file for LOCI testing framework">
1110    <ant dir="components/test-suite" target="tests.jar"/>
1111  </target>
1112
1113  <target name="osgi-tests" depends="jar-tests"
1114    description="generate OSGi bundle for LOCI testing framework">
1115    <ant dir="components/test-suite" target="tests.osgi"/>
1116  </target>
1117
1118  <target name="findbugs-tests"
1119    description="run findbugs on LOCI testing framework">
1120    <ant dir="components/test-suite" target="tests.findbugs"/>
1121  </target>
1122
1123  <target name="clean-tests"
1124    depends="clean-common, clean-formats, clean-ome-io"
1125    description="remove build files for LOCI testing framework">
1126    <ant dir="components/test-suite" target="tests.clean"/>
1127  </target>
1128
1129  <target name="test-tests"
1130    description="compile and run tests for LOCI testing framework">
1131    <ant dir="components/test-suite" target="tests.test"/>
1132  </target>
1133
1134  <!-- JVMLink -->
1135
1136  <target name="compile-jvmlink"
1137    depends="compile-common"
1138    description="compile classes for JVMLink">
1139    <ant dir="components/legacy/jvmlink" target="jvmlink.compile"/>
1140  </target>
1141
1142  <target name="jar-jvmlink"
1143    depends="jar-common"
1144    description="generate JAR file for JVMLink">
1145    <ant dir="components/legacy/jvmlink" target="jvmlink.jar"/>
1146  </target>
1147
1148  <target name="osgi-jvmlink" depends="jar-jvmlink"
1149    description="generate OSGi bundle for JVMLink">
1150    <ant dir="components/legacy/jvmlink" target="jvmlink.osgi"/>
1151  </target>
1152
1153  <target name="findbugs-jvmlink"
1154    description="run findbugs on JVMLink">
1155    <ant dir="components/legacy/jvmlink" target="jvmlink.findbugs"/>
1156  </target>
1157
1158  <target name="clean-jvmlink"
1159    depends="clean-common"
1160    description="remove build files for JVMLink">
1161    <ant dir="components/legacy/jvmlink" target="jvmlink.clean"/>
1162  </target>
1163
1164  <target name="test-jvmlink"
1165    description="compile and run tests for JVMLink">
1166    <ant dir="components/legacy/jvmlink" target="jvmlink.test"/>
1167  </target>
1168
1169  <!-- Multi LUT app -->
1170
1171  <target name="compile-multi-lut"
1172    description="compile classes for Multi LUT app">
1173    <ant dir="components/legacy/multi-lut" target="multi-lut.compile"/>
1174  </target>
1175
1176  <target name="jar-multi-lut"
1177    description="generate JAR file for Multi LUT app">
1178    <ant dir="components/legacy/multi-lut" target="multi-lut.jar"/>
1179  </target>
1180
1181  <target name="osgi-multi-lut" depends="jar-multi-lut"
1182    description="generate OSGi bundle for Multi LUT app">
1183    <ant dir="components/legacy/multi-lut" target="multi-lut.osgi"/>
1184  </target>
1185
1186  <target name="findbugs-multi-lut"
1187    description="run findbugs on Multi LUT app">
1188    <ant dir="components/legacy/multi-lut" target="multi-lut.findbugs"/>
1189  </target>
1190
1191  <target name="clean-multi-lut"
1192    description="remove build files for Multi LUT app">
1193    <ant dir="components/legacy/multi-lut" target="multi-lut.clean"/>
1194  </target>
1195
1196  <target name="test-multi-lut"
1197    description="compile and run tests for Multi LUT app">
1198    <ant dir="components/legacy/multi-lut" target="multi-lut.test"/>
1199  </target>
1200
1201  <!-- OME Notes -->
1202
1203  <target name="compile-ome-notes"
1204    depends="compile-common, compile-formats"
1205    description="compile classes for OME Notes">
1206    <ant dir="components/legacy/ome-notes" target="ome-notes.compile"/>
1207  </target>
1208
1209  <target name="jar-ome-notes"
1210    depends="jar-common, jar-formats"
1211    description="generate JAR file for OME Notes">
1212    <ant dir="components/legacy/ome-notes" target="ome-notes.jar"/>
1213  </target>
1214
1215  <target name="osgi-ome-notes" depends="jar-ome-notes"
1216    description="generate OSGi bundle for OME Notes">
1217    <ant dir="components/legacy/ome-notes" target="ome-notes.osgi"/>
1218  </target>
1219
1220  <target name="findbugs-ome-notes"
1221    description="run findbugs for OME Notes">
1222    <ant dir="components/legacy/ome-notes" target="ome-notes.findbugs"/>
1223  </target>
1224
1225  <target name="clean-ome-notes"
1226    depends="clean-common, clean-formats"
1227    description="remove build files for OME Notes">
1228    <ant dir="components/legacy/ome-notes" target="ome-notes.clean"/>
1229  </target>
1230
1231  <target name="test-ome-notes"
1232    description="compile and run tests for OME Notes">
1233    <ant dir="components/legacy/ome-notes" target="ome-notes.test"/>
1234  </target>
1235
1236  <!-- OME Metadata Editor -->
1237
1238  <target name="compile-ome-editor"
1239    depends="compile-common, compile-ome-xml, compile-formats"
1240    description="compile classes for OME Metadata Editor">
1241    <ant dir="components/legacy/ome-editor" target="ome-editor.compile"/>
1242  </target>
1243
1244  <target name="jar-ome-editor"
1245    depends="jar-common, jar-ome-xml, jar-formats"
1246    description="generate JAR file for OME Metadata Editor">
1247    <ant dir="components/legacy/ome-editor" target="ome-editor.jar"/>
1248  </target>
1249
1250  <target name="osgi-ome-editor" depends="jar-ome-editor"
1251    description="generate OSGi bundle for OME Metadata Editor">
1252    <ant dir="components/legacy/ome-editor" target="ome-editor.osgi"/>
1253  </target>
1254
1255  <target name="findbugs-ome-editor"
1256    description="run findbugs on OME Metadata Editor">
1257    <ant dir="components/legacy/ome-editor" target="ome-editor.findbugs"/>
1258  </target>
1259
1260  <target name="clean-ome-editor"
1261    depends="clean-common, clean-ome-xml, clean-formats"
1262    description="remove build files for OME Metadata Editor">
1263    <ant dir="components/legacy/ome-editor" target="ome-editor.clean"/>
1264  </target>
1265
1266  <target name="test-ome-editor"
1267    description="compile and run tests for OME Metadata Editor">
1268    <ant dir="components/legacy/ome-editor" target="ome-editor.test"/>
1269  </target>
1270
1271  <!-- Tool collections -->
1272
1273  <target name="tools" depends="copy-jars, jar-common,
1274    jar-jai, jar-poi-loci, jar-mdbtools,
1275    jar-ome-xml, jar-formats, jar-loci-plugins"
1276    description="create JAR file encompassing several LOCI tools">
1277    <echo>----------=========== loci_tools ===========----------</echo>
1278    <for list="${loci-tools.libraries}" param="jar" delimiter=" " trim="true">
1279      <sequential>
1280        <unjar src="${artifact.dir}/@{jar}" dest="${loci-tools.dir}">
1281          <patternset>
1282            <exclude name="META-INF/**"/>
1283          </patternset>
1284        </unjar>
1285      </sequential>
1286    </for>
1287    <jar jarfile="${loci-tools.jar}" basedir="${loci-tools.dir}">
1288      <manifest>
1289        <attribute name="Main-Class" value="${loci-tools.main}"/>
1290      </manifest>
1291    </jar>
1292    <delete dir="${loci-tools.dir}"/>
1293  </target>
1294
1295  <target name="tools-ome" depends="jar-ome-io, jar-ome-plugins"
1296    description="create JAR file encompassing several OME tools">
1297    <echo>----------=========== ome_tools ===========----------</echo>
1298    <for list="${ome-tools.libraries}" param="jar" delimiter=" " trim="true">
1299      <sequential>
1300        <unjar src="${artifact.dir}/@{jar}" dest="${ome-tools.dir}">
1301          <patternset>
1302            <exclude name="META-INF/**"/>
1303          </patternset>
1304        </unjar>
1305      </sequential>
1306    </for>
1307    <jar jarfile="${ome-tools.jar}" basedir="${ome-tools.dir}">
1308      <manifest>
1309        <attribute name="Main-Class" value="${ome-tools.main}"/>
1310      </manifest>
1311    </jar>
1312    <delete dir="${ome-tools.dir}"/>
1313  </target>
1314
1315</project>
Note: See TracBrowser for help on using the repository browser.