source: tags/loci-tools-2008-Dec-29/build.xml @ 4709

Revision 4709, 32.8 KB checked in by melissa, 11 years ago (diff)

2008 Dec 29 release of LOCI Tools

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:  (none)
21    Optional:      (none)
22    License:       GPL
23
24OME-XML Java library
25    A library for working with OME-XML metadata structures
26    -=-
27    JAR file:      ome-xml.jar
28    Path:          components/ome-xml
29    Project deps:  (none)
30    Library deps:  (none)
31    Optional:      (none)
32    License:       GPL
33
34Bio-Formats
35    A library for reading and writing popular microscopy file formats
36    -=-
37    JAR file:      bio-formats.jar
38    Path:          components/bio-formats
39    Project deps:  LOCI Common, OME-XML Java library
40    Library deps:  JGoodies Forms
41    Optional:      OME I/O, OME Notes, Apache Jakarta POI,
42                   MDB Tools (Java port), JAI Image I/O Tools, NetCDF
43    License:       GPL
44
45Bio-Formats code generator
46    Code that generates the Bio-Formats metadata API, related documentation and
47    Ice bindings
48    -=-
49    JAR file:      bio-formats-auto.jar
50    Path:          components/bio-formats-auto
51    Project deps:  LOCI Common, Bio-Formats
52    Library deps:  Apache Velocity
53    Optional:      (none)
54    License:       GPL
55
56Bio-Formats Ice framework
57    Bindings for Bio-Formats client/server communication enabling
58    cross-language interoperability
59    -=-
60    JAR file:      bio-formats-ice.jar
61    Path:          components/bio-formats-ice
62    Project deps:  Bio-Formats
63    Library deps:  Ice
64    Optional:      (none)
65    License:       GPL
66
67LOCI Plugins for ImageJ
68    A collection of plugins for ImageJ, including the Bio-Formats Importer,
69    Bio-Formats Exporter, Bio-Formats Macro Extensions, Data Browser, Stack
70    Colorizer and Stack Slicer
71    -=-
72    JAR file:      loci_plugins.jar
73    Path:          components/loci-plugins
74    Project deps:  LOCI Common, Bio-Formats
75    Library deps:  JGoodies Forms, ImageJ
76    Optional:      OME I/O, VisBio
77    License:       GPL
78
79OME I/O
80    A library for OME database import, upload and download
81    -=-
82    JAR file:      ome-io.jar
83    Path:          components/ome-io
84    Project deps:  LOCI Common, Bio-Formats
85    Library deps:  OMERO Client, OMERO Common, OMERO Importer,
86                   OMERO Model PostgreSQL
87    Optional:      OME-Java
88    License:       GPL
89
90OME Plugins for ImageJ
91    A collection of plugins for ImageJ, including the Download from OME and
92    Upload to OME plugins
93    -=-
94    JAR file:      ome_plugins.jar
95    Path:          components/ome-plugins
96    Project deps:  LOCI Common, Bio-Formats, LOCI Plugins for ImageJ, OME I/O
97    Library deps:  ImageJ
98    Optional:      (none)
99    License:       GPL
100
101VisBio
102    A multi-purpose biological analysis tool
103    -=-
104    JAR file:      visbio.jar
105    Path:          components/visbio
106    Project deps:  LOCI Common, OME-XML Java library, Bio-Formats, OME I/O,
107                   Apache Jakarta POI
108    Library deps:  Apple eAWT stubs, JGoodies Forms, ImageJ, JGoodies Looks,
109                   VisAD
110    Optional:      (none)
111    License:       GPL
112
113SLIM Plotter
114    An application and curve fitting library for visualization and analysis of
115    combined spectral lifetime data
116    -=-
117    JAR file:      SlimPlotter.jar
118    Path:          components/slim-plotter
119    Project deps:  LOCI Common, Bio-Formats, VisBio
120    Library deps:  L-M Fit, VisAD
121    Optional:      (none)
122    License:       GPL
123
124WiscScan Flow Cytometry
125    Server application for flow cytometry with WiscScan using JVMLink
126    -=-
127    JAR file:      flow-cytometry.jar
128    Path:          components/flow-cytometry
129    Project deps:  Bio-Formats
130    Library deps:  ImageJ, VisAD
131    Optional:      (none)
132    License:       BSD
133
134LOCI Checkstyle checks
135    LOCI's Checkstyle extensions, for checking source code style
136    -=-
137    JAR file:      loci-checks.jar
138    Path:          components/checkstyle
139    Project deps:  (none)
140    Library deps:  Checkstyle
141    Optional:      (none)
142    License:       Public domain
143
144LOCI testing framework
145    Framework for automated and manual testing of the LOCI software packages
146    -=-
147    JAR file:      loci-testing-framework.jar
148    Path:          components/test-suite
149    Project deps:  LOCI Common, Bio-Formats
150    Library deps:  TestNG
151    Optional:      (none)
152    License:       BSD
153
154===============================================================================
155The following components are considered "legacy" but still available:
156
157JVMLink
158    A library for communicating between a Java Virtual Machine and other
159    programs (e.g., C++ applications) via IP over localhost (or remotely)
160    -=-
161    JAR file:      jvmlink.jar
162    Path:          components/legacy/jvmlink
163    Project deps:  LOCI Common
164    Optional:      (none)
165    License:       BSD
166
167Multi-LUT
168    A demo application for visually exploring multi-spectral image data
169    -=-
170    JAR file:      MultiLUT.jar
171    Path:          components/legacy/multi-lut
172    Project deps:  (none)
173    Optional:      (none)
174    License:       Public domain
175
176OME Notes
177    A library for flexible organization and presentation of OME-XML metadata
178    within a graphical browser and editor interface
179    -=-
180    JAR file:      ome-notes.jar
181    Path:          components/legacy/ome-notes
182    Project deps:  LOCI Common, Bio-Formats
183    Optional:      (none)
184    License:       LGPL
185
186OME Metadata Editor
187    An application for exploration and editing of OME-XML and OME-TIFF metadata
188    -=-
189    JAR file:      ome-editor.jar
190    Path:          components/legacy/ome-editor
191    Project deps:  LOCI Common, OME-XML Java library, Bio-Formats
192    Optional:      (none)
193    License:       LGPL
194
195===============================================================================
196The following components are forks of third party projects:
197
198Apache Jakarta POI
199    Java API to handle Microsoft OLE 2 Compound Document format (Word, Excel)
200    -=-
201    JAR file:      poi-loci.jar
202    Path:          components/forks/poi
203    Project deps:  LOCI Common
204    Optional:      (none)
205    License:       Apache
206    Project URL:   http://jakarta.apache.org/poi/
207    Notes:         Based on poi-2.5.1-final-20040804.jar, with bugfixes for OLE
208                   v2 and memory efficiency improvements. Used by Bio-Formats
209                   for OLE support (cxd, ipw, oib, zvi). Used by VisBio
210                   overlays logic for XLS export feature.
211
212MDB Tools (Java port)
213    Java API to handle Microsoft MDB format (Access)
214    -=-
215    JAR file:      mdbtools-java.jar
216    Path:          components/forks/mdbtools
217    Project deps:  (none)
218    Optional:      (none)
219    License:       LGPL
220    Project URL:   http://sourceforge.net/forum/message.php?msg_id=2550619
221    Notes:         Used by Bio-Formats for Zeiss LSM metadata in MDB files.
222
223JAI Image I/O Tools
224    Java API to handle JPEG and JPEG2000 files
225    -=-
226    JAR file:      jai_imageio.jar
227    Path:          components/forks/jai
228    Project deps:  (none)
229    Optional:      (none)
230    License:       BSD
231    Project URL:   http://jai-imageio.dev.java.net/
232    Notes:         Used by Bio-Formats to read images compressed with JPEG2000
233                   and lossless JPEG. Modified from the 2008-10-14 source to
234                   include support for the YCbCr color space. Several files in
235                   the com.sun.media.jai packages were removed, as they are not
236                   needed by Bio-Formats, and created an additional dependency.
237                   This component will be removed once our changes have been
238                   added to the official JAI CVS repository.
239
240===============================================================================
241The following external dependencies (in the jar folder) may be required:
242Apple eAWT stubs
243    JAR file:  AppleJavaExtensions.jar
244    URL:       http://developer.apple.com/samplecode/AppleJavaExtensions/
245    Notes:     required to compile VisBio on non-Mac OS X machines
246    License:   BSD
247
248Ant-Contrib
249    JAR file:  ant-contrib-1.0b1.jar
250    URL:       http://ant-contrib.sourceforge.net/
251    Notes:     used by tools target to iterate over JAR files ("for" task)
252    License:   Apache
253
254Checkstyle
255    JAR file:  checkstyle-all-4.2.jar
256    URL:       http://checkstyle.sourceforge.net/
257    Notes:     used by style Ant target to check source code style conventions
258    License:   LGPL
259
260Apache Jakarta Commons HttpClient
261    JAR file:  commons-httpclient-2.0-rc2.jar
262    URL:       http://jakarta.apache.org/commons/httpclient/
263    Notes:     required for OME-Java to communicate with OME servers
264    License:   Apache
265
266Apache Jakarta Commons Logging
267    JAR file:  commons-logging.jar
268    URL:       http://jakarta.apache.org/commons/logging/
269    Notes:     used by OME-Java
270    License:   Apache
271
272FindBugs Ant task
273    JAR file:  findbugs-ant.jar
274    URL:       http://findbugs.sourceforge.net/
275    Notes:     used by findbugs Ant target to check for program bugs
276    License:   LGPL
277
278JGoodies Forms
279    JAR file:  forms-1.0.4.jar
280    URL:       http://www.jgoodies.com/freeware/forms/index.html
281    Notes:     used for layout by VisBio, Data Browser and OME Notes
282    License:   BSD
283
284Ice
285    JAR file:  Ice-3.2.1.jar
286    URL:       http://www.zeroc.com/ice.html
287    Notes:     used by Bio-Formats Ice framework
288    License:   GPL
289
290ImageJ
291    JAR file:  ij.jar
292    URL:       http://rsb.info.nih.gov/ij/
293    Notes:     used by LOCI plugins for ImageJ and OME plugins for ImageJ;
294               bundled with VisBio to achieve ImageJ interconnectivity
295    License:   Public domain
296
297JAI ImageIO wrapper
298    JAR file:  clibwrapper_jiio.jar
299    URL:       https://jai-imageio.dev.java.net/
300    Notes:     used by Bio-Formats via reflection for JPEG2000 support (ND2,
301               JP2) and lossless JPEG decompression (DICOM)
302    License:   BSD
303
304JUnit
305    JAR file:  junit.jar
306    URL:       http://www.junit.org/
307    Notes:     unit testing framework used for a few VisBio unit tests
308    License:   Common Public License
309
310L-M Fit
311    JAR file:  lma.jar
312    URL:       http://users.utu.fi/jaolho/
313    Notes:     Levenberg-Marquardt algorithm for exponential curve fitting,
314               used by SLIM Plotter
315    License:   LGPL
316
317JGoodies Looks
318    JAR file:  looks-1.2.2.jar
319    URL:       http://www.jgoodies.com/freeware/looks/index.html
320    Notes:     used for a nicer Look & Feel by VisBio and OME Metadata Editor
321    License:   BSD
322
323NetCDF
324    JAR file:  netcdf-4.0.jar
325    URL:       http://www.unidata.ucar.edu/software/netcdf-java/
326    Notes:     used by Bio-Formats via reflection for HDF support (Imaris 5.5)
327    License:   LGPL
328
329BUFR Java Decoder
330    JAR file:  bufr-1.1.00.jar
331    URL:       http://www.unidata.ucar.edu/software/netcdf-java/
332    Notes:     used by NetCDF library
333    License:   LGPL
334
335GRIB Java Decoder
336    JAR file:  grib-5.1.03.jar
337    URL:       http://www.unidata.ucar.edu/software/netcdf-java/
338    Notes:     used by NetCDF library
339    License:   LGPL
340
341Simple Logging Facade for Java
342    JAR file:  slf4j-jdk14.jar
343    URL:       http://www.slf4j.org/
344    Notes:     used by NetCDF library
345    License:   BSD
346
347OME-Java
348    JAR file:  ome-java.jar
349    URL:       http://www.openmicroscopy.org/site/documents/data-management/ome-server/developer/java-api
350    Notes:     used by OME I/O to connect to OME servers
351    License:   LGPL
352
353OME-Java deprecated classes
354    JAR file:  ome-java-deprecated.jar
355    URL:       http://www.openmicroscopy.org/site/documents/data-management/ome-server/developer/java-api
356    Notes:     used by OME Notes and OME Metadata Editor to work with OME-XML
357    License:   LGPL
358
359OMERO Client
360    JAR file:  omero-client-3.0-Beta3.jar
361    URL:       http://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads
362    Notes:     used by OME I/O to connect to OMERO servers
363    License:   GPL
364
365OMERO Common
366    JAR file:  omero-common-3.0-Beta3.jar
367    URL:       http://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads
368    Notes:     used by OME I/O to connect to OMERO servers
369    License:   GPL
370
371OMERO Importer
372    JAR file:  omero-importer-3.0-Beta3.jar
373    URL:       http://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads
374    Notes:     used by OME I/O to connect to OMERO servers
375    License:   GPL
376
377OMERO Model PostgreSQL
378    JAR file:  omero-model-psql-3.0-Beta3.jar
379    URL:       http://trac.openmicroscopy.org.uk/omero/wiki/MilestoneDownloads
380    Notes:     used by OME I/O to connect to OMERO servers
381    License:   GPL
382
383Spring
384    JAR file:  spring-2.5.jar
385    URL:       http://springframework.org
386    Notes:     used by the OMERO libraries
387    License:   Apache
388
389JBoss
390    JAR file:  jbossall-client-4.2.1.GA.jar
391    URL:       http://www.jboss.org/
392    Notes:     used by the OMERO libraries
393    License:   LGPL
394
395Skin Look and Feel
396    JAR file:  skinlf.jar
397    URL:       http://skinlf.l2fprod.com/
398    Notes:     not used (may be used in the future for flexible skinning)
399    License:   Custom (BSD-like)
400
401TestNG
402    JAR file:  testng-5.7-jdk14.jar
403    URL:       http://testng.org/
404    Notes:     testing framework used for LOCI software automated test suite
405    License:   Apache
406
407Apache Velocity
408    JAR file:  velocity-dep-1.5.jar
409    URL:       http://velocity.apache.org/
410    Notes:     used to autogenerate the loci.formats.meta and loci.formats.ome
411               Bio-Formats packages
412    License:   Apache
413
414VisAD
415    JAR file:  visad-lite.jar
416    URL:       http://www.ssec.wisc.edu/~billh/visad.html
417    Notes:     stripped down VisAD library used by VisBio and SLIM Plotter for
418               interactive visualization
419    License:   LGPL
420
421Apache XML-RPC
422    JAR file:  xmlrpc-1.2-b1.jar
423    URL:       http://ws.apache.org/xmlrpc/
424    Notes:     used by OME-Java library to communicate with OME servers
425    License:   Apache
426-->
427
428<project name="LOCI Software" default="jars" basedir=".">
429  <description>
430    Master build file for all Java software projects at LOCI
431  </description>
432
433  <property file="${user.home}/.ant-global.properties"/>
434  <property file="global.properties"/>
435  <property file="build.properties"/>
436
437  <!-- Non-core ant tasks -->
438
439  <taskdef resource="net/sf/antcontrib/antcontrib.properties"
440    classpath="${shared-lib.dir}/ant-contrib-1.0b1.jar"/>
441  <!-- HACK - some environments do not install the antcontrib tasks properly
442  from antcontrib.properties above; also load them from antlib.xml -->
443  <taskdef resource="net/sf/antcontrib/antlib.xml"
444    classpath="${shared-lib.dir}/ant-contrib-1.0b1.jar"/>
445
446  <!-- Global build targets -->
447
448  <target name="jars"
449    depends="copy-jars, jar-common, jar-ome-xml,
450      jar-jai, jar-poi-loci, jar-mdbtools,
451      jar-formats, jar-formats-auto, jar-formats-ice,
452      jar-loci-plugins, jar-ome-io, jar-ome-plugins,
453      jar-visbio, jar-slim, jar-flow,
454      jar-checks, jar-tests,
455      jar-jvmlink, jar-multi-lut,
456      jar-ome-notes, jar-ome-editor"
457    description="generate JAR files for LOCI software packages"/>
458
459  <target name="clean"
460    depends="clean-common, clean-ome-xml,
461      clean-jai, clean-poi-loci, clean-mdbtools,
462      clean-formats, clean-formats-auto, clean-formats-ice,
463      clean-loci-plugins, clean-ome-io, clean-ome-plugins,
464      clean-visbio, clean-slim, clean-flow,
465      clean-checks, clean-tests,
466      clean-jvmlink, clean-multi-lut,
467      clean-ome-notes, clean-ome-editor"
468    description="remove all build files">
469    <delete dir="${shared-artifact.dir}"/>
470    <delete dir="build"/>
471  </target>
472
473  <target name="docs" depends="jars"
474    description="generate javadocs for LOCI software packages">
475    <tstamp>
476      <format property="YEAR" pattern="yyyy"/>
477    </tstamp>
478    <javadoc sourcepath="${merged-docs.source}"
479      classpath="${merged-docs.classpath}"
480      destdir="${merged-docs.dir}/api"
481      maxmemory="${merged-docs.memory}"
482      failonerror="true" author="true" version="true" use="true"
483      nodeprecated="true" windowtitle="LOCI Software API">
484      <doctitle><![CDATA[<h1>LOCI Software</h1>]]></doctitle>
485      <bottom><![CDATA[${copyright.begin} ${YEAR} ${copyright.end}]]></bottom>
486      <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
487      <link href="http://hudson.openmicroscopy.org.uk/job/OMEJAVA/javadoc/"/>
488      <link href="http://rsbweb.nih.gov/ij/developer/api/"/>
489      <link href="http://www.ssec.wisc.edu/~dglo/docs/"/>
490      <!--<link href="http://www.jdocs.com/formlayout/1.0.4/api/"/>-->
491      <!--<link href="http://www.jdocs.com/looks/1.2.2/api/"/>-->
492    </javadoc>
493  </target>
494
495  <target name="copy-jars">
496    <!-- copy third party JARs into artifacts folder -->
497    <!-- necessary for runtime classpath dependencies to function properly -->
498    <copy todir="${shared-artifact.dir}" preservelastmodified="true">
499      <fileset dir="${shared-lib.dir}"/>
500    </copy>
501  </target>
502
503  <!-- LOCI common library -->
504
505  <target name="compile-common"
506    description="compile classes for LOCI common library">
507    <ant dir="components/common" target="common.compile"/>
508  </target>
509
510  <target name="jar-common"
511    description="generate JAR file for LOCI common library">
512    <ant dir="components/common" target="common.jar"/>
513  </target>
514
515  <target name="clean-common"
516    description="remove build files for LOCI common library">
517    <ant dir="components/common" target="common.clean"/>
518  </target>
519
520  <!-- JAI Image I/O Tools library -->
521
522  <target name="compile-jai"
523    description="compile classes for JAI Image I/O Tools library">
524    <ant dir="components/forks/jai" target="jai.compile"/>
525  </target>
526
527  <target name="jar-jai"
528    description="generate JAR file for JAI Image I/O Tools library">
529    <ant dir="components/forks/jai" target="jai.jar"/>
530  </target>
531
532  <target name="clean-jai"
533    description="remove build files for JAI Image I/O Tools library">
534    <ant dir="components/forks/jai" target="jai.clean"/>
535  </target>
536
537  <!-- Apache POI Java library -->
538
539  <target name="compile-poi-loci"
540    depends="compile-common"
541    description="compile classes for Apache POI library">
542    <ant dir="components/forks/poi" target="poi-loci.compile"/>
543  </target>
544
545  <target name="jar-poi-loci"
546    depends="jar-common"
547    description="generate JAR file for Apache POI library">
548    <ant dir="components/forks/poi" target="poi-loci.jar"/>
549  </target>
550
551  <target name="clean-poi-loci"
552    depends="clean-common"
553    description="remove build files for Apache POI library">
554    <ant dir="components/forks/poi" target="poi-loci.clean"/>
555  </target>
556
557  <!-- MDB Tools Java library -->
558
559  <target name="compile-mdbtools"
560    description="compile classes for MDB Tools Java library">
561    <ant dir="components/forks/mdbtools" target="mdbtools.compile"/>
562  </target>
563
564  <target name="jar-mdbtools"
565    description="generate JAR file for MDB Tools Java library">
566    <ant dir="components/forks/mdbtools" target="mdbtools.jar"/>
567  </target>
568
569  <target name="clean-mdbtools"
570    description="remove build files for MDB Tools Java library">
571    <ant dir="components/forks/mdbtools" target="mdbtools.clean"/>
572  </target>
573
574  <!-- OME-XML Java library -->
575
576  <target name="compile-ome-xml"
577    description="compile classes for OME-XML Java library">
578    <ant dir="components/ome-xml" target="ome-xml.compile"/>
579  </target>
580
581  <target name="jar-ome-xml"
582    description="generate JAR file for OME-XML Java library">
583    <ant dir="components/ome-xml" target="ome-xml.jar"/>
584  </target>
585
586  <target name="clean-ome-xml"
587    description="remove build files for OME-XML Java library">
588    <ant dir="components/ome-xml" target="ome-xml.clean"/>
589  </target>
590
591  <!-- Bio-Formats -->
592
593  <target name="compile-formats"
594    depends="compile-common, compile-ome-xml"
595    description="compile classes for Bio-Formats">
596    <ant dir="components/bio-formats" target="formats.compile"/>
597  </target>
598
599  <target name="jar-formats"
600    depends="jar-common, jar-ome-xml"
601    description="generate JAR file for Bio-Formats">
602    <ant dir="components/bio-formats" target="formats.jar"/>
603  </target>
604
605  <target name="clean-formats"
606    depends="clean-common, clean-ome-xml"
607    description="remove build files for Bio-Formats">
608    <ant dir="components/bio-formats" target="formats.clean"/>
609  </target>
610
611  <!-- Bio-Formats code generator -->
612
613  <target name="compile-formats-auto"
614    depends="compile-common, compile-formats"
615    description="compile classes for Bio-Formats code gen">
616    <ant dir="components/bio-formats-auto" target="formats-auto.compile"/>
617  </target>
618
619  <target name="jar-formats-auto"
620    depends="jar-common, jar-formats"
621    description="generate JAR file for Bio-Formats code gen">
622    <ant dir="components/bio-formats-auto" target="formats-auto.jar"/>
623  </target>
624
625  <target name="clean-formats-auto"
626    depends="clean-common, clean-formats"
627    description="remove build files for Bio-Formats code gen">
628    <ant dir="components/bio-formats-auto" target="formats-auto.clean"/>
629  </target>
630
631  <!-- Bio-Formats Ice framework -->
632
633  <target name="compile-formats-ice"
634    depends="compile-formats"
635    description="compile classes for Bio-Formats Ice framework">
636    <ant dir="components/bio-formats-ice" target="formats-ice.compile"/>
637  </target>
638
639  <target name="jar-formats-ice"
640    depends="jar-formats"
641    description="generate JAR file for Bio-Formats Ice framework">
642    <ant dir="components/bio-formats-ice" target="formats-ice.jar"/>
643  </target>
644
645  <target name="clean-formats-ice"
646    depends="clean-formats"
647    description="remove build files for Bio-Formats Ice framework">
648    <ant dir="components/bio-formats-ice" target="formats-ice.clean"/>
649  </target>
650
651  <!-- LOCI Plugins for ImageJ -->
652
653  <target name="compile-loci-plugins"
654    depends="compile-common, compile-formats"
655    description="compile classes for LOCI Plugins for ImageJ">
656    <ant dir="components/loci-plugins" target="loci-plugins.compile"/>
657  </target>
658
659  <target name="jar-loci-plugins"
660    depends="jar-common, jar-formats"
661    description="generate JAR file for LOCI Plugins for ImageJ">
662    <ant dir="components/loci-plugins" target="loci-plugins.jar"/>
663  </target>
664
665  <target name="clean-loci-plugins"
666    depends="clean-common, clean-formats"
667    description="remove build files for LOCI Plugins for ImageJ">
668    <ant dir="components/loci-plugins" target="loci-plugins.clean"/>
669  </target>
670
671  <!-- OME I/O -->
672
673  <target name="compile-ome-io"
674    depends="compile-common, compile-formats"
675    description="compile classes for OME I/O">
676    <ant dir="components/ome-io" target="ome-io.compile"/>
677  </target>
678
679  <target name="jar-ome-io"
680    depends="jar-common, jar-formats"
681    description="generate JAR file for OME I/O">
682    <ant dir="components/ome-io" target="ome-io.jar"/>
683  </target>
684
685  <target name="clean-ome-io"
686    depends="clean-common, clean-formats"
687    description="remove build files for OME I/O">
688    <ant dir="components/ome-io" target="ome-io.clean"/>
689  </target>
690
691  <!-- OME Plugins for ImageJ -->
692
693  <target name="compile-ome-plugins"
694    depends="compile-common, compile-formats,
695      compile-loci-plugins, compile-ome-io"
696    description="compile classes for OME Plugins for ImageJ">
697    <ant dir="components/ome-plugins" target="ome-plugins.compile"/>
698  </target>
699
700  <target name="jar-ome-plugins"
701    depends="jar-common, jar-formats, jar-loci-plugins, jar-ome-io"
702    description="generate JAR file for OME Plugins for ImageJ">
703    <ant dir="components/ome-plugins" target="ome-plugins.jar"/>
704  </target>
705
706  <target name="clean-ome-plugins"
707    depends="clean-common, clean-formats, clean-loci-plugins, clean-ome-io"
708    description="remove build files for OME Plugins for ImageJ">
709    <ant dir="components/ome-plugins" target="ome-plugins.clean"/>
710  </target>
711
712  <!-- VisBio -->
713
714
715  <target name="compile-visbio"
716    depends="compile-common, compile-ome-xml, compile-formats,
717      compile-ome-io, compile-poi-loci"
718    description="compile classes for VisBio">
719    <ant dir="components/visbio" target="visbio.compile"/>
720  </target>
721
722  <target name="jar-visbio"
723    depends="jar-common, jar-ome-xml, jar-formats, jar-ome-io, jar-poi-loci"
724    description="generate JAR file for VisBio">
725    <ant dir="components/visbio" target="visbio.jar"/>
726  </target>
727
728  <target name="clean-visbio"
729    depends="clean-common, clean-ome-xml, clean-formats,
730      clean-ome-io, clean-poi-loci"
731    description="remove build files for VisBio">
732    <ant dir="components/visbio" target="visbio.clean"/>
733  </target>
734
735  <target name="dist-visbio"
736    description="create distribution bundles for VisBio">
737    <ant dir="components/visbio" target="visbio.dist"/>
738  </target>
739
740  <target name="dist-visbio-win32"
741    description="create distribution bundle for VisBio: Windows w/ JRE">
742    <ant dir="components/visbio" target="visbio.dist-win32"/>
743  </target>
744
745  <target name="dist-visbio-win32-nojre"
746    description="create distribution bundle for VisBio: Windows no JRE">
747    <ant dir="components/visbio" target="visbio.dist-win32-nojre"/>
748  </target>
749
750  <target name="dist-visbio-macosx"
751    description="create distribution bundle for VisBio: Mac OS X">
752    <ant dir="components/visbio" target="visbio.dist-macosx"/>
753  </target>
754
755  <target name="dist-visbio-linux"
756    description="create distribution bundle for VisBio: Linux w/ JRE">
757    <ant dir="components/visbio" target="visbio.dist-linux"/>
758  </target>
759
760  <target name="dist-visbio-nojre"
761    description="create distribution bundle for VisBio: cross-platform">
762    <ant dir="components/visbio" target="visbio.dist-nojre"/>
763  </target>
764
765  <!-- SLIM Plotter -->
766
767  <target name="compile-slim"
768    depends="compile-common, compile-formats, compile-visbio"
769    description="compile classes for SLIM Plotter">
770    <ant dir="components/slim-plotter" target="slim.compile"/>
771  </target>
772
773  <target name="jar-slim"
774    depends="jar-common, jar-formats, jar-visbio"
775    description="generate JAR file for SLIM Plotter">
776    <ant dir="components/slim-plotter" target="slim.jar"/>
777  </target>
778
779  <target name="clean-slim"
780    depends="clean-common, clean-formats, clean-visbio"
781    description="remove build files for SLIM Plotter">
782    <ant dir="components/slim-plotter" target="slim.clean"/>
783  </target>
784
785  <target name="dist-slim"
786    description="create distribution bundle for SLIM Plotter">
787    <ant dir="components/slim-plotter" target="dist"/>
788  </target>
789
790  <!-- WiscScan Flow Cytometry -->
791
792  <target name="compile-flow"
793    depends="compile-formats"
794    description="compile classes for WiscScan Flow Cytometry">
795    <ant dir="components/flow-cytometry" target="flow.compile"/>
796  </target>
797
798  <target name="jar-flow"
799    depends="jar-formats"
800    description="generate JAR file for WiscScan Flow Cytometry">
801    <ant dir="components/flow-cytometry" target="flow.jar"/>
802  </target>
803
804  <target name="clean-flow"
805    depends="clean-formats"
806    description="remove build files for WiscScan Flow Cytometry">
807    <ant dir="components/flow-cytometry" target="flow.clean"/>
808  </target>
809
810  <!-- LOCI Checkstyle checks -->
811
812  <target name="compile-checks"
813    description="compile classes for LOCI Checkstyle checks">
814    <ant dir="components/checkstyle" target="checks.compile"/>
815  </target>
816
817  <target name="jar-checks"
818    description="generate JAR file for LOCI Checkstyle checks">
819    <ant dir="components/checkstyle" target="checks.jar"/>
820  </target>
821
822  <target name="clean-checks"
823    description="remove build files for LOCI Checkstyle checks">
824    <ant dir="components/checkstyle" target="checks.clean"/>
825  </target>
826
827  <!-- LOCI testing framework -->
828
829  <target name="compile-tests"
830    depends="compile-common, compile-formats"
831    description="compile classes for LOCI testing framework">
832    <ant dir="components/test-suite" target="tests.compile"/>
833  </target>
834
835  <target name="jar-tests"
836    depends="jar-common, jar-formats"
837    description="generate JAR file for LOCI testing framework">
838    <ant dir="components/test-suite" target="tests.jar"/>
839  </target>
840
841  <target name="clean-tests"
842    depends="clean-common, clean-formats"
843    description="remove build files for LOCI testing framework">
844    <ant dir="components/test-suite" target="tests.clean"/>
845  </target>
846
847  <!-- JVMLink -->
848
849  <target name="compile-jvmlink"
850    depends="compile-common"
851    description="compile classes for JVMLink">
852    <ant dir="components/legacy/jvmlink" target="jvmlink.compile"/>
853  </target>
854
855  <target name="jar-jvmlink"
856    depends="jar-common"
857    description="generate JAR file for JVMLink">
858    <ant dir="components/legacy/jvmlink" target="jvmlink.jar"/>
859  </target>
860
861  <target name="clean-jvmlink"
862    depends="clean-common"
863    description="remove build files for JVMLink">
864    <ant dir="components/legacy/jvmlink" target="jvmlink.clean"/>
865  </target>
866
867  <!-- Multi LUT app -->
868
869  <target name="compile-multi-lut"
870    description="compile classes for Multi LUT app">
871    <ant dir="components/legacy/multi-lut" target="multi-lut.compile"/>
872  </target>
873
874  <target name="jar-multi-lut"
875    description="generate JAR file for Multi LUT app">
876    <ant dir="components/legacy/multi-lut" target="multi-lut.jar"/>
877  </target>
878
879  <target name="clean-multi-lut"
880    description="remove build files for Multi LUT app">
881    <ant dir="components/legacy/multi-lut" target="multi-lut.clean"/>
882  </target>
883
884  <!-- OME Notes -->
885
886  <target name="compile-ome-notes"
887    depends="compile-common, compile-formats"
888    description="compile classes for OME Notes">
889    <ant dir="components/legacy/ome-notes" target="ome-notes.compile"/>
890  </target>
891
892  <target name="jar-ome-notes"
893    depends="jar-common, jar-formats"
894    description="generate JAR file for OME Notes">
895    <ant dir="components/legacy/ome-notes" target="ome-notes.jar"/>
896  </target>
897
898  <target name="clean-ome-notes"
899    depends="clean-common, clean-formats"
900    description="remove build files for OME Notes">
901    <ant dir="components/legacy/ome-notes" target="ome-notes.clean"/>
902  </target>
903
904  <!-- OME Metadata Editor -->
905
906  <target name="compile-ome-editor"
907    depends="compile-common, compile-ome-xml, compile-formats"
908    description="compile classes for OME Metadata Editor">
909    <ant dir="components/legacy/ome-editor" target="ome-editor.compile"/>
910  </target>
911
912  <target name="jar-ome-editor"
913    depends="jar-common, jar-ome-xml, jar-formats"
914    description="generate JAR file for OME Metadata Editor">
915    <ant dir="components/legacy/ome-editor" target="ome-editor.jar"/>
916  </target>
917
918  <target name="clean-ome-editor"
919    depends="clean-common, clean-ome-xml, clean-formats"
920    description="remove build files for OME Metadata Editor">
921    <ant dir="components/legacy/ome-editor" target="ome-editor.clean"/>
922  </target>
923
924  <!-- Tool bundles -->
925
926  <target name="tools" depends="copy-jars, jar-common,
927    jar-jai, jar-poi-loci, jar-mdbtools,
928    jar-ome-xml, jar-formats, jar-loci-plugins"
929    description="create JAR file encompassing several LOCI tools">
930    <for list="${loci-tools.libraries}" param="jar" delimiter=" " trim="true">
931      <sequential>
932        <unjar src="${shared-artifact.dir}/@{jar}" dest="${loci-tools.dir}">
933          <patternset>
934            <exclude name="META-INF/**"/>
935          </patternset>
936        </unjar>
937      </sequential>
938    </for>
939    <jar jarfile="${loci-tools.jar}" basedir="${loci-tools.dir}">
940      <manifest>
941        <attribute name="Main-Class" value="${loci-tools.main}"/>
942      </manifest>
943    </jar>
944    <delete dir="${loci-tools.dir}"/>
945  </target>
946
947  <target name="tools-ome" depends="jar-ome-io, jar-ome-plugins"
948    description="create JAR file encompassing several OME tools">
949    <for list="${ome-tools.libraries}" param="jar" delimiter=" " trim="true">
950      <sequential>
951        <unjar src="${shared-artifact.dir}/@{jar}" dest="${ome-tools.dir}">
952          <patternset>
953            <exclude name="META-INF/**"/>
954          </patternset>
955        </unjar>
956      </sequential>
957    </for>
958    <jar jarfile="${ome-tools.jar}" basedir="${ome-tools.dir}">
959      <manifest>
960        <attribute name="Main-Class" value="${ome-tools.main}"/>
961      </manifest>
962    </jar>
963    <delete dir="${ome-tools.dir}"/>
964  </target>
965
966</project>
Note: See TracBrowser for help on using the repository browser.