source: trunk/build.properties @ 3379

Revision 3379, 5.9 KB checked in by curtis, 13 years ago (diff)

Move native code to libs folder; update build script.

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/lma.jar:\
23           jar/looks-1.2.2.jar:\
24           jar/ome-java.jar:\
25           jar/poi-loci.jar:\
26           jar/visad-lite.jar
27
28# files to avoid copying into the build source tree
29ignore.source = **/*.class \
30                loci/visbio/samples/**
31
32# copyright strings to use when generating javadocs
33copyright.begin = <i>Copyright &#169;
34copyright.end   = Laboratory for Optical and Computational Instrumentation</i>
35
36# OME Java: helper libraries for network communication
37libs.omejava = commons-httpclient-2.0-rc2.jar \
38               commons-logging.jar \
39               xmlrpc-1.2-b1.jar
40
41# Bio-Formats: helper libraries for various file formats and codecs
42libs.bioformats = bufr-1.1.00.jar \
43                  clibwrapper_jiio.jar \
44                  grib-5.1.03.jar \
45                  jai_imageio.jar \
46                  mdbtools-java.jar \
47                  netcdf-4.0.jar \
48                  poi-loci.jar \
49                  QTJava.zip \
50                  slf4j-jdk14.jar
51
52### LOCI Tools bundle ###
53
54tools.jar         = loci_tools.jar
55tools.main        = loci.ome.notes.Notes
56tools.dir         = ${build.dir}/tools
57tools.libraries   = bio-formats.jar \
58                    ${libs.bioformats} \
59                    ome-java.jar \
60                    ${libs.omejava} \
61                    forms-1.0.4.jar \
62                    loci_plugins.jar \
63                    ome-notes.jar
64
65### Bio-Formats ###
66
67formats.jar       = bio-formats.jar
68formats.main      = loci.formats.gui.ImageViewer
69formats.source    = loci/formats/**/*.java
70formats.exclude   = loci/formats/auto/** \
71                    loci/formats/test/**
72formats.classpath = ${libs.bioformats} \
73                    ij.jar \
74                    ome-java.jar
75formats.files     = loci/formats/**
76formats.resources = loci/formats/*.txt
77
78### VisBio ###
79
80visbio.jar        = visbio.jar
81visbio.main       = loci.visbio.VisBio
82visbio.source     = loci/visbio/**/*.java \
83                    loci/ome/util/**/*.java
84visbio.classpath  = bio-formats.jar ${libs.bioformats} \
85                    ome-java.jar ${libs.omejava} \
86                    forms-1.0.4.jar \
87                    ij.jar \
88                    looks-1.2.2.jar \
89                    visad-lite.jar
90visbio.files      = loci/visbio/** \
91                    loci/ome/util/**/*
92visbio.resources  = loci/visbio/classes.txt \
93                    loci/visbio/*.png \
94                    loci/visbio/*.gif \
95                    loci/visbio/help/*.html \
96                    loci/visbio/help/**/*.png \
97                    loci/visbio/overlays/*.png \
98                    loci/visbio/view/*.png
99
100visbio.dist-files   = bsd-forms.txt \
101                      bsd-looks.txt \
102                      gpl-visbio.txt \
103                      whatsnew.txt \
104                      *.cpp \
105                      *.m
106
107visbio.docs-dir        = ${docs.dir}/visbio
108visbio.win32-dir       = ${dist.dir}/visbio/win32
109visbio.win32-nojre-dir = ${dist.dir}/visbio/win32-nojre
110visbio.macosx-dir      = ${dist.dir}/visbio/macosx
111visbio.linux-dir       = ${dist.dir}/visbio/linux
112visbio.nojre-dir       = ${dist.dir}/visbio/nojre
113
114visbio.text-files = *.txt \
115                    *.cpp \
116                    *.m \
117                    plugins/*.txt
118
119visbio.macosx-exec = visbio \
120                     VisBio.app/Contents/MacOS/JavaApplicationStub
121visbio.linux-exec  = visbio
122
123### LOCI Plugins for ImageJ ###
124
125plugins.jar    = loci_plugins.jar
126plugins.main   = loci.plugins.About
127plugins.source = loci/plugins/**/*.java \
128                 loci/ome/util/**/*.java
129plugins.files  = loci/plugins/** \
130                 loci/ome/util/**
131
132### OME Notes ###
133
134notes.jar       = ome-notes.jar
135notes.main      = loci.ome.notes.Notes
136notes.source    = loci/ome/notes/**/*.java
137notes.classpath = bio-formats.jar ${libs.bioformats} \
138                  ome-java.jar ${libs.omejava} \
139                  forms-1.0.4.jar \
140                  ij.jar
141notes.files     = loci/ome/notes/**
142notes.resources = loci/ome/notes/templates/* \
143                  loci/ome/notes/editor/*
144
145### OME Metadata Editor ###
146
147editor.jar       = ome-editor.jar
148editor.main      = loci.ome.editor.MetadataEditor
149editor.source    = loci/ome/editor/**/*.java \
150                   loci/ome/viewer/**/*.java
151editor.classpath = bio-formats.jar ${libs.bioformats} \
152                   ome-java.jar ${libs.omejava} \
153                   forms-1.0.4.jar \
154                   ij.jar
155editor.files     = loci/ome/editor/** \
156                   loci/ome/viewer/**
157editor.resources = loci/ome/editor/Template.xml \
158                   loci/ome/editor/Icons/* \
159                   loci/ome/editor/TypeDefs/**
160
161### Slim Plotter ###
162
163slim.jar       = SlimPlotter.jar
164slim.main      = loci.apps.slim.SlimPlotter
165slim.source    = loci/apps/slim/**/*.java \
166                 loci/visbio/util/**/*.java
167slim.classpath = bio-formats.jar \
168                 lma.jar \
169                 visad-lite.jar
170slim.files     = loci/apps/slim/* \
171                 loci/visbio/util/*
172
173slim.dist-dir = ${dist.dir}/slim/SlimPlotter
174
175slim.exec = slim \
176            SlimPlotter.app/Contents/MacOS/JavaApplicationStub
177
178### LOCI Checkstyle checks ###
179
180checks.jar       = loci-checks.jar
181checks.main      = loci.checks.About
182checks.source    = loci/checks/**/*.java
183checks.classpath = checkstyle-all-4.2.jar
184checks.files     = loci/checks/**
185checks.resources = loci/checks/*.properties
186
187### ImageJ ###
188
189ij-jws.jar       = ij-jws.jar
190ij-jws.main      = loci.plugins.IJLauncher
191ij-jws.dir       = ${build.dir}/ij-jws
192ij-jws.libraries = ij.jar \
193                   loci_tools.jar
Note: See TracBrowser for help on using the repository browser.