source: trunk/build.properties @ 4048

Revision 4048, 7.0 KB checked in by curtis, 12 years ago (diff)

Licensing and packaging changes.

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