source: trunk/build.properties @ 3860

Revision 3860, 7.1 KB checked in by curtis, 12 years ago (diff)

Move list of libraries into external configuration file.

Line 
1#
2# build.properties
3#
4
5# Properties file for use with build.xml.
6
7### Globals ###
8
9src.dir     = .
10build.dir   = build
11dest.dir    = ${build.dir}/src
12classes.dir = ${build.dir}/classes
13jar.dir     = ${build.dir}/jar
14docs.dir    = ${build.dir}/docs
15dist.dir    = ${build.dir}/dist
16
17# external libraries to include in compile-time classpath
18ext.jars = jar/AppleJavaExtensions.jar:\
19           jar/checkstyle-all-4.2.jar:\
20           jar/forms-1.0.4.jar:\
21           jar/ij.jar:\
22           jar/junit.jar:\
23           jar/lma.jar:\
24           jar/looks-1.2.2.jar:\
25           jar/ome-java.jar:\
26           jar/omero-common.jar:\
27           jar/omero-client.jar:\
28           jar/spring.jar:\
29           jar/jbossall-client.jar:\
30           jar/poi-loci.jar:\
31           jar/testng-5.7-jdk14.jar:\
32           jar/velocity-dep-1.5.jar:\
33           jar/visad-lite.jar
34
35# files to avoid copying into the build source tree
36ignore.source = **/*.class \
37                loci/jvmlink/cpp/** \
38                loci/visbio/samples/**
39
40# copyright strings to use when generating javadocs
41copyright.begin = <i>Copyright &#169;
42copyright.end   = Laboratory for Optical and Computational Instrumentation</i>
43
44# OME Java: helper libraries for communication with OME database
45libs.omejava = commons-httpclient-2.0-rc2.jar \
46               commons-logging.jar \
47               xmlrpc-1.2-b1.jar
48
49# OMERO: helper libraries for communication with OMERO database
50libs.omero = jbossall-client.jar \
51             omero-client.jar \
52             omero-common.jar \
53             spring.jar
54
55# NetCDF: helper libraries for HDF5 support
56libs.hdf5 = bufr-1.1.00.jar \
57            grib-5.1.03.jar \
58            netcdf-4.0.jar \
59            slf4j-jdk14.jar
60
61# Bio-Formats: helper libraries for various file formats and codecs
62libs.bioformats = ${libs.hdf5} \
63                  clibwrapper_jiio.jar \
64                  jai_imageio.jar \
65                  mdbtools-java.jar \
66                  poi-loci.jar \
67                  QTJava.zip
68
69### LOCI Tools bundle ###
70
71tools.jar         = loci_tools.jar
72tools.main        = loci.ome.notes.Notes
73tools.dir         = ${build.dir}/tools
74tools.libraries   = bio-formats.jar ${libs.bioformats} \
75                    ome-java.jar ${libs.omejava} \
76                    ${libs.omero} \
77                    forms-1.0.4.jar \
78                    loci_plugins.jar \
79                    ome-notes.jar
80
81### Bio-Formats ###
82
83formats.jar       = bio-formats.jar
84formats.main      = loci.formats.gui.ImageViewer
85formats.source    = loci/formats/**/*.java
86formats.exclude   = loci/formats/auto/**
87formats.classpath = ${libs.bioformats} \
88                    ${libs.omero} \
89                    ij.jar \
90                    ome-java.jar
91formats.files     = loci/formats/**
92formats.resources = loci/formats/*.txt
93
94### VisBio ###
95
96visbio.jar        = visbio.jar
97visbio.main       = loci.visbio.VisBio
98visbio.source     = loci/visbio/**/*.java \
99                    loci/ome/util/**/*.java
100visbio.classpath  = bio-formats.jar ${libs.bioformats} \
101                    ome-java.jar ${libs.omejava} \
102                    ${libs.omero} \
103                    forms-1.0.4.jar \
104                    ij.jar \
105                    looks-1.2.2.jar \
106                    visad-lite.jar
107visbio.files      = loci/visbio/** \
108                    loci/ome/util/**/*
109visbio.resources  = loci/visbio/classes.txt \
110                    loci/visbio/*.png \
111                    loci/visbio/*.gif \
112                    loci/visbio/help/*.html \
113                    loci/visbio/help/**/*.png \
114                    loci/visbio/overlays/*.png \
115                    loci/visbio/view/*.png
116
117visbio.dist-files   = bsd-forms.txt \
118                      bsd-looks.txt \
119                      gpl-visbio.txt \
120                      whatsnew.txt \
121                      *.cpp \
122                      *.m
123
124visbio.docs-dir        = ${docs.dir}/visbio
125visbio.win32-dir       = ${dist.dir}/visbio/win32
126visbio.win32-nojre-dir = ${dist.dir}/visbio/win32-nojre
127visbio.macosx-dir      = ${dist.dir}/visbio/macosx
128visbio.linux-dir       = ${dist.dir}/visbio/linux
129visbio.nojre-dir       = ${dist.dir}/visbio/nojre
130
131visbio.text-files = *.txt \
132                    *.cpp \
133                    *.m \
134                    plugins/*.txt
135
136visbio.macosx-exec = visbio \
137                     VisBio.app/Contents/MacOS/JavaApplicationStub
138visbio.linux-exec  = visbio
139
140### LOCI Plugins for ImageJ ###
141
142plugins.jar       = loci_plugins.jar
143plugins.main      = loci.plugins.About
144plugins.source    = loci/plugins/**/*.java \
145                    loci/ome/util/**/*.java
146plugins.files     = loci/plugins/** \
147                    loci/ome/util/**
148plugins.resources = loci/plugins/config/*.txt
149
150### OME Notes ###
151
152notes.jar       = ome-notes.jar
153notes.main      = loci.ome.notes.Notes
154notes.source    = loci/ome/notes/**/*.java
155notes.classpath = bio-formats.jar ${libs.bioformats} \
156                  ome-java.jar ${libs.omejava} \
157                  ${libs.omero} \
158                  forms-1.0.4.jar \
159                  ij.jar
160notes.files     = loci/ome/notes/**
161notes.resources = loci/ome/notes/templates/* \
162                  loci/ome/notes/editor/*
163
164### JVMLink ###
165
166jvmlink.jar       = jvmlink.jar
167jvmlink.main      = loci.jvmlink.JVMLinkServer
168jvmlink.source    = loci/jvmlink/**/*.java
169jvmlink.files     = loci/formats/DataTools*.class \
170                    loci/formats/ReflectException*.class \
171                    loci/formats/ReflectedUniverse*.class \
172                    loci/jvmlink/*.class
173
174### Slim Plotter ###
175
176slim.jar       = SlimPlotter.jar
177slim.main      = loci.apps.slim.SlimPlotter
178slim.source    = loci/apps/slim/**/*.java \
179                 loci/visbio/util/**/*.java
180slim.classpath = bio-formats.jar \
181                 lma.jar \
182                 visad-lite.jar
183slim.files     = loci/apps/slim/* \
184                 loci/visbio/util/*
185
186slim.dist-dir = ${dist.dir}/slim/SlimPlotter
187
188slim.exec = slim \
189            SlimPlotter.app/Contents/MacOS/JavaApplicationStub
190
191### OME Metadata Editor ###
192
193editor.jar       = ome-editor.jar
194editor.main      = loci.ome.editor.MetadataEditor
195editor.source    = loci/ome/editor/**/*.java \
196                   loci/ome/viewer/**/*.java
197editor.classpath = bio-formats.jar ${libs.bioformats} \
198                   ome-java.jar ${libs.omejava} \
199                   forms-1.0.4.jar \
200                   ij.jar
201editor.files     = loci/ome/editor/** \
202                   loci/ome/viewer/**
203editor.resources = loci/ome/editor/Template.xml \
204                   loci/ome/editor/Icons/* \
205                   loci/ome/editor/TypeDefs/**
206
207### Testing framework ###
208
209tests.source   = loci/tests/**/*.java
210testng.classes = loci/tests/testng/FormatReaderTestFactory.class
211testng.memory  = 1024m
212
213### LOCI Checkstyle checks ###
214
215checks.jar       = loci-checks.jar
216checks.main      = loci.checks.About
217checks.source    = loci/checks/**/*.java
218checks.classpath = checkstyle-all-4.2.jar
219checks.files     = loci/checks/**
220checks.resources = loci/checks/*.properties
221
222### ImageJ ###
223
224ij-jws.jar       = ij-jws.jar
225ij-jws.main      = loci.plugins.IJLauncher
226ij-jws.dir       = ${build.dir}/ij-jws
227ij-jws.libraries = ij.jar \
228                   loci_tools.jar
Note: See TracBrowser for help on using the repository browser.