source: branches/ant-install-branch/gsdl3/build.xml@ 9733

Last change on this file since 9733 was 9733, checked in by kjdon, 19 years ago

copy the saved setclasspath.bat into tomcat/bin so that we use the correct classpath

  • Property svn:keywords set to Author Date Id Revision
File size: 42.9 KB
Line 
1<?xml version="1.0"?>
2
3<!-- ======================================================================
4 March 2005
5
6 GSDL3 build and install script
7
8 kjdon
9 ====================================================================== -->
10<project name="gsdl3" default="usage" basedir=".">
11
12 <!-- ============ self defined tasks =================== -->
13
14 <taskdef name="mysetproxy" classname="org.greenstone.anttasks.MySetProxy" classpath="${basedir}/lib/java/anttasks.jar"/>
15 <taskdef name="getuserandpassword" classname="org.greenstone.anttasks.MyGetUserAndPassword" classpath="${basedir}/lib/java/anttasks.jar"/>
16
17
18
19<!-- ===================== Property Definitions =========================== -->
20
21<!--
22
23 Each of the following properties are used in the build script.
24 Values for these properties are set by the first place they are
25 defined, from the following list:
26
27 * Definitions on the "ant" command line (ant -Dfoo=bar compile).
28
29 * Definitions from a "build.properties" file in the top level
30 source directory of this application.
31
32 * Definitions from a "build.properties" file in the user's
33 home directory.
34
35 * Default definitions in this build.xml file.
36
37 You will note below that property values can be composed based on the
38 contents of previously defined properties. This is a powerful technique
39 that helps you minimize the number of changes required when your development
40 environment is modified. Note that property composition is allowed within
41 "build.properties" files as well as in the "build.xml" script.
42
43-->
44
45 <property file="build.properties"/>
46 <property file="${user.home}/build.properties"/>
47
48 <!-- get properties from the environment -->
49 <property environment="env"/>
50 <property name="src.home" value="${basedir}/src/java"/>
51 <property name="build.home" value="${basedir}/build"/>
52 <property name="packages.home" value="${basedir}/packages"/>
53 <property name="javalib" value="${basedir}/lib/java"/>
54 <property name="web.home" value="${basedir}/web"/>
55 <property name="web.lib" value="${web.home}/lib"/>
56 <property name="web.classes" value="${web.home}/WEB-INF/classes"/>
57
58 <property name="javadocs" value="${basedir}/docs/javadoc"/>
59
60 <property name="app.name" value="gsdl3"/>
61 <property name="app.path" value="/${app.name}"/>
62 <property name="app.version" value="3.00alpha"/>
63 <property name="catalina.home" value="${basedir}/comms/jakarta/tomcat"/>
64
65 <property name="os.linux" value="Linux"/> <!-- mac??-->
66 <property name="os.windows" value="Windows 95,Windows 98,Windows 2000,Windows XP, Windows NT,Windows ME"/> <!-- check this!!!-->
67
68 <condition property="current.os.islinux">
69 <os family="unix"/>
70 </condition>
71 <condition property="current.os.iswindows">
72 <os family="windows"/>
73 </condition>
74 <!-- ============= Base dirs for each package and component ============ -->
75 <property name="applet.home" value="${src.home}/org/greenstone/applet"/>
76 <property name="gsdl3.home" value="${src.home}/org/greenstone/gsdl3"/>
77 <property name="anttasks.home" value="${src.home}/org/greenstone/anttasks"/>
78 <property name="gs2build.home" value="${basedir}/gs2build"/>
79 <property name="gli.home" value="${basedir}/gli"/>
80 <property name="vishnu.home" value="${packages.home}/vishnu"/>
81 <property name="mg.home" value="${packages.home}/mg"/>
82 <property name="mgpp.home" value="${packages.home}/mgpp"/>
83 <property name="mysql.home" value="${packages.home}/mysql"/>
84 <property name="gsdl-as.home" value="${packages.home}/gsdl-as"/>
85
86<!-- ==================== Compilation Control Options ==================== -->
87
88<!--
89
90 These properties control option settings on the Javac compiler when it
91 is invoked using the <javac> task.
92
93 compile.debug Should compilation include the debug option?
94
95 compile.deprecation Should compilation include the deprecation option?
96
97 compile.optimize Should compilation include the optimize option?
98
99-->
100
101 <property name="compile.debug" value="true"/>
102 <property name="compile.deprecation" value="true"/>
103 <property name="compile.optimize" value="true"/>
104
105<!--
106
107 Rather than relying on the CLASSPATH environment variable, Ant includes
108 features that makes it easy to dynamically construct the classpath you
109 need for each compilation. The example below constructs the compile
110 classpath to include the servlet.jar file, as well as the other components
111 that Tomcat makes available to web applications automatically, plus anything
112 that you explicitly added.
113
114-->
115
116 <path id="compile.classpath">
117 <!-- Include all jar files in our lib directory -->
118 <pathelement location="${javalib}"/>
119 <fileset dir="${javalib}">
120 <include name="*.jar"/>
121 </fileset>
122 <!-- Include the resources directory -->
123 <pathelement location="${basedir}/resources/java"/>
124 <pathelement location="${basedir}/resources/dtd"/>
125
126 <!-- Include the axis jar files -->
127 <fileset dir="${basedir}/comms/soap/axis/lib">
128 <include name="*.jar"/>
129 </fileset>
130
131 <!-- include the jar files from the packages -->
132 <!-- mg and mgpp get installed into lib/java but they may not be there yet -->
133 <pathelement location="${javalib}/mg.jar"/>
134 <pathelement location="${javalib}/mgpp.jar"/>
135 <pathelement location="${vishnu.home}/build/vishnu.jar"/>
136
137 <!-- Include all elements that Tomcat exposes to applications -->
138 <pathelement location="${catalina.home}/common/classes"/>
139 <fileset dir="${catalina.home}/common/endorsed">
140 <include name="*.jar"/>
141 </fileset>
142 <fileset dir="${catalina.home}/common/lib">
143 <include name="*.jar"/>
144 </fileset>
145 <pathelement location="${catalina.home}/shared/classes"/>
146 <fileset dir="${catalina.home}/shared/lib">
147 <include name="*.jar"/>
148 </fileset>
149 </path>
150
151 <path id="running.path">
152 <pathelement location="${mysql.home}/bin"/>
153 <pathelement location="${basedir}/bin/script"/>
154 <pathelement location="${basedir}/bin"/>
155 <pathelement location="${basedir}/lib"/>
156 <pathelement path="${env.PATH}"/>
157 <pathelement path="${env.Path}"/>
158 </path>
159
160 <path id="ld.library.path">
161 <pathelement path="${env.LD_LIBRARY_PATH}"/>
162 <pathelement location="${basedir}/lib"/>
163 <pathelement location="${mysql.home}/lib/mysql"/>
164 </path>
165
166<!-- ==================== Primary and Global Targets ============================= -->
167
168 <!-- add comments about using xxx-core, xxx-packages if only want certain parts?? -->
169
170 <target name="install" depends="accept-properties,init,prepare,cvsupdate,configure,clean,compile"
171 description="Install Greenstone 3. Use this when you first checkout the code. Also running this target later on will reinstall Greenstone. Most things will be reset back to their defaults, except for code changes."/>
172
173 <target name="prepare" depends="init,prepare-core,prepare-packages,prepare-gs2building,prepare-tomcat,prepare-axis,prepare-mysql,prepare-collections,prepare-extra"/>
174
175 <target name="cvsupdate" depends="init,cvsupdate-packages,cvsupdate-core,cvsupdate-gs2building"
176 description="Do a cvs update for all sources. Doesn't reompile the code."/>
177
178 <target name="configure" depends="init,configure-tomcat,configure-files,configure-packages,configure-core,configure-gs2building"
179 description="Configure the installation. Includes setting up config files and configuring the C/C++ packages. This is called from install and update. Should be re-run if you change the build.properties file."/>
180
181 <target name="clean" depends="init,clean-packages,clean-core,clean-gs2building"
182 description="Remove all old compiled code. Includes core, packages and gs2building if necessary"/>
183
184 <target name="compile" depends="init,compile-extra,compile-packages,compile-core,compile-gs2building"
185 description="Compile all the source code, includes core, packages and gs2building if necessary. Copy jar files and executables to their correct places."/>
186
187 <target name="update" depends="init,update-packages,update-core,update-gs2building"
188 description="Update (thru CVS) all the source (including core, packages and gs2building) and recompile. Similar to install but doesn't reinstall components such as Tomcat and axis."/>
189
190 <target name="startup" depends="init,startup-mysql,startup-tomcat"
191 description="Startup the (local) Greenstone servers (tomcat,mysql...)" />
192
193 <target name="shutdown" depends="init,shutdown-tomcat,shutdown-mysql"
194 description="Shutdown the (local) Greenstone servers."/>
195
196 <target name="restart" description="Shutdown and restart the Greenstone servers" depends="init,shutdown,startup"/>
197
198
199<!-- =========== Help targets =================================== -->
200
201 <target name="usage" description="Print a help message">
202 <echo message=" Execute 'ant -projecthelp' for a list of targets."/>
203 <echo message=" Execute 'ant -help' for Ant help."/>
204 <echo>To install Greenstone, run 'ant [options] install'.
205There are properties defined in build.properties. The install process will ask you if these properties are set correctly. To avoid this prompt, use the '-Dproperties.accepted=yes' option.
206To log the output, use the '-logfile build.log' option.
207 </echo>
208 </target>
209
210 <target name="help" depends="usage" description="Print a help message"/>
211
212 <target name="debug" depends="init" description="Display all the currently used properties">
213 <echoproperties/>
214 </target>
215
216<!-- ====== initialization and setup targets ================== -->
217
218 <target name="accept-properties" unless="properties.accepted">
219 <input addproperty="properties.ok" validargs="y,n">The following properties (among others) are being used from a build.properties file found in this directory:
220tomcat.server=${tomcat.server}
221tomcat.port=${tomcat.port}
222tomcat.installed.path=${tomcat.installed.path} (this is the location of Tomcat's base dir if it is already installed)
223gsdl2.installed.path=${gsdl2.installed.path} (this is the location of Greenstone 2 if you have it)
224proxy.host=${proxy.host}
225proxy.port=${proxy.port}
226mysql.installed.path=${mysql.installed.path} (this is the location of mysql if it is already installed)
227mysql.admin.user=${mysql.admin.user}
228mysql.port=${mysql.port}
229If these are not acceptable, please change them and rerun this target. Continue [y/n]?" />
230 </input>
231 <condition property="do.abort">
232 <equals arg1="n" arg2="${properties.ok}"/>
233 </condition>
234 <fail if="do.abort">Build aborted by user. Please change your properties settings and re-run the target</fail>
235 </target>
236
237 <target name="check-cvsroot">
238 <condition property="cvsroot.notset">
239 <or>
240 <not>
241 <isset property="env.CVSROOT"/>
242 </not>
243 <equals arg1="" arg2="${env.CVSROOT}"/>
244 </or>
245 </condition>
246 <fail if="cvsroot.notset" message="You need to set the CVSROOT variable"/>
247 </target>
248 <!-- this sets up some initial properties -->
249 <target name="init">
250
251 <condition property="java.too.old">
252 <or>
253 <equals arg1="1.1" arg2="${ant.java.version}"/>
254 <equals arg1="1.2" arg2="${ant.java.version}"/>
255 <equals arg1="1.3" arg2="${ant.java.version}"/>
256 </or>
257 </condition>
258 <fail if="java.too.old" message="You need Java 1.4 or greater to run Greenstone 3"/>
259
260 <available file="${basedir}/packages/mgpp/text" property="mgpp.present"/>
261 <available file="${basedir}/packages/mysql/bin" property="mysql.present"/>
262 <available file="${basedir}/gli" property="gli.present"/>
263 <available file="${basedir}/gs2build" property="gs2build.present"/>
264 <available file="${basedir}/comms/soap/axis" property="axis.present"/>
265 <available file="${basedir}/comms/jakarta/tomcat/webapps/axis" property="axis.installed"/>
266 <condition property="gsdl2.islocal">
267 <or>
268 <not>
269 <isset property="gsdl2.installed.path"/>
270 </not>
271 <equals arg1="" arg2="${gsdl2.installed.path}"/>
272 </or>
273 </condition>
274 <condition property="mysql.islocal">
275 <or>
276 <not>
277 <isset property="mysql.installed.path"/>
278 </not>
279 <equals arg1="" arg2="${mysql.installed.path}"/>
280 </or>
281 </condition>
282 <condition property="tomcat.islocal">
283 <or>
284 <not>
285 <isset property="tomcat.installed.path"/>
286 </not>
287 <equals arg1="" arg2="${tomcat.installed.path}"/>
288 </or>
289 </condition>
290
291 <echo>tomcat.port:${tomcat.port}, gli.present:${gli.present} gsdlislocal=${gsdl2.islocal} gs2build.present=${gs2build.present} gsdl2.installed.path = ${gsdl2.installed.path}</echo>
292 <condition property="proxy.present">
293 <not>
294 <equals arg1="" arg2="${proxy.host}"/>
295 </not>
296 </condition>
297 </target>
298
299 <target name="setup-proxy" depends="init" if="proxy.present">
300 <condition property="ask.user">
301 <or>
302 <equals arg1="" arg2="${proxy.user}"/>
303 <equals arg1="" arg2="${proxy.password}"/>
304 </or>
305 </condition>
306 <getuserandpassword message="Using proxy: ${proxy.host}:${proxy.port}" if="ask.user" username="${proxy.user}"/>
307 <mysetproxy proxyhost="${proxy.host}" proxyport="${proxy.port}" proxyuser="${proxy.user}" proxypassword="${proxy.password}"/>
308 </target>
309
310 <!-- ========== Miscellaneous Targets ================================ -->
311
312 <target name="prepare-collections">
313 <property name="collect.dir" value="${basedir}/web/sites/localsite/collect"/>
314 <!-- gs3mgdemo -->
315 <unzip src="${collect.dir}/gs3mgdemo/import.zip"
316 dest="${collect.dir}/gs3mgdemo"/>
317 <unzip src="${collect.dir}/gs3mgdemo/archives.zip"
318 dest="${collect.dir}/gs3mgdemo"/>
319 <unzip src="${collect.dir}/gs3mgdemo/index/index.zip"
320 dest="${collect.dir}/gs3mgdemo/index"/>
321 <!-- gs2mgdemo -->
322 <unzip src="${collect.dir}/gs2mgdemo/import.zip"
323 dest="${collect.dir}/gs2mgdemo"/>
324 <unzip src="${collect.dir}/gs2mgdemo/metadata.zip"
325 dest="${collect.dir}/gs2mgdemo"/>
326 <unzip src="${collect.dir}/gs2mgdemo/index/index.zip"
327 dest="${collect.dir}/gs2mgdemo/index"/>
328 <!-- gs2mgppdemo -->
329 <unzip src="${collect.dir}/gs2mgppdemo/import.zip"
330 dest="${collect.dir}/gs2mgppdemo"/>
331 <unzip src="${collect.dir}/gs2mgppdemo/metadata.zip"
332 dest="${collect.dir}/gs2mgppdemo"/>
333 <unzip src="${collect.dir}/gs2mgppdemo/index/index.zip"
334 dest="${collect.dir}/gs2mgppdemo/index"/>
335 <!-- gberg -->
336 <unzip src="${collect.dir}/gberg/index/index.zip"
337 dest="${collect.dir}/gberg/index"/>
338 </target>
339
340 <target name="prepare-extra" depends="init">
341 <!-- copy some jar files to web/lib for the phind applet -->
342 <copy file="${catalina.home}/common/endorsed/xml-apis.jar"
343 tofile="${basedir}/web/lib/xml-apis.jar"/>
344 <copy file="${catalina.home}/common/endorsed/xercesImpl.jar"
345 tofile="${basedir}/web/lib/xercesImpl.jar"/>
346 </target>
347 <target name="configure-files" depends="init">
348 <filter token="port" value="${tomcat.port}"/>
349 <filter token="hostname" value="${tomcat.server}"/>
350 <filter token="gsdl3home" value="${basedir}"/>
351 <copy file="${basedir}/web/WEB-INF/web.xml.in" tofile="${basedir}/web/WEB-INF/web.xml" filtering="true"/>
352 <copy file="${basedir}/web/sites/localsite/siteConfig.xml.in" tofile="${basedir}/web/sites/localsite/siteConfig.xml" filtering="true"/>
353 <copy file="${basedir}/web/sites/gateway/siteConfig.xml.in" tofile="${basedir}/web/sites/gateway/siteConfig.xml" filtering="true"/>
354 <copy file="${basedir}/resources/java/SOAPServer.cfg.in" tofile="${basedir}/resources/java/SOAPServer.cfg" filtering="true"/>
355
356 </target>
357
358 <target name="compile-extra" depends="init">
359 <javac srcdir="${web.home}/WEB-INF/classes"
360 destdir="${web.home}/WEB-INF/classes"
361 debug="${compile.debug}"
362 deprecation="${compile.deprecation}"
363 optimize="${compile.optimize}">
364 <classpath>
365 <path refid="compile.classpath"/>
366 </classpath>
367 </javac>
368 </target>
369
370
371
372
373<!-- ======================= Tomcat Targets ========================== -->
374
375 <!-- this target sets up tomcat for the first time, or resets it any subsequent times -->
376 <target name="prepare-tomcat" depends="init,setup-proxy" if="tomcat.islocal">
377 <get src="http://www.greenstone.org/gs3files/jakarta-tomcat-5.5.7.zip"
378 dest="${basedir}/comms/jakarta/jakarta-tomcat-5.5.7.zip"
379 usetimestamp="true"/>
380 <delete dir="${basedir}/comms/jakarta/tomcat.bak"/>
381 <move todir="${basedir}/comms/jakarta/tomcat.bak" failonerror="false">
382 <fileset dir="${basedir}/comms/jakarta/tomcat"/>
383 </move>
384 <unzip src="${basedir}/comms/jakarta/jakarta-tomcat-5.5.7.zip"
385 dest="${basedir}/comms/jakarta"/>
386 <condition property="need.tomcat.compat">
387 <equals arg1="1.4" arg2="${ant.java.version}"/>
388 </condition>
389 <antcall target="prepare-tomcat-compat"/>
390 <move todir="${basedir}/comms/jakarta/tomcat">
391 <fileset dir="${basedir}/comms/jakarta/jakarta-tomcat-5.5.7"/>
392 </move>
393 <!-- make sure we have execute permission for the .sh files -->
394 <chmod dir="${basedir}/comms/jakarta/tomcat/bin" perm="ugo+rx"
395 includes="*.sh"/>
396 <copy file="${basedir}/comms/jakarta/setclasspath.bat"
397 tofile="${basedir}/comms/jakarta/tomcat/bin/setclasspath.bat"
398 overwrite="true"/>
399 </target>
400
401
402 <target name="prepare-tomcat-compat" if="need.tomcat.compat">
403 <get src="http://www.greenstone.org/gs3files/jakarta-tomcat-5.5.7-compat.zip"
404 dest="${basedir}/comms/jakarta/jakarta-tomcat-5.5.7-compat.zip"
405 usetimestamp="true"/>
406 <unzip src="${basedir}/comms/jakarta/jakarta-tomcat-5.5.7-compat.zip"
407 dest="${basedir}/comms/jakarta"/>
408 </target>
409
410 <target name="configure-tomcat" depends="init" if="tomcat.islocal">
411 <!-- re-setup the server.xml file -->
412 <copy file="${basedir}/comms/jakarta/server.xml.in" tofile="${basedir}/comms/jakarta/tomcat/conf/server.xml" overwrite="true">
413 <filterset>
414 <filter token="port" value="${tomcat.port}"/>
415 <filter token="gsdl3home" value="${basedir}"/>
416 </filterset>
417 </copy>
418 </target>
419
420 <target name="reload" description="Reload web application"
421 depends="init,setup-catalina-ant-tasks">
422 <reload url="http://kanuka:7070/manager" username="admin" password="admin"
423 path="/gsdl3"/>
424 </target>
425
426
427 <target name="startup-tomcat" description="Startup only Tomcat" depends="init" if="tomcat.islocal">
428 <property name="tomcat.classpath" refid="compile.classpath"/>
429 <property name="tomcat.path" refid="running.path"/>
430 <property name="catalina.opts" value="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=$GSDL3HOME -DGSDLOS=$GSDLOS -DPATH=$PATH -Xmx400M"/>
431 <exec executable="${catalina.home}/bin/startup.sh" os="${os.linux}" dir="${catalina.home}/bin" spawn="false">
432 <env key="GSDLOS" value="linux"/>
433 <env key="GSDL3HOME" value="${basedir}"/>
434 <env key="PATH" path="${tomcat.path}"/>
435 <env key="CATALINA_OPTS" value="${catalina.opts}"/>
436 <env key="CLASSPATH" path="${tomcat.classpath}"/>
437 <env key="LD_LIBRARY_PATH" path="${env.LD_LIBRARY_PATH}:${basedir}/lib:${mysql.home}/lib/mysql"/>
438 </exec>
439 <exec executable="${catalina.home}/bin/startup.bat" os="${os.windows}" dir="${catalina.home}/bin" spawn="true">
440 <env key="GSDLOS" value="windows"/>
441 <env key="GSDL3HOME" value="${basedir}"/>
442 <env key="Path" path="${tomcat.path}"/>
443 <env key="PATH" path="${tomcat.path}"/>
444 <env key="CATALINA_OPTS" value="${catalina.opts}"/>
445 <env key="CLASSPATH" path="${tomcat.classpath}"/>
446 </exec>
447 <!-- wait for the server to startup in case other targets need it running -->
448 <waitfor maxwait="5" maxwaitunit="second">
449 <and>
450 <socket server="${tomcat.server}" port="${tomcat.port}"/>
451 <http url="http://${tomcat.server}:${tomcat.port}/gsdl3/index.html"/>
452 </and>
453 </waitfor>
454 </target>
455 <!-- windows:
456 set CATALINA_HOME=%GSDL3HOME%\comms\jakarta\tomcat
457set CATALINA_OPTS="-Djava.util.prefs.syncInterval=2000000 -DGSDL3HOME=%GSDL3HOME% -DGSDLOS=%GSDLOS% -DPATH=%PATH%"
458 call "%GSDL3HOME%\comms\jakarta\tomcat\bin\startup.bat"
459 # launch a web browser
460 start http://localhost:8080/gsdl3
461
462-->
463 <target name="shutdown-tomcat" description="Shutdown only Tomcat" depends="init" if="tomcat.islocal">
464 <exec executable="${catalina.home}/bin/shutdown.sh" os="${os.linux}" dir="${catalina.home}/bin" spawn="false"/>
465 <!-- windows:
466
467 call "%GSDL3HOME%\comms\jakarta\tomcat\bin\shutdown.bat"
468-->
469 </target>
470
471 <target name="restart-tomcat" description="Shutdown and restart only Tomcat" depends="init,shutdown-tomcat,startup-tomcat"/>
472
473 <target name="setup-catalina-ant-tasks">
474 <!-- Configure the custom Ant tasks for the Tomcat Manager application -->
475 <taskdef name="deploy" classname="org.apache.catalina.ant.DeployTask"
476 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
477 <taskdef name="list" classname="org.apache.catalina.ant.ListTask"
478 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
479 <taskdef name="reload" classname="org.apache.catalina.ant.ReloadTask"
480 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
481 <taskdef name="resources" classname="org.apache.catalina.ant.ResourcesTask"
482 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
483 <taskdef name="roles" classname="org.apache.catalina.ant.RolesTask"
484 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
485 <taskdef name="start" classname="org.apache.catalina.ant.StartTask"
486 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
487 <taskdef name="stop" classname="org.apache.catalina.ant.StopTask"
488 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
489 <taskdef name="undeploy" classname="org.apache.catalina.ant.UndeployTask"
490 classpath="${catalina.home}/server/lib/catalina-ant.jar"/>
491 </target>
492
493
494<!-- ======================= Mysql Targets =========================== -->
495
496 <!-- this is one target that we only want to run once. -->
497 <target name="prepare-mysql" depends="init,init-mysql-vars,install-mysql,startup-mysql,setup-mysql,shutdown-mysql"/>
498
499 <target name="init-mysql-vars">
500 <condition property="mysql.islocal.linux">
501 <and>
502 <isset property="mysql.islocal"/>
503 <isset property="current.os.islinux"/>
504 </and>
505 </condition>
506
507 <condition property="mysql.islocal.windows">
508 <and>
509 <isset property="mysql.islocal"/>
510 <isset property="current.os.iswindows"/>
511 </and>
512 </condition>
513 </target>
514
515 <target name="install-mysql" depends="init,init-mysql-vars,install-mysql-linux,install-mysql-windows"/>
516
517 <!-- install and set up the database -->
518 <target name="install-mysql-linux" depends="init,init-mysql-vars" if="mysql.islocal.linux" unless="mysql.present">
519 <get src="http://www.greenstone.org/gs3files/mysql-standard-4.1.11-pc-linux-gnu-i686.tar.gz"
520 dest="${packages.home}/mysql-standard-4.1.11-pc-linux-gnu-i686.tar.gz"
521 usetimestamp="true"/>
522 <untar src="${packages.home}/mysql-standard-4.1.11-pc-linux-gnu-i686.tar.gz"
523 dest="${packages.home}"
524 compression="gzip"/>
525 <move todir="${packages.home}/mysql">
526 <fileset dir="${packages.home}/mysql-standard-4.1.11-pc-linux-gnu-i686"/>
527 </move>
528 <!-- file permissions are screwed up, so make executables executable -->
529 <chmod file="${mysql.home}/scripts/mysql_install_db" perm="a+x"/>
530 <chmod perm="a+x">
531 <fileset dir="${mysql.home}/bin" />
532 </chmod>
533 <mkdir dir="${mysql.home}/var/"/>
534 <mkdir dir="${mysql.home}/var/log/"/>
535 <chmod file="${mysql.home}/var/" perm="777"/>
536 <chmod file="${mysql.home}/var/log/" perm="777"/>
537
538 <exec executable="${mysql.home}/scripts/mysql_install_db" dir="${mysql.home}">
539 <arg value="--datadir=./data"/>
540 <arg value="--basedir=."/>
541 <arg value="--user=root"/>
542 <arg value="--force"/>
543 </exec>
544 </target>
545
546 <target name="install-mysql-windows" depends="init,init-mysql-vars" if="mysql.islocal.windows" unless="mysql.present">
547 <get src="http://www.greenstone.org/gs3files/mysql-noinstall-4.1.11-win32.zip"
548 dest="${packages.home}/mysql-noinstall-4.1.11-win32.zip"
549 usetimestamp="true"/>
550 <!-- can we run the installer?? -->
551 <unzip src="${packages.home}/mysql-noinstall-4.1.11-win32.zip"
552 dest="${packages.home}"/>
553 <move todir="${packages.home}/mysql">
554 <fileset dir="${packages.home}/mysql-noinstall-4.1.11-win32"/>
555 </move>
556 </target>
557
558 <!-- is this just linux or both??. also we probably need to do this for external mysql -->
559 <!-- had unless mysql.present -->
560 <target name="setup-mysql" depends="init,init-mysql-vars" if="mysql.islocal">
561 <exec executable="${mysql.home}/bin/mysql" dir="${mysql.home}">
562 <arg value="--user=root"/>
563 <arg value="--execute=GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@localhost;"/>
564 </exec>
565 <exec executable="${mysql.home}/bin/mysql" dir="${mysql.home}">
566 <arg value="--user=root"/>
567 <arg value="--execute=GRANT SELECT,INSERT,DELETE,UPDATE,DROP,CREATE ON *.* TO gsdl3admin@'%'"/>
568 </exec>
569 <exec executable="${mysql.home}/bin/mysql" dir="${mysql.home}">
570 <arg value="--user=root"/>
571 <arg value="--execute=GRANT SELECT ON *.* TO gsdl3reader@localhost;"/>
572 </exec>
573 <exec executable="${mysql.home}/bin/mysql" dir="${mysql.home}">
574 <arg value="--user=root"/>
575 <arg value="--execute=create database localsite_gs3mgdemo;"/>
576 </exec>
577 <exec executable="${mysql.home}/bin/mysql" dir="${mysql.home}"
578 input="${basedir}/web/sites/localsite/collect/gs3mgdemo/mysqldatadump.sql">
579 <arg value="--user=root"/>
580 <arg value="localsite_gs3mgdemo"/>
581 </exec>
582 </target>
583
584 <target name="startup-mysql" depends="init,init-mysql-vars" if="mysql.islocal"
585 description="Startup only mysql">
586 <exec executable="${mysql.home}/bin/mysqld_safe" dir="${mysql.home}"
587 spawn="true" os="${os.linux}">
588 <arg value="--user=root"/>
589 <arg value="--datadir=./data"/>
590 <arg value="--basedir=."/>
591 <arg value="--pid_file=gsdl3.pid"/>
592 <arg value="--socket=/tmp/mysql.sock"/>
593 <arg value="--err-log=./var/log/mysql.log"/>
594 </exec>
595 <exec executable="${mysql.home}/bin/mysqld" dir="${mysql.home}" spawn="true" os="${os.windows}">
596 </exec>
597 <sleep seconds="2"/>
598 <!-- need to test that the server has started up -->
599 <exec executable="${mysql.home}/bin/mysql" dir="${mysql.home}"
600 failonerror="true" outputproperty="throw.away">
601 <arg value="--user=root"/>
602 <arg value="--execute=show databases;"/>
603 </exec>
604 <echo>MYSQL database server started successfully</echo>
605 </target>
606
607 <target name="shutdown-mysql" depends="init" if="mysql.islocal"
608 description="Shutdown only mysql">
609 <exec executable="${mysql.home}/bin/mysqladmin" dir="${mysql.home}"
610 failonerror="true" os="${os.linux}">
611 <arg value="--user=root"/>
612 <arg value="--socket=/tmp/mysql.sock"/>
613 <arg value="shutdown"/>
614 </exec>
615 <exec executable="${mysql.home}/bin/mysqladmin" dir="${mysql.home}"
616 failonerror="true" os="${os.windows}">
617 <arg value="--user=root"/>
618 <arg value="shutdown"/>
619 </exec>
620 <echo>MYSQL database server shutdown successfully</echo>
621 </target>
622
623 <target name="restart-mysql" description="Shutdown and restart only mysql" depends="init,shutdown-mysql,startup-mysql"/>
624
625
626<!-- ======================= Axis Targets ============================ -->
627
628 <target name="prepare-axis" depends="init">
629 <mkdir dir="${basedir}/comms/soap"/>
630 <get src="http://www.greenstone.org/gs3files/axis-1_1.zip"
631 dest="${basedir}/comms/soap/axis-1_1.zip"
632 usetimestamp="true"/>
633 <delete dir="${basedir}/comms/soap/axis.bak"/>
634 <move todir="${basedir}/comms/soap/axis.bak" failonerror="false">
635 <fileset dir="${basedir}/comms/soap/axis"/>
636 </move>
637 <unzip src="${basedir}/comms/soap/axis-1_1.zip"
638 dest="${basedir}/comms/soap/"/>
639 <move todir="${basedir}/comms/soap/axis">
640 <fileset dir="${basedir}/comms/soap/axis-1_1"/>
641 </move>
642 <!-- install the webapp into tomcat -->
643 <copy todir="${basedir}/comms/jakarta/tomcat/webapps/axis">
644 <fileset dir="${basedir}/comms/soap/axis/webapps/axis"/>
645 </copy>
646 </target>
647
648 <target name="soap-deploy-site" depends="get-sitename,get-siteuri,create-deployment-files,restart-tomcat"
649 description="Deploy a SOAP web service for a local Greenstone site">
650 <java classname="org.apache.axis.client.AdminClient">
651 <classpath refid="compile.classpath"/>
652 <arg value="-p"/>
653 <arg value="${tomcat.port}"/>
654 <arg file="${basedir}/resources/soap/${axis.sitename}.wsdd"/>
655 </java>
656 </target>
657
658 <target name="soap-undeploy-site" depends="get-sitename"
659 description="Undeploy a SOAP web service for a local Greenstone site">
660 <java classname="org.apache.axis.client.AdminClient">
661 <classpath refid="compile.classpath"/>
662 <arg value="-p"/>
663 <arg value="${tomcat.port}"/>
664 <arg file="${basedir}/resources/soap/undeploy-${axis.sitename}.wsdd"/>
665 </java>
666 </target>
667
668 <target name="get-sitename">
669 <input addproperty="axis.sitename" message="What site? (press enter for default:localsite)" defaultvalue="localsite"/>
670 <condition property="deploy.exists">
671 <available file="${basedir}/resources/soap/${axis.sitename}.wsdd"/>
672 </condition>
673 <condition property="undeploy.exists">
674 <available file="${basedir}/resources/soap/undeploy-${axis.sitename}.wsdd"/>
675 </condition>
676 <echo>${axis.sitename}, ${deploy.exists}, ${undeploy.exists}</echo>
677 </target>
678
679 <target name="get-siteuri" depends="get-sitename">
680 <input addproperty="axis.siteuri" message="What name do you want the service to have? (press enter for default:${axis.sitename})" defaultvalue="${axis.sitename}"/>
681 <echo>${axis.sitename}, ${axis.siteuri}</echo>
682 </target>
683 <target name="create-deployment-files" depends="get-sitename"
684 if="axis.sitename" unless="deploy.exists">
685 <filter token="sitename" value="${axis.sitename}"/>
686 <filter token="siteuri" value="${axis.siteuri}"/>
687 <copy file="${basedir}/resources/soap/site.wsdd.template"
688 tofile="${basedir}/resources/soap/${axis.sitename}.wsdd"
689 filtering="true"/>
690 <copy file="${basedir}/resources/soap/undeploy-site.wsdd.template"
691 tofile="${basedir}/resources/soap/undeploy-${axis.sitename}.wsdd"
692 filtering="true"/>
693 <!-- create the java files and compile them -->
694 <copy file="${gsdl3.home}/SOAPServer.java.in"
695 tofile="${gsdl3.home}/SOAPServer${axis.sitename}.java"
696 filtering="true"/>
697 <javac srcdir="${src.home}"
698 destdir="${build.home}"
699 debug="${compile.debug}"
700 deprecation="${compile.deprecation}"
701 optimize="${compile.optimize}">
702 <classpath refid="compile.classpath"/>
703 <include name="org/greenstone/gsdl3/SOAPServer${axis.sitename}.java" />
704 </javac>
705 <jar destfile="${build.home}/gsdl3.jar">
706 <fileset dir="${build.home}">
707 <include name="org/greenstone/gsdl3/**"/>
708 <exclude name="**/Test.class"/>
709 </fileset>
710 <manifest>
711 <attribute name="Built-By" value="${user.name}" />
712 </manifest>
713 </jar>
714 <copy file="${build.home}/gsdl3.jar" todir="${javalib}"/>
715 <copy file="${build.home}/gsdl3.jar" todir="${web.lib}"/>
716 </target>
717
718
719<!-- ====================== Core targets ============================== -->
720<!-- core targets refer to the core gsdl3 java src -->
721
722 <target name="prepare-core">
723 <!-- just get rid of empty directories-->
724 <cvs command="update -P"/>
725 </target>
726 <target name="configure-core"/>
727 <target name="update-core" depends="init,cvsupdate-core,clean-core,compile-core"
728 description="Update only the Greenstone core" />
729
730 <target name="cvsupdate-core">
731 <cvs command="update -l"/>
732 <cvs command="update -dP bin comms dist-resources docs interfaces lib resources src web winutil"/>
733 </target>
734
735 <target name="clean-core"
736 description="Clean only the Greenstone core">
737 <delete dir="${build.home}"/>
738 </target>
739
740 <target name="compile-core"
741 description="Compile only the Greenstone core">
742 <mkdir dir="${build.home}"/>
743 <javac srcdir="${src.home}"
744 destdir="${build.home}"
745 debug="${compile.debug}"
746 deprecation="${compile.deprecation}"
747 optimize="${compile.optimize}">
748 <classpath>
749 <path refid="compile.classpath"/>
750 </classpath>
751 </javac>
752 <jar destfile="${build.home}/gsdl3.jar">
753 <fileset dir="${build.home}">
754 <include name="org/greenstone/gsdl3/**"/>
755 <exclude name="**/Test.class"/>
756 </fileset>
757 <manifest>
758 <attribute name="Built-By" value="${user.name}" />
759 </manifest>
760 </jar>
761 <copy file="${build.home}/gsdl3.jar" todir="${javalib}"/>
762 <copy file="${build.home}/gsdl3.jar" todir="${web.lib}"/>
763 <mkdir dir="${web.classes}/org/greenstone/gsdl3"/>
764 <copy file="${build.home}/org/greenstone/gsdl3/LibraryServlet.class"
765 todir="${web.classes}/org/greenstone/gsdl3"/>
766 <jar destfile="${build.home}/phind.jar">
767 <fileset dir="${build.home}">
768 <include name="org/greenstone/applet/phind/**"/>
769 </fileset>
770 <manifest>
771 <attribute name="Built-By" value="${user.name}" />
772 </manifest>
773 </jar>
774 <copy file="${build.home}/phind.jar" todir="${javalib}"/>
775 <copy file="${build.home}/phind.jar" todir="${web.lib}"/>
776 <jar destfile="${build.home}/anttasks.jar">
777 <fileset dir="${build.home}">
778 <include name="org/greenstone/anttasks/**"/>
779 </fileset>
780 <manifest>
781 <attribute name="Built-By" value="${user.name}" />
782 </manifest>
783 </jar>
784 <copy file="${build.home}/anttasks.jar" todir="${javalib}"/>
785 <jar destfile="${build.home}/gsdl3test.jar">
786 <fileset dir="${build.home}">
787 <include name="org/greenstone/gsdl3/**/*Test.class"/>
788 <include name="org/greenstone/testing/**"/>
789 </fileset>
790 <manifest>
791 <attribute name="Built-By" value="${user.name}" />
792 </manifest>
793 </jar>
794 </target>
795
796<!-- ================== Packages targets ================================ -->
797 <!-- these targets refer to the greenstone packages - these need updating
798 less often, so are in separate targets to the core -->
799 <target name="prepare-packages" depends="init,prepare-mgpp,prepare-windows"/>
800
801 <target name="prepare-windows" depends="init" if="current.os.iswindows">
802 <!-- need to download precompiled binaries for mg and mgpp -->
803 </target>
804 <target name="prepare-mgpp" depends="check-cvsroot,init" unless="mgpp.present">
805 <cvs command="checkout -P" package="mgpp" dest="${basedir}/packages/"/>
806 </target>
807
808 <target name="update-packages" depends="init,cvsupdate-packages,configure-packages,clean-packages,compile-packages"
809 description="Update only the packages"/>
810
811 <target name="cvsupdate-packages">
812 <cvs command="update -dP" dest="${packages.home}"/>
813 </target>
814
815 <target name="configure-packages" description="Configure only the packages.">
816 <echo>
817 Configuring MG
818 </echo>
819 <exec executable="configure" os="${os.linux}"
820 dir="${mg.home}">
821 <arg value="--prefix=${basedir}"/>
822 </exec>
823 <echo>
824 Configuring MGPP
825 </echo>
826 <exec executable="configure" os="${os.linux}"
827 dir="${mgpp.home}">
828 <arg value="--prefix=${basedir}"/>
829 </exec>
830 </target>
831
832 <target name="clean-packages"
833 description="Clean only the packages">
834 <!-- mg : just call the make target -->
835 <exec executable="make" os="${os.linux}"
836 dir="${mg.home}">
837 <arg value="clean"/>
838 </exec>
839 <!-- mgpp -->
840 <exec executable="make" os="${os.linux}"
841 dir="${mg.home}">
842 <arg value="clean"/>
843 </exec>
844 <!-- vishnu : just call the ant target -->
845 <ant antfile="${vishnu.home}/build.xml" dir="${vishnu.home}"
846 inheritall="false" target="clean"/>
847
848 <!-- gsdl-as : just call the ant target-->
849 <ant antfile="${gsdl-as.home}/build.xml" dir="${gsdl-as.home}"
850 inheritall="false" target="clean"/>
851 </target>
852
853 <target name="compile-packages"
854 description="Compile only the packages">
855 <echo>Compiling MG</echo>
856 <exec executable="make" os="${os.linux}"
857 dir="${mg.home}">
858 </exec>
859 <exec executable="make" os="${os.linux}"
860 dir="${mg.home}">
861 <arg value="install"/>
862 </exec>
863 <!-- windows: just the java stuff. -->
864 <exec executable="${mg.home}/winMake.bat" os="${os.windows}"
865 dir="${mg.home}">
866 <arg value="compile"/>
867 <arg value="javaonly"/>
868 </exec>
869 <exec executable="${mg.home}/winMake.bat" os="${os.windows}"
870 dir="${mg.home}">
871 <arg value="install"/>
872 <arg value="javaonly"/>
873 <env key="GSDL3HOME" value="${basedir}"/>
874 </exec>
875
876 <!-- mgpp -->
877 <echo>Compiling MGPP</echo>
878 <exec executable="make" os="${os.linux}"
879 dir="${mgpp.home}">
880 </exec>
881 <exec executable="make" os="${os.linux}"
882 dir="${mgpp.home}">
883 <arg value="install"/>
884 </exec>
885 <!-- windows: just the java stuff. -->
886 <exec executable="${mgpp.home}/winMake.bat" os="${os.windows}"
887 dir="${mgpp.home}">
888 <arg value="compile"/>
889 <arg value="javaonly"/>
890 </exec>
891 <exec executable="${mgpp.home}/winMake.bat" os="${os.windows}"
892 dir="${mgpp.home}">
893 <arg value="install"/>
894 <arg value="javaonly"/>
895 <env key="GSDL3HOME" value="${basedir}"/>
896 </exec>
897
898 <!-- vishnu -->
899 <echo>Compiling Vishnu</echo>
900 <ant antfile="${vishnu.home}/build.xml" dir="${vishnu.home}"
901 inheritall="false" target="compile"/>
902
903 <!-- gsdl-as -->
904 <echo>Compiling GSDL-AS</echo>
905 <ant antfile="${gsdl-as.home}/build.xml" dir="${gsdl-as.home}"
906 inheritall="false" target="compile"/>
907 </target>
908
909 <!-- ================== gs2building targets ===============-->
910
911
912 <target name="update-gs2building" if="gsdl2.islocal"
913 depends="init,cvsupdate-gs2building,configure-gs2building,clean-gs2building,compile-gs2building"
914 description="Update only the Greenstone 2 building components"/>
915
916 <target name="cvsupdate-gs2building" if="gsdl2.islocal" depends="init">
917 <cvs command="update -dP" dest="${gli.home}"/>
918 <!-- Note: can't do a -d update here cos it will get all of gsdl-->
919 <cvs command="update -P" dest="${gs2build.home}"/>
920 <!-- rename the .gs2build files - we may have gotten changes to the main
921 gsdl versions - make sure they are set back to the gs2build versions -->
922 <antcall target="rename-gs2build-files"/>
923 </target>
924
925 <target name="prepare-gs2building" depends="init,prepare-gs2build,prepare-gli" if="gsdl2.islocal">
926 <echo>checking out gs2 building stuff</echo>
927 </target>
928
929 <target name="prepare-gs2build" depends="check-cvsroot,init" if="gsdl2.islocal" unless="gs2build.present">
930 <echo>checking out gs2build</echo>
931 <cvs command="checkout -P" package="gs2build"/>
932
933 <!-- rename the .gs2build files -->
934 <antcall target="rename-gs2build-files"/>
935 </target>
936
937 <target name="rename-gs2build-files">
938 <copy file="${gs2build.home}/configure.gs2build" tofile="${gs2build.home}/configure"/>
939 <chmod file="${gs2build.home}/configure" perm="a+x"/>
940 <copy file="${gs2build.home}/configure.in.gs2build" tofile="${gs2build.home}/configure.in"/>
941 <copy file="${gs2build.home}/Makefile.in.gs2build" tofile="${gs2build.home}/Makefile.in"/>
942 <copy file="${gs2build.home}/packages/configure.gs2build" tofile="${gs2build.home}/packages/configure"/>
943 <chmod file="${gs2build.home}/packages/configure" perm="a+x"/>
944 <copy file="${gs2build.home}/packages/Makefile.gs2build" tofile="${gs2build.home}/packages/Makefile"/>
945 <copy file="${gs2build.home}/lib/Makefile.in.gs2build" tofile="${gs2build.home}/lib/Makefile.in"/>
946
947 </target>
948 <target name="prepare-gli" depends="check-cvsroot,init" if="gsdl2.islocal" unless="gli.present">
949 <echo>checking out gli</echo>
950 <cvs command="checkout -P" package="gli"/>
951 </target>
952
953 <target name="configure-gs2building" if="gsdl2.islocal"
954 description="Configure only the Greenstone 2 building components">
955 <exec executable="${gs2build.home}/configure" os="${os.linux}"
956 dir="${gs2build.home}">
957 <arg value="--prefix=${gs2build.home}"/>
958 </exec>
959 </target>
960
961 <target name="clean-gs2building" depends="init" if="gsdl2.islocal"
962 description="Clean only the Greenstone 2 building components">
963 <!-- gli -->
964 <property name="gli.home" value="${basedir}/gli"/>
965 <!-- linux -->
966 <exec executable="clean.sh" os="${os.linux}" dir="${gli.home}"
967 resolveExecutable="true"/>
968 <!-- windows -->
969 <exec executable="clean.bat" os="${os.windows}" dir="${gli.home}"
970 resolveExecutable="true"/>
971 <!-- gs2build -->
972 <!--linux: -->
973 <exec executable="make" os="${os.linux}" dir="${gs2build.home}">
974 <arg value="clean"/>
975 </exec>
976 <!-- windows: -->
977 </target>
978
979 <target name="compile-gs2building" depends="init" if="gsdl2.islocal"
980 description="Compile only the Greenstone 2 building components">
981 <!-- gli -->
982 <property name="gli.home" value="${basedir}/gli"/>
983 <!-- linux -->
984 <exec executable="makegli.sh" os="${os.linux}" dir="${gli.home}"
985 resolveExecutable="true"/>
986 <!-- windows -->
987 <exec executable="makegli.bat" os="${os.windows}" dir="${gli.home}"
988 resolveExecutable="true"/>
989 <!-- gs2build -->
990 <!--linux: make, make install -->
991 <exec executable="make" os="${os.linux}" dir="${gs2build.home}">
992 </exec>
993 <exec executable="make" os="${os.linux}" dir="${gs2build.home}">
994 <arg value="install"/>
995 </exec>
996
997 <!-- windows: -->
998 </target>
999
1000 <target name="gli" description="Run the Greenstone Librarian Interface" depends="gli-local,gli-external">
1001 <echo>Running GLI from Ant means that you don't get to see any of the terminal output. If you have problems with GLI and want to see the output, please run the script gli4gs3.sh/bat from the gsdl3/gli directory.
1002 </echo>
1003 </target>
1004
1005 <target name="gli-local" depends="init" if="gsdl2.islocal">
1006 <exec executable="${basedir}/gli/gli4gs3.sh" os="${os.linux}" dir="${basedir}/gli" spawn="true">
1007 <env key="GSDLHOME" path="${basedir}/gs2build"/>
1008 <env key="GSDL3HOME" value="${basedir}"/>
1009 </exec>
1010 <exec executable="${basedir}/gli/gli4gs3.bat" os="${os.windows}" dir="${basedir}/gli" spawn="true">
1011 <env key="GSDLHOME" value="${basedir}/gs2build"/>
1012 <env key="GSDL3HOME" value="${basedir}"/>
1013 </exec>
1014 </target>
1015
1016 <target name="gli-external" depends="init" unless="gsdl2.islocal">
1017 <exec executable="${gsdl2.installed.path}/gli/gli4gs3.sh" os="${os.linux}" dir="${gsdl2.installed.path}/gli"/>
1018 <exec executable="${gsdl2.installed.path}/gli/gli4gs3.bat" os="${os.windows}" dir="${gsdl2.installed.path}/gli"/>
1019 </target>
1020
1021
1022<!-- ======================== TESTING Targets ========================= -->
1023
1024 <target name="test" description="Run the (incomplete) JUnit test suite "
1025 depends="init">
1026 <mkdir dir="${basedir}/test"/>
1027 <junit printsummary="withOutAndErr"
1028 errorproperty="test.failed"
1029 failureproperty="test.failed"
1030 fork="${junit.fork}">
1031 <formatter type="plain"/>
1032 <classpath>
1033 <pathelement location="${build.home}/gsdl3test.jar"/>
1034 <path refid="compile.classpath"/>
1035 </classpath>
1036 <test name="${testcase}" if="testcase"/>
1037 <batchtest todir="${basedir}/test" unless="testcase">
1038 <fileset dir="${build.home}"
1039 includes="**/*Test.class"
1040 />
1041 </batchtest>
1042 </junit>
1043 <echo>
1044 *********************************************
1045 Test output can be found in directory 'test'
1046 *********************************************
1047 </echo>
1048 </target>
1049
1050
1051
1052</project>
1053
1054
Note: See TracBrowser for help on using the repository browser.