source: trunk/ant/toplevel.xml @ 6052

Revision 6052, 32.9 KB checked in by curtis, 10 years ago (diff)

Add scan-deps target to toplevel Ant script.

Line 
1<!--
2toplevel.xml
3
4Toplevel targets for LOCI Software builds.
5Download Apache Ant from http://ant.apache.org/.
6Type "ant -p" for a list of targets.
7-->
8
9<project>
10  <property name="root.dir" location="${basedir}"/>
11  <import file="${root.dir}/ant/global.xml"/>
12  <property file="${root.dir}/ant/toplevel.properties"/>
13
14  <!-- Global build targets -->
15
16  <target name="jars"
17    depends="copy-jars,
18      jar-autogen,
19      jar-bf-ice,
20      jar-checks,
21      jar-common,
22      jar-flow,
23      jar-formats,
24      jar-jai,
25      jar-jvmlink,
26      jar-loci-plugins,
27      jar-lwf-stubs,
28      jar-mdbtools,
29      jar-multi-lut,
30      jar-ome-editor,
31      jar-ome-io,
32      jar-ome-notes,
33      jar-ome-plugins,
34      jar-ome-xml,
35      jar-poi-loci,
36      jar-slim,
37      jar-tests,
38      jar-visbio"
39    description="generate JAR files for LOCI software packages"/>
40
41  <target name="osgi"
42    depends="copy-jars,
43      osgi-autogen,
44      osgi-bf-ice,
45      osgi-checks,
46      osgi-common,
47      osgi-flow,
48      osgi-formats,
49      osgi-jai,
50      osgi-jvmlink,
51      osgi-loci-plugins,
52      osgi-lwf-stubs,
53      osgi-mdbtools,
54      osgi-multi-lut,
55      osgi-ome-editor,
56      osgi-ome-io,
57      osgi-ome-notes,
58      osgi-ome-plugins,
59      osgi-ome-xml,
60      osgi-poi-loci,
61      osgi-slim,
62      osgi-tests,
63      osgi-visbio"
64    description="generate OSGi bundles for LOCI software packages"/>
65
66  <!--
67  NB: Findbugs target does not test autogenerated code, forks, legacy and stubs:
68    findbugs-bf-ice
69    findbugs-jai
70    findbugs-jvmlink
71    findbugs-lwf-stubs
72    findbugs-mdbtools
73    findbugs-multi-lut
74    findbugs-ome-editor
75    findbugs-ome-notes
76    findbugs-ome-xml
77    findbugs-poi-loci
78  -->
79  <target name="findbugs"
80    depends="findbugs-autogen,
81      findbugs-checks,
82      findbugs-common,
83      findbugs-flow,
84      findbugs-formats,
85      findbugs-loci-plugins,
86      findbugs-ome-io,
87      findbugs-ome-plugins,
88      findbugs-slim,
89      findbugs-tests,
90      findbugs-visbio"
91    description="run findbugs on most components"/>
92
93  <target name="clean"
94    depends="
95      clean-autogen,
96      clean-bf-ice,
97      clean-checks,
98      clean-common,
99      clean-flow,
100      clean-formats,
101      clean-jai,
102      clean-jvmlink,
103      clean-loci-plugins,
104      clean-lwf-stubs,
105      clean-mdbtools,
106      clean-multi-lut,
107      clean-ome-editor,
108      clean-ome-io,
109      clean-ome-notes,
110      clean-ome-plugins,
111      clean-ome-xml,
112      clean-poi-loci,
113      clean-slim,
114      clean-tests,
115      clean-visbio"
116    description="remove all build files">
117    <delete dir="${artifact.dir}"/>
118    <delete dir="build"/>
119  </target>
120
121  <target name="test"
122    depends="test-autogen,
123      test-bf-ice,
124      test-checks,
125      test-common,
126      test-flow,
127      test-formats,
128      test-jai,
129      test-jvmlink,
130      test-loci-plugins,
131      test-lwf-stubs,
132      test-mdbtools,
133      test-multi-lut,
134      test-ome-editor,
135      test-ome-io,
136      test-ome-notes,
137      test-ome-plugins,
138      test-ome-xml,
139      test-poi-loci,
140      test-tests"
141    description="test all components">
142  </target>
143
144  <target name="scan-deps">
145    <exec dir="${root.dir}" executable="perl" failonerror="true">
146      <arg value="scan-deps.pl"/>
147      <arg value="-nosummary"/>
148    </exec>
149  </target>
150
151  <target name="utils"
152    depends="jars,
153      utils-common,
154      utils-formats,
155      utils-loci-plugins"
156    description="compile all extra utilities">
157    <echo>----------=========== utils ===========----------</echo>
158    <delete>
159      <fileset dir="${toplevel-utils.dir}" includes="*.class"/>
160    </delete>
161    <javac debug="true" deprecation="true" source="1.5" target="1.5"
162      srcdir="${toplevel-utils.dir}" includes="*.java">
163      <classpath>
164        <fileset dir="${artifact.dir}">
165          <include name="*.jar"/>
166        </fileset>
167      </classpath>
168    </javac>
169  </target>
170
171  <target name="docs" depends="jars"
172    description="generate Javadocs for LOCI software packages">
173    <echo>----------=========== Javadocs ===========----------</echo>
174    <tstamp>
175      <format property="YEAR" pattern="yyyy"/>
176    </tstamp>
177    <javadoc sourcepath="${merged-docs.source}"
178      classpath="${merged-docs.classpath}"
179      destdir="${merged-docs.dir}/api"
180      maxmemory="${merged-docs.memory}"
181      failonerror="true" author="true" version="true" use="true"
182      nodeprecated="true" windowtitle="LOCI Software API">
183      <doctitle><![CDATA[<h1>LOCI Software</h1>]]></doctitle>
184      <bottom><![CDATA[${copyright.begin} ${YEAR} ${copyright.end}]]></bottom>
185      <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
186      <link href="http://hudson.openmicroscopy.org.uk/job/OMEJAVA/javadoc/"/>
187      <link href="http://rsbweb.nih.gov/ij/developer/api/"/>
188      <link href="http://www.ssec.wisc.edu/visad-docs/javadoc/"/>
189      <!--<link href="http://www.jdocs.com/formlayout/1.0.4/api/"/>-->
190      <!--<link href="http://www.jdocs.com/looks/1.2.2/api/"/>-->
191    </javadoc>
192  </target>
193
194  <target name="docs-zip" depends="docs"
195    description="generate a Zip containing the Javadocs">
196    <zip destfile="${artifact.dir}/bio-formats-javadocs.zip"
197      basedir="${merged-docs.dir}"/>
198  </target>
199
200  <target name="copy-jars">
201    <!-- copy third party JARs into artifacts folder -->
202    <!-- necessary for runtime classpath dependencies to function properly -->
203    <copy todir="${artifact.dir}" preservelastmodified="true">
204      <fileset dir="${lib.dir}" includes="*.jar"/>
205    </copy>
206  </target>
207
208  <!-- LOCI common library -->
209
210  <target name="compile-common"
211    description="compile classes for LOCI common library">
212    <ant dir="components/common" target="common.compile"/>
213  </target>
214
215  <target name="jar-common"
216    description="generate JAR file for LOCI common library">
217    <ant dir="components/common" target="common.jar"/>
218  </target>
219
220  <target name="osgi-common" depends="jar-common"
221    description="generate OSGi bundle for LOCI common library">
222    <ant dir="components/common" target="common.osgi"/>
223  </target>
224
225  <target name="findbugs-common"
226    description="run findbugs on LOCI common library">
227    <ant dir="components/common" target="common.findbugs"/>
228  </target>
229
230  <target name="clean-common"
231    description="remove build files for LOCI common library">
232    <ant dir="components/common" target="common.clean"/>
233  </target>
234
235  <target name="utils-common" depends="jar-common"
236    description="compile extra utilities for LOCI common library">
237    <ant dir="components/common" target="common.utils"/>
238  </target>
239
240  <target name="test-common"
241    description="compile and run tests for LOCI common library">
242    <ant dir="components/common" target="test"/>
243  </target>
244
245  <!-- JAI Image I/O Tools library -->
246
247  <target name="compile-jai"
248    description="compile classes for JAI Image I/O Tools library">
249    <ant dir="components/forks/jai" target="jai.compile"/>
250  </target>
251
252  <target name="jar-jai"
253    description="generate JAR file for JAI Image I/O Tools library">
254    <ant dir="components/forks/jai" target="jai.jar"/>
255  </target>
256
257  <target name="osgi-jai" depends="jar-jai"
258    description="generate OSGi bundle for JAI Image I/O Tools library">
259    <ant dir="components/forks/jai" target="jai.osgi"/>
260  </target>
261
262  <target name="findbugs-jai"
263    description="run findbugs on JAI Image I/O Tools library">
264    <ant dir="components/forks/jai" target="jai.findbugs"/>
265  </target>
266
267  <target name="clean-jai"
268    description="remove build files for JAI Image I/O Tools library">
269    <ant dir="components/forks/jai" target="jai.clean"/>
270  </target>
271
272  <target name="test-jai"
273    description="compile and run tests for JAI Image I/O Tools library">
274    <ant dir="components/forks/jai" target="jai.test"/>
275  </target>
276
277  <!-- Apache POI Java library -->
278
279  <target name="compile-poi-loci"
280    depends="compile-common"
281    description="compile classes for Apache POI library">
282    <ant dir="components/forks/poi" target="poi-loci.compile"/>
283  </target>
284
285  <target name="jar-poi-loci"
286    depends="jar-common"
287    description="generate JAR file for Apache POI library">
288    <ant dir="components/forks/poi" target="poi-loci.jar"/>
289  </target>
290
291  <target name="osgi-poi-loci" depends="jar-poi-loci"
292    description="generate OSGi bundle for Apache POI library">
293    <ant dir="components/forks/poi" target="poi-loci.osgi"/>
294  </target>
295
296  <target name="findbugs-poi-loci"
297    description="run findbugs on Apache POI library">
298    <ant dir="components/forks/poi" target="poi-loci.findbugs"/>
299  </target>
300
301  <target name="clean-poi-loci"
302    depends="clean-common"
303    description="remove build files for Apache POI library">
304    <ant dir="components/forks/poi" target="poi-loci.clean"/>
305  </target>
306
307  <target name="test-poi-loci"
308    description="compile and run tests for Apache POI library">
309    <ant dir="components/forks/poi" target="poi-loci.test"/>
310  </target>
311
312  <!-- MDB Tools Java library -->
313
314  <target name="compile-mdbtools"
315    description="compile classes for MDB Tools Java library">
316    <ant dir="components/forks/mdbtools" target="mdbtools.compile"/>
317  </target>
318
319  <target name="jar-mdbtools"
320    description="generate JAR file for MDB Tools Java library">
321    <ant dir="components/forks/mdbtools" target="mdbtools.jar"/>
322  </target>
323
324  <target name="osgi-mdbtools" depends="jar-mdbtools"
325    description="generate OSGi bundle for MDB Tools Java library">
326    <ant dir="components/forks/mdbtools" target="mdbtools.osgi"/>
327  </target>
328
329  <target name="findbugs-mdbtools"
330    description="run findbugs on MDB Tools Java library">
331    <ant dir="components/forks/mdbtools" target="mdbtools.findbugs"/>
332  </target>
333
334  <target name="clean-mdbtools"
335    description="remove build files for MDB Tools Java library">
336    <ant dir="components/forks/mdbtools" target="mdbtools.clean"/>
337  </target>
338
339  <target name="test-mdbtools"
340    description="compile and run tests for MDB Tools Java library">
341    <ant dir="components/forks/mdbtools" target="mdbtools.test"/>
342  </target>
343
344  <!-- OME-XML Java library -->
345
346  <target name="compile-ome-xml"
347    description="compile classes for OME-XML Java library">
348    <ant dir="components/ome-xml" target="ome-xml.compile"/>
349  </target>
350
351  <target name="jar-ome-xml"
352    description="generate JAR file for OME-XML Java library">
353    <ant dir="components/ome-xml" target="ome-xml.jar"/>
354  </target>
355
356  <target name="osgi-ome-xml" depends="jar-ome-xml"
357    description="generate OSGi bundle for OME-XML Java library">
358    <ant dir="components/ome-xml" target="ome-xml.osgi"/>
359  </target>
360
361  <target name="findbugs-ome-xml"
362    description="run findbugs on OME-XML Java library">
363    <ant dir="components/ome-xml" target="ome-xml.findbugs"/>
364  </target>
365
366  <target name="clean-ome-xml"
367    description="remove build files for OME-XML Java library">
368    <ant dir="components/ome-xml" target="ome-xml.clean"/>
369  </target>
370
371  <target name="test-ome-xml"
372    description="compile and run tests for OME-XML Java library">
373    <ant dir="components/ome-xml" target="ome-xml.test"/>
374  </target>
375
376  <!-- LWF stubs -->
377
378  <target name="compile-lwf-stubs"
379    description="compile classes for LWF stubs">
380    <ant dir="components/stubs/lwf-stubs" target="lwf-stubs.compile"/>
381  </target>
382
383  <target name="jar-lwf-stubs"
384    description="generate JAR file for LWF stubs">
385    <ant dir="components/stubs/lwf-stubs" target="lwf-stubs.jar"/>
386  </target>
387
388  <target name="osgi-lwf-stubs" depends="jar-lwf-stubs"
389    description="generate OSGi bundle for LWF stubs">
390    <ant dir="components/stubs/lwf-stubs" target="lwf-stubs.osgi"/>
391  </target>
392
393  <target name="findbugs-lwf-stubs"
394    description="run findbugs on LWF stubs">
395    <ant dir="components/stubs/lwf-stubs" target="lwf-stubs.findbugs"/>
396  </target>
397
398  <target name="clean-lwf-stubs"
399    description="remove build files for LWF stubs">
400    <ant dir="components/stubs/lwf-stubs" target="lwf-stubs.clean"/>
401  </target>
402
403  <target name="test-lwf-stubs"
404    description="compile and run tests for LWF stubs">
405    <ant dir="components/stubs/lwf-stubs" target="lwf-stubs.test"/>
406  </target>
407
408  <!-- Bio-Formats -->
409
410  <target name="compile-formats"
411    depends="compile-common,
412      compile-jai,
413      compile-lwf-stubs,
414      compile-mdbtools,
415      compile-ome-xml,
416      compile-poi-loci"
417    description="compile classes for Bio-Formats">
418    <ant dir="components/bio-formats" target="formats.compile"/>
419  </target>
420
421  <target name="jar-formats"
422    depends="jar-common,
423      jar-jai,
424      jar-lwf-stubs,
425      jar-mdbtools,
426      jar-ome-xml,
427      jar-poi-loci"
428    description="generate JAR file for Bio-Formats">
429    <ant dir="components/bio-formats" target="formats.jar"/>
430  </target>
431
432  <target name="osgi-formats" depends="jar-formats"
433    description="generate OSGi bundle for Bio-Formats">
434    <ant dir="components/bio-formats" target="formats.osgi"/>
435  </target>
436
437  <target name="findbugs-formats"
438    description="run findbugs on Bio-Formats">
439    <ant dir="components/bio-formats" target="formats.findbugs"/>
440  </target>
441
442  <target name="clean-formats"
443    depends="clean-common,
444      clean-jai,
445      clean-lwf-stubs,
446      clean-mdbtools,
447      clean-ome-xml,
448      clean-poi-loci"
449    description="remove build files for Bio-Formats">
450    <ant dir="components/bio-formats" target="formats.clean"/>
451  </target>
452
453  <target name="utils-formats" depends="jar-formats"
454    description="compile extra utilities for LOCI Plugins for ImageJ">
455    <ant dir="components/bio-formats" target="formats.utils"/>
456  </target>
457
458  <target name="test-formats"
459    description="compile and run tests for Bio-Formats">
460    <ant dir="components/bio-formats" target="test"/>
461  </target>
462
463  <!-- LOCI autogen -->
464
465  <target name="compile-autogen"
466    depends="compile-common,
467      compile-formats"
468    description="compile classes for LOCI autogen">
469    <ant dir="components/autogen" target="autogen.compile"/>
470  </target>
471
472  <target name="jar-autogen"
473    depends="jar-common,
474      jar-formats"
475    description="generate JAR file for LOCI autogen">
476    <ant dir="components/autogen" target="autogen.jar"/>
477  </target>
478
479  <target name="osgi-autogen" depends="jar-autogen"
480    description="generate OSGi bundle for LOCI autogen">
481    <ant dir="components/autogen" target="autogen.osgi"/>
482  </target>
483
484  <target name="findbugs-autogen"
485    description="run findbugs on LOCI autogen">
486    <ant dir="components/autogen" target="autogen.findbugs"/>
487  </target>
488
489  <target name="clean-autogen"
490    depends="clean-common,
491      clean-formats"
492    description="remove build files for LOCI autogen">
493    <ant dir="components/autogen" target="autogen.clean"/>
494  </target>
495
496  <target name="test-autogen"
497    description="compile and run tests for LOCI autogen">
498    <ant dir="components/autogen" target="autogen.test"/>
499  </target>
500
501  <!-- Bio-Formats Ice framework -->
502
503  <target name="compile-bf-ice"
504    depends="compile-formats"
505    description="compile classes for Bio-Formats Ice framework">
506    <ant dir="components/bf-ice" target="bf-ice.compile"/>
507  </target>
508
509  <target name="jar-bf-ice"
510    depends="jar-formats"
511    description="generate JAR file for Bio-Formats Ice framework">
512    <ant dir="components/bf-ice" target="bf-ice.jar"/>
513  </target>
514
515  <target name="osgi-bf-ice" depends="jar-bf-ice"
516    description="generate OSGi bundle for Bio-Formats Ice framework">
517    <ant dir="components/bf-ice" target="bf-ice.osgi"/>
518  </target>
519
520  <target name="findbugs-bf-ice"
521    description="run findbugs on Bio-Formats Ice framework">
522    <ant dir="components/bf-ice" target="bf-ice.findbugs"/>
523  </target>
524
525  <target name="clean-bf-ice"
526    depends="clean-formats"
527    description="remove build files for Bio-Formats Ice framework">
528    <ant dir="components/bf-ice" target="bf-ice.clean"/>
529  </target>
530
531  <target name="test-bf-ice"
532    description="compile and run tests for Bio-Formats Ice framework">
533    <ant dir="components/bf-ice" target="bf-ice.test"/>
534  </target>
535
536  <!-- LOCI Plugins for ImageJ -->
537
538  <target name="compile-loci-plugins"
539    depends="compile-common,
540      compile-formats"
541    description="compile classes for LOCI Plugins for ImageJ">
542    <ant dir="components/loci-plugins" target="loci-plugins.compile"/>
543  </target>
544
545  <target name="jar-loci-plugins"
546    depends="jar-common,
547      jar-formats"
548    description="generate JAR file for LOCI Plugins for ImageJ">
549    <ant dir="components/loci-plugins" target="loci-plugins.jar"/>
550  </target>
551
552  <target name="osgi-loci-plugins" depends="jar-loci-plugins"
553    description="generate OSGi bundle for LOCI Plugins for ImageJ">
554    <ant dir="components/loci-plugins" target="loci-plugins.osgi"/>
555  </target>
556
557  <target name="findbugs-loci-plugins"
558    description="run findbugs on LOCI Plugins for ImageJ">
559    <ant dir="components/loci-plugins" target="loci-plugins.findbugs"/>
560  </target>
561
562  <target name="clean-loci-plugins"
563    depends="clean-common,
564      clean-formats"
565    description="remove build files for LOCI Plugins for ImageJ">
566    <ant dir="components/loci-plugins" target="loci-plugins.clean"/>
567  </target>
568
569  <target name="utils-loci-plugins" depends="jar-loci-plugins"
570    description="compile extra utilities for LOCI Plugins for ImageJ">
571    <ant dir="components/loci-plugins" target="loci-plugins.utils"/>
572  </target>
573
574  <target name="test-loci-plugins"
575    description="compile and run tests for LOCI Plugins for ImageJ">
576    <ant dir="components/loci-plugins" target="loci-plugins.test"/>
577  </target>
578
579  <!-- OME I/O -->
580
581  <target name="compile-ome-io"
582    depends="compile-common,
583      compile-formats"
584    description="compile classes for OME I/O">
585    <ant dir="components/ome-io" target="ome-io.compile"/>
586  </target>
587
588  <target name="jar-ome-io"
589    depends="jar-common,
590      jar-formats"
591    description="generate JAR file for OME I/O">
592    <ant dir="components/ome-io" target="ome-io.jar"/>
593  </target>
594
595  <target name="osgi-ome-io" depends="jar-ome-io"
596    description="generate OSGi bundle for OME I/O">
597    <ant dir="components/ome-io" target="ome-io.osgi"/>
598  </target>
599
600  <target name="findbugs-ome-io"
601    description="run findbugs on OME I/O">
602    <ant dir="components/ome-io" target="ome-io.findbugs"/>
603  </target>
604
605  <target name="clean-ome-io"
606    depends="clean-common,
607      clean-formats"
608    description="remove build files for OME I/O">
609    <ant dir="components/ome-io" target="ome-io.clean"/>
610  </target>
611
612  <target name="test-ome-io"
613    description="compile and run tests for OME I/O">
614    <ant dir="components/ome-io" target="test"/>
615  </target>
616
617  <!-- OME Plugins for ImageJ -->
618
619  <target name="compile-ome-plugins"
620    depends="compile-common,
621      compile-formats,
622      compile-loci-plugins,
623      compile-ome-io"
624    description="compile classes for OME Plugins for ImageJ">
625    <ant dir="components/ome-plugins" target="ome-plugins.compile"/>
626  </target>
627
628  <target name="jar-ome-plugins"
629    depends="jar-common,
630      jar-formats,
631      jar-loci-plugins,
632      jar-ome-io"
633    description="generate JAR file for OME Plugins for ImageJ">
634    <ant dir="components/ome-plugins" target="ome-plugins.jar"/>
635  </target>
636
637  <target name="osgi-ome-plugins" depends="jar-ome-plugins"
638    description="generate OSGi bundle for OME Plugins for ImageJ">
639    <ant dir="components/ome-plugins" target="ome-plugins.osgi"/>
640  </target>
641
642  <target name="findbugs-ome-plugins"
643    description="run findbugs on OME Plugins for ImageJ">
644    <ant dir="components/ome-plugins" target="ome-plugins.findbugs"/>
645  </target>
646
647  <target name="clean-ome-plugins"
648    depends="clean-common,
649      clean-formats,
650      clean-loci-plugins,
651      clean-ome-io"
652    description="remove build files for OME Plugins for ImageJ">
653    <ant dir="components/ome-plugins" target="ome-plugins.clean"/>
654  </target>
655
656  <target name="test-ome-plugins"
657    description="compile and run tests for OME Plugins for ImageJ">
658    <ant dir="components/ome-plugins" target="ome-plugins.test"/>
659  </target>
660
661  <!-- VisBio -->
662
663  <target name="compile-visbio"
664    depends="compile-common,
665      compile-formats,
666      compile-ome-io,
667      compile-ome-xml,
668      compile-poi-loci"
669    description="compile classes for VisBio">
670    <ant dir="components/visbio" target="visbio.compile"/>
671  </target>
672
673  <target name="jar-visbio"
674    depends="jar-common,
675      jar-formats,
676      jar-ome-io,
677      jar-ome-xml,
678      jar-poi-loci"
679    description="generate JAR file for VisBio">
680    <ant dir="components/visbio" target="visbio.jar"/>
681  </target>
682
683  <target name="osgi-visbio" depends="jar-visbio"
684    description="generate OSGi bundle for VisBio">
685    <ant dir="components/visbio" target="visbio.osgi"/>
686  </target>
687
688  <target name="findbugs-visbio"
689    description="run findbugs on VisBio">
690    <ant dir="components/visbio" target="visbio.findbugs"/>
691  </target>
692
693  <target name="clean-visbio"
694    depends="clean-common,
695      clean-formats,
696      clean-ome-io,
697      clean-ome-xml,
698      clean-poi-loci"
699    description="remove build files for VisBio">
700    <ant dir="components/visbio" target="visbio.clean"/>
701  </target>
702
703  <target name="dist-visbio"
704    description="create distribution archives for VisBio">
705    <ant dir="components/visbio" target="dist"/>
706  </target>
707
708  <target name="dist-visbio-win32"
709    description="create distribution archive for VisBio: Windows w/ JRE">
710    <ant dir="components/visbio" target="dist-win32"/>
711  </target>
712
713  <target name="dist-visbio-win32-nojre"
714    description="create distribution archive for VisBio: Windows no JRE">
715    <ant dir="components/visbio" target="dist-win32-nojre"/>
716  </target>
717
718  <target name="dist-visbio-macosx"
719    description="create distribution archive for VisBio: Mac OS X">
720    <ant dir="components/visbio" target="dist-macosx"/>
721  </target>
722
723  <target name="dist-visbio-linux"
724    description="create distribution archive for VisBio: Linux w/ JRE">
725    <ant dir="components/visbio" target="dist-linux"/>
726  </target>
727
728  <target name="dist-visbio-nojre"
729    description="create distribution archive for VisBio: cross-platform">
730    <ant dir="components/visbio" target="dist-nojre"/>
731  </target>
732
733  <target name="test-visbio"
734    description="compile and run tests for VisBio">
735    <ant dir="components/visbio" target="visbio.test"/>
736  </target>
737
738  <!-- SLIM Plotter -->
739
740  <target name="compile-slim"
741    depends="compile-common,
742      compile-formats,
743      compile-visbio"
744    description="compile classes for SLIM Plotter">
745    <ant dir="components/slim-plotter" target="slim.compile"/>
746  </target>
747
748  <target name="jar-slim"
749    depends="jar-common,
750      jar-formats,
751      jar-visbio"
752    description="generate JAR file for SLIM Plotter">
753    <ant dir="components/slim-plotter" target="slim.jar"/>
754  </target>
755
756  <target name="osgi-slim" depends="jar-slim"
757    description="generate OSGi bundle for SLIM Plotter">
758    <ant dir="components/slim-plotter" target="slim.osgi"/>
759  </target>
760
761  <target name="findbugs-slim"
762    description="run findbugs on SLIM Plotter">
763    <ant dir="components/slim-plotter" target="slim.findbugs"/>
764  </target>
765
766  <target name="clean-slim"
767    depends="clean-common,
768      clean-formats,
769      clean-visbio"
770    description="remove build files for SLIM Plotter">
771    <ant dir="components/slim-plotter" target="slim.clean"/>
772  </target>
773
774  <target name="dist-slim"
775    description="create distribution archive for SLIM Plotter">
776    <ant dir="components/slim-plotter" target="dist"/>
777  </target>
778
779  <target name="test-slim"
780    description="compile and run tests for SLIM Plotter">
781    <ant dir="components/slim-plotter" target="slim.test"/>
782  </target>
783
784  <!-- WiscScan Flow Cytometry -->
785
786  <target name="compile-flow"
787    depends="compile-formats"
788    description="compile classes for WiscScan Flow Cytometry">
789    <ant dir="components/flow-cytometry" target="flow.compile"/>
790  </target>
791
792  <target name="jar-flow"
793    depends="jar-formats"
794    description="generate JAR file for WiscScan Flow Cytometry">
795    <ant dir="components/flow-cytometry" target="flow.jar"/>
796  </target>
797
798  <target name="osgi-flow" depends="jar-flow"
799    description="generate OSGi bundle for WiscScan Flow Cytometry">
800    <ant dir="components/flow-cytometry" target="flow.osgi"/>
801  </target>
802
803  <target name="findbugs-flow"
804    description="run findbugs on WiscScan Flow Cytometry">
805    <ant dir="components/flow-cytometry" target="flow.findbugs"/>
806  </target>
807
808  <target name="clean-flow"
809    depends="clean-formats"
810    description="remove build files for WiscScan Flow Cytometry">
811    <ant dir="components/flow-cytometry" target="flow.clean"/>
812  </target>
813
814  <target name="dist-flow"
815    description="create distribution archive for WiscScan Flow Cytometry">
816    <ant dir="components/flow-cytometry" target="dist"/>
817  </target>
818
819  <target name="test-flow"
820    description="compile and run tests for WiscScan Flow Cytometry">
821    <ant dir="components/flow-cytometry" target="flow.test"/>
822  </target>
823
824  <!-- LOCI Checkstyle checks -->
825
826  <target name="compile-checks"
827    description="compile classes for LOCI Checkstyle checks">
828    <ant dir="components/checkstyle" target="checks.compile"/>
829  </target>
830
831  <target name="jar-checks"
832    description="generate JAR file for LOCI Checkstyle checks">
833    <ant dir="components/checkstyle" target="checks.jar"/>
834  </target>
835
836  <target name="osgi-checks" depends="jar-checks"
837    description="generate OSGi bundle for LOCI Checkstyle checks">
838    <ant dir="components/checkstyle" target="checks.osgi"/>
839  </target>
840
841  <target name="findbugs-checks"
842    description="run findbugs on LOCI Checkstyle checks">
843    <ant dir="components/checkstyle" target="checks.findbugs"/>
844  </target>
845
846  <target name="clean-checks"
847    description="remove build files for LOCI Checkstyle checks">
848    <ant dir="components/checkstyle" target="checks.clean"/>
849  </target>
850
851  <target name="test-checks"
852    description="compile and run tests for LOCI Checkstyle checks">
853    <ant dir="components/checkstyle" target="checks.test"/>
854  </target>
855
856  <!-- LOCI testing framework -->
857
858  <target name="compile-tests"
859    depends="compile-common,
860      compile-formats,
861      compile-ome-io"
862    description="compile classes for LOCI testing framework">
863    <ant dir="components/test-suite" target="tests.compile"/>
864  </target>
865
866  <target name="jar-tests"
867    depends="jar-common,
868      jar-formats,
869      jar-ome-io"
870    description="generate JAR file for LOCI testing framework">
871    <ant dir="components/test-suite" target="tests.jar"/>
872  </target>
873
874  <target name="osgi-tests" depends="jar-tests"
875    description="generate OSGi bundle for LOCI testing framework">
876    <ant dir="components/test-suite" target="tests.osgi"/>
877  </target>
878
879  <target name="findbugs-tests"
880    description="run findbugs on LOCI testing framework">
881    <ant dir="components/test-suite" target="tests.findbugs"/>
882  </target>
883
884  <target name="clean-tests"
885    depends="clean-common,
886      clean-formats,
887      clean-ome-io"
888    description="remove build files for LOCI testing framework">
889    <ant dir="components/test-suite" target="tests.clean"/>
890  </target>
891
892  <target name="test-tests"
893    description="compile and run tests for LOCI testing framework">
894    <ant dir="components/test-suite" target="tests.test"/>
895  </target>
896
897  <!-- JVMLink -->
898
899  <target name="compile-jvmlink"
900    depends="compile-common"
901    description="compile classes for JVMLink">
902    <ant dir="components/legacy/jvmlink" target="jvmlink.compile"/>
903  </target>
904
905  <target name="jar-jvmlink"
906    depends="jar-common"
907    description="generate JAR file for JVMLink">
908    <ant dir="components/legacy/jvmlink" target="jvmlink.jar"/>
909  </target>
910
911  <target name="osgi-jvmlink" depends="jar-jvmlink"
912    description="generate OSGi bundle for JVMLink">
913    <ant dir="components/legacy/jvmlink" target="jvmlink.osgi"/>
914  </target>
915
916  <target name="findbugs-jvmlink"
917    description="run findbugs on JVMLink">
918    <ant dir="components/legacy/jvmlink" target="jvmlink.findbugs"/>
919  </target>
920
921  <target name="clean-jvmlink"
922    depends="clean-common"
923    description="remove build files for JVMLink">
924    <ant dir="components/legacy/jvmlink" target="jvmlink.clean"/>
925  </target>
926
927  <target name="test-jvmlink"
928    description="compile and run tests for JVMLink">
929    <ant dir="components/legacy/jvmlink" target="jvmlink.test"/>
930  </target>
931
932  <!-- Multi LUT app -->
933
934  <target name="compile-multi-lut"
935    description="compile classes for Multi LUT app">
936    <ant dir="components/legacy/multi-lut" target="multi-lut.compile"/>
937  </target>
938
939  <target name="jar-multi-lut"
940    description="generate JAR file for Multi LUT app">
941    <ant dir="components/legacy/multi-lut" target="multi-lut.jar"/>
942  </target>
943
944  <target name="osgi-multi-lut" depends="jar-multi-lut"
945    description="generate OSGi bundle for Multi LUT app">
946    <ant dir="components/legacy/multi-lut" target="multi-lut.osgi"/>
947  </target>
948
949  <target name="findbugs-multi-lut"
950    description="run findbugs on Multi LUT app">
951    <ant dir="components/legacy/multi-lut" target="multi-lut.findbugs"/>
952  </target>
953
954  <target name="clean-multi-lut"
955    description="remove build files for Multi LUT app">
956    <ant dir="components/legacy/multi-lut" target="multi-lut.clean"/>
957  </target>
958
959  <target name="test-multi-lut"
960    description="compile and run tests for Multi LUT app">
961    <ant dir="components/legacy/multi-lut" target="multi-lut.test"/>
962  </target>
963
964  <!-- OME Notes -->
965
966  <target name="compile-ome-notes"
967    depends="compile-common,
968      compile-formats"
969    description="compile classes for OME Notes">
970    <ant dir="components/legacy/ome-notes" target="ome-notes.compile"/>
971  </target>
972
973  <target name="jar-ome-notes"
974    depends="jar-common,
975      jar-formats"
976    description="generate JAR file for OME Notes">
977    <ant dir="components/legacy/ome-notes" target="ome-notes.jar"/>
978  </target>
979
980  <target name="osgi-ome-notes" depends="jar-ome-notes"
981    description="generate OSGi bundle for OME Notes">
982    <ant dir="components/legacy/ome-notes" target="ome-notes.osgi"/>
983  </target>
984
985  <target name="findbugs-ome-notes"
986    description="run findbugs for OME Notes">
987    <ant dir="components/legacy/ome-notes" target="ome-notes.findbugs"/>
988  </target>
989
990  <target name="clean-ome-notes"
991    depends="clean-common,
992      clean-formats"
993    description="remove build files for OME Notes">
994    <ant dir="components/legacy/ome-notes" target="ome-notes.clean"/>
995  </target>
996
997  <target name="test-ome-notes"
998    description="compile and run tests for OME Notes">
999    <ant dir="components/legacy/ome-notes" target="ome-notes.test"/>
1000  </target>
1001
1002  <!-- OME Metadata Editor -->
1003
1004  <target name="compile-ome-editor"
1005    depends="compile-common,
1006      compile-formats,
1007      compile-ome-xml"
1008    description="compile classes for OME Metadata Editor">
1009    <ant dir="components/legacy/ome-editor" target="ome-editor.compile"/>
1010  </target>
1011
1012  <target name="jar-ome-editor"
1013    depends="jar-common,
1014      jar-formats,
1015      jar-ome-xml"
1016    description="generate JAR file for OME Metadata Editor">
1017    <ant dir="components/legacy/ome-editor" target="ome-editor.jar"/>
1018  </target>
1019
1020  <target name="osgi-ome-editor" depends="jar-ome-editor"
1021    description="generate OSGi bundle for OME Metadata Editor">
1022    <ant dir="components/legacy/ome-editor" target="ome-editor.osgi"/>
1023  </target>
1024
1025  <target name="findbugs-ome-editor"
1026    description="run findbugs on OME Metadata Editor">
1027    <ant dir="components/legacy/ome-editor" target="ome-editor.findbugs"/>
1028  </target>
1029
1030  <target name="clean-ome-editor"
1031    depends="clean-common,
1032      clean-formats,
1033      clean-ome-xml"
1034    description="remove build files for OME Metadata Editor">
1035    <ant dir="components/legacy/ome-editor" target="ome-editor.clean"/>
1036  </target>
1037
1038  <target name="test-ome-editor"
1039    description="compile and run tests for OME Metadata Editor">
1040    <ant dir="components/legacy/ome-editor" target="ome-editor.test"/>
1041  </target>
1042
1043  <!-- Tool collections -->
1044
1045  <target name="tools"
1046    depends="copy-jars,
1047      jar-common,
1048      jar-flow,
1049      jar-formats,
1050      jar-jai,
1051      jar-loci-plugins,
1052      jar-mdbtools,
1053      jar-ome-xml,
1054      jar-poi-loci"
1055    description="create JAR file encompassing several LOCI tools">
1056    <echo>----------=========== loci_tools ===========----------</echo>
1057    <for list="${loci-tools.libraries}" param="jar" delimiter=" " trim="true">
1058      <sequential>
1059        <unjar src="${artifact.dir}/@{jar}" dest="${loci-tools.dir}">
1060          <patternset>
1061            <exclude name="META-INF/**"/>
1062          </patternset>
1063        </unjar>
1064      </sequential>
1065    </for>
1066    <jar jarfile="${loci-tools.jar}" basedir="${loci-tools.dir}">
1067      <manifest>
1068        <attribute name="Main-Class" value="${loci-tools.main}"/>
1069      </manifest>
1070    </jar>
1071    <delete dir="${loci-tools.dir}"/>
1072  </target>
1073
1074  <target name="tools-ome"
1075    depends="jar-ome-io,
1076      jar-ome-plugins"
1077    description="create JAR file encompassing several OME tools">
1078    <echo>----------=========== ome_tools ===========----------</echo>
1079    <for list="${ome-tools.libraries}" param="jar" delimiter=" " trim="true">
1080      <sequential>
1081        <unjar src="${artifact.dir}/@{jar}" dest="${ome-tools.dir}">
1082          <patternset>
1083            <exclude name="META-INF/**"/>
1084          </patternset>
1085        </unjar>
1086      </sequential>
1087    </for>
1088    <jar jarfile="${ome-tools.jar}" basedir="${ome-tools.dir}">
1089      <manifest>
1090        <attribute name="Main-Class" value="${ome-tools.main}"/>
1091      </manifest>
1092    </jar>
1093    <delete dir="${ome-tools.dir}"/>
1094  </target>
1095
1096  <!-- Internal targets -->
1097
1098  <target name="init"/>
1099
1100</project>
Note: See TracBrowser for help on using the repository browser.