source: trunk/build.xml @ 2304

Last change on this file since 2304 was 2259, checked in by Nicklas Nordborg, 17 years ago

'Roles' test program updated to follow the latest instructions.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 25.4 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<!--
4    $Id: build.xml 2259 2006-05-16 13:41:11Z nicklas $
5
6    Copyright (C) 2005-2006
7    Samuel Andersson, Jari H&auml;kkinen, Nicklas Nordborg, Gregory Vincic
8
9    Files are copyright by their respective authors. The contributions
10    to files where copyright is not explicitly stated can be traced
11    with the source code revision system.
12
13    This file is part of BASE - BioArray Software Environment.
14    Available at http://base.thep.lu.se/
15
16    BASE is free software; you can redistribute it and/or modify it
17    under the terms of the GNU General Public License as published by
18    the Free Software Foundation; either version 2 of the License, or
19    (at your option) any later version.
20
21    BASE is distributed in the hope that it will be useful, but
22    WITHOUT ANY WARRANTY; without even the implied warranty of
23    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
24    General Public License for more details.
25
26    You should have received a copy of the GNU General Public License
27    along with this program; if not, write to the Free Software
28    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
29    02111-1307, USA.
30-->
31
32<project
33  name="BASE2"
34  default="core"
35  basedir="."
36  >
37
38  <description>
39    Build file for BASE 2.0
40    Main targets:
41    core (default): build the core
42    nohibernate: build the core, but do not regenerate the Hibernate mappings
43    test: build the test programs
44    web: build the web client
45    migrate: build the migration client
46    javadoc: generate documentation
47    package: create binary distribution
48    all: core, clients, docs
49    clean: clean up everything
50  </description>
51
52  <!-- set global properties for this build -->
53  <property name="compilerarg" value="-Xlint:unchecked" />
54  <property name="base.version" value="2.0RC1" />
55  <property environment="env" />
56 
57  <property name="src" location="src" />
58  <property name="build" location="build" />
59  <property name="dist" location="dist" />
60  <property name="dist.webinf" location="${dist}/www/WEB-INF" />
61  <property name="dist.lib" location="${dist}/www/WEB-INF/lib" />
62  <property name="dist.classes" location="${dist}/www/WEB-INF/classes" />
63  <property name="dist.bin" location="${dist}/bin" />
64  <property name="doc" location="doc" />
65  <property name="lib" location="lib" />
66  <property name="www" location="www" />
67
68  <property name="core.src" location="${src}/core" />
69  <property name="test.src" location="${src}/test" />
70  <property name="web.src" location="${src}/clients/web" />
71  <property name="migrate.src" location="${src}/clients/migrate" />
72  <property name="install.src" location="${src}/install" />
73
74  <property name="core.build" location="${build}/core" />
75  <property name="test.build" location="${build}/test" />
76  <property name="migrate.build" location="${build}/clients/migrate" />
77  <property name="install.build" location="${build}/install" />
78  <property name="web.build" location="${build}/clients/web" />
79  <property name="web.inf" location="${www}/WEB-INF" />
80  <property name="jsp.build" location="${build}/jsp" />
81
82  <property name="doc.develop" location="${doc}/api/develop" />
83  <property name="doc.public" location="${doc}/api/public" />
84
85  <path id="core.compile.classpath">
86    <fileset dir="${lib}/compile">
87      <include name="**/*.jar"/>
88    </fileset>
89  </path>
90
91  <path id="test.compile.classpath">
92    <path refid="core.compile.classpath"/>
93    <pathelement location="${core.build}"/>
94  </path>
95
96  <path id="migrate.compile.classpath">
97    <path refid="core.compile.classpath" />
98    <pathelement location="${core.build}" />
99  </path>
100 
101  <path id="install.compile.classpath">
102    <path refid="core.compile.classpath" />
103    <pathelement location="${core.build}" />
104  </path>
105 
106  <path id="web.compile.classpath">
107    <path refid="core.compile.classpath"/>
108    <pathelement location="${core.build}"/>
109  </path>
110
111  <path id="hibernatedoclet.classpath">
112    <fileset dir="${lib}/hibernatedoclet">
113      <include name="**/*.jar"/>
114    </fileset>
115  </path>
116
117  <taskdef
118    name="hibernatedoclet"
119    classname="xdoclet.modules.hibernate.HibernateDocletTask"
120    classpathref="hibernatedoclet.classpath"
121    description="Task for generating Hibernate mapping files from XDoclet tags"
122  />
123
124  <target
125    name="all"
126    depends="core, test, web, javadoc"
127    description="Compile/create everything"
128  />
129
130  <target
131    name="core"
132    depends="core.compile,core.hibernate"
133    description="Compile the core, generate Hibernate mappings and put everyting in a JAR file"
134  />
135
136  <target
137    name="nohibernate"
138    depends="core.compile"
139    description="Compile the core, assuming Hibernate mappings already exists
140      and put everyting in a JAR file"
141  />
142
143  <target
144    name="core.hibernate"
145    depends="core.compile"
146    description="Generates Hibernate mappings for the core."
147    >
148    <hibernatedoclet
149      destdir="${core.build}"
150      excludedtags="@version,@author,@todo"
151      mergedir="${core.build}"
152      verbose="${xdoclet.verbose}">
153      <fileset dir="${core.src}">
154        <include name="**/*.java"/>
155      </fileset>
156      <hibernate version="2.0"/>
157    </hibernatedoclet>
158   
159    <replace
160      dir="${core.build}"
161      >
162      <include name="**/*.hbm.xml"/>
163      <replacefilter 
164        token="2.0//EN"
165        value="3.0//EN"
166      />
167      <replacefilter 
168        token="2.0.dtd"
169        value="3.0.dtd"
170      />
171      <replacefilter
172        token="outer-join=&#34;false&#34;"
173        value="fetch=&#34;select&#34;"
174      />
175      <replacefilter
176        token="outer-join=&#34;true&#34;"
177        value="fetch=&#34;join&#34;"
178      />
179      <replacefilter
180        token="index-many-to-many"
181        value="map-key-many-to-many"
182      />
183      <replacefilter
184        token="&lt;index&gt;"
185        value="&lt;list-index&gt;"
186      />
187      <replacefilter
188        token="&lt;/index&gt;"
189        value="&lt;/list-index&gt;"
190      />
191      <replacefilter
192        token="composite-index"
193        value="composite-map-key"
194      />
195    </replace>
196  </target>
197
198  <target
199    name="core.compile"
200    depends=""
201    description="compile the core source code"
202    >
203    <mkdir dir="${core.build}"/>
204    <javac
205      encoding="ISO-8859-1"
206      srcdir="${core.src}"
207      destdir="${core.build}"
208      classpathref="core.compile.classpath"
209      debug="true"
210      deprecation="true"
211      >
212      <compilerarg value="${compilerarg}" />
213    </javac>
214    <copy todir="${core.build}">
215      <fileset dir="${core.src}">
216        <include name="**/*.xml" />
217        <include name="**/*.dtd" />
218        <include name="**/*.config" />
219        <include name="**/*.properties" />
220      </fileset>
221    </copy>
222  </target>
223
224  <target
225    name="test"
226    depends="test.compile"
227    description="Compile the test programs"
228  />
229
230  <target name="test.compile"
231    depends=""
232    description="compile the source code for the test programs"
233    >
234    <mkdir dir="${test.build}"/>
235    <javac
236      srcdir="${test.src}"
237      destdir="${test.build}"
238      classpathref="test.compile.classpath"
239      debug="true"
240      deprecation="true"
241      encoding="ISO-8859-1"
242      >
243      <compilerarg value="${compilerarg}" />
244    </javac>
245    <copy todir="${test.build}">
246      <fileset dir="${test.src}">
247        <include name="**/*.*" />
248        <exclude name="**/*.java" />
249      </fileset>
250    </copy>
251    <chmod dir="${test.build}" includes="*.sh" perm="a+x"/>
252    <copy todir="${test.build}">
253      <fileset dir="${src}">
254        <include name="*.config" />
255        <include name="*.properties" />
256        <include name="*.xml" />
257      </fileset>
258    </copy>
259    <jar 
260      jarfile="${test.build}/JarPluginAbout.jar" 
261      basedir="${test.build}" 
262      includes="JarPluginAbout.class" 
263    />
264    <jar 
265      jarfile="${test.build}/JarPlugin.jar" 
266      basedir="${test.build}" 
267      includes="JarPlugin*,NullPlugin*"
268      excludes="JarPlugin.jar,JarPluginAbout.class"
269      manifest="${test.src}/JarPluginManifest.txt"
270    />
271    <delete>
272      <fileset dir="${test.build}" includes="JarPlugin*" excludes="*.jar" />
273    </delete>
274  </target>
275
276  <!-- add core to depends if used for real -->
277  <target
278    name="migrate"
279    depends="dist.migrate"
280    description="create the Migrate.jar"
281  >
282  </target>
283 
284  <target name="dist.migrate" depends="migrate.compile,dist.init" description="">
285
286    <jar basedir="${migrate.build}" jarfile="${dist.bin}/Migrate.jar" includes="**/*.class">
287    </jar>
288    <copy todir="${dist.bin}" file="${migrate.src}/migrate_from_1.2.sh" />
289    <chmod file="${dist.bin}/migrate_from_1.2.sh" perm="a+x"/>
290    <copy tofile="${dist.classes}/migrate.properties" file="${migrate.src}/migrate.properties.in" />
291    <chmod file="${dist.classes}/migrate.properties" perm="600"/>
292    <copy tofile="${dist.classes}/mysql-migration-queries.sql" file="${migrate.src}/sql/mysql-migration-queries.sql" />
293    <chmod file="${dist.classes}/mysql-migration-queries.sql" perm="600"/>
294
295  </target>
296
297  <target name="migrate.properties" if="migrate.newproperties">
298    <copy tofile="${migrate.build}/migrate.properties" file="${migrate.src}/migrate.properties.in" />
299    <chmod file="${migrate.build}/migrate.properties" perm="600"/>
300  </target>
301
302  <target name="migrate.compile" description="compile the source code for the migration program">
303
304    <mkdir dir="${migrate.build}" />
305    <javac
306      encoding="ISO-8859-1"
307      srcdir="${migrate.src}"
308      destdir="${migrate.build}"
309      classpathref="migrate.compile.classpath"
310      debug="true"
311      >
312      <compilerarg value="${compilerarg}" />
313    </javac>
314    <copy todir="${migrate.build}">
315      <fileset dir="${src}">
316        <include name="*.config" />
317        <include name="*.properties" />
318        <include name="*.xml" />
319      </fileset>
320    </copy>
321    <copy todir="${migrate.build}" file="${migrate.src}/migrate_from_1.2.sh" />
322    <chmod file="${migrate.build}/migrate_from_1.2.sh" perm="a+x"/>
323    <condition property="migrate.newproperties">
324      <not>
325        <available file="${migrate.build}/migrate.properties"/>
326      </not>
327    </condition>
328    <antcall target="migrate.properties"/>
329
330  </target>
331
332  <target
333    name="install"
334    depends="install.compile"
335    description="Compile the installation program"
336  >
337  </target>
338
339  <target name="install.compile"
340    description="compile the source code for the installation program"
341    >
342    <mkdir dir="${install.build}" />
343    <javac
344      encoding="ISO-8859-1"
345      srcdir="${install.src}"
346      destdir="${install.build}"
347      classpathref="install.compile.classpath"
348      debug="true"
349      deprecation="true"
350      >
351      <compilerarg value="${compilerarg}" />
352    </javac>
353  </target>
354
355  <target
356    name="web"
357    depends="web.compile"
358    description="Compile the web client, and copy required files to the web-inf directory"
359  >
360    <mkdir dir="${web.inf}/lib"/>
361    <mkdir dir="${web.inf}/classes"/>
362    <jar
363      basedir="${core.build}"
364      jarfile="${web.inf}/lib/BASE2Core.jar"
365    />
366    <jar
367      basedir="${web.build}"
368      jarfile="${web.inf}/lib/BASE2Webclient.jar"
369    />
370    <copy todir="${web.inf}/lib">
371      <fileset dir="${lib}/compile">
372        <include name="**/*.jar"/>
373        <exclude name="**/servlet-api.jar" />
374        <exclude name="**/jsp-api.jar" />
375      </fileset>
376      <fileset dir="${lib}/dist">
377        <include name="**/*.jar"/>
378      </fileset>
379    </copy>
380    <copy todir="${web.inf}/classes">
381      <fileset dir="${src}">
382        <include name="*.config"/>
383        <include name="*.properties"/>
384        <include name="*.xml"/>
385      </fileset>
386    </copy>
387  </target>
388
389  <target
390    name="web.compile"
391    depends=""
392    description="compile the source code for the web client"
393    >
394    <mkdir dir="${web.build}"/>
395    <javac
396      encoding="ISO-8859-1"
397      srcdir="${web.src}"
398      destdir="${web.build}"
399      classpathref="web.compile.classpath"
400      debug="true"
401      deprecation="true"
402      >
403      <compilerarg value="${compilerarg}" />
404    </javac>
405    <copy todir="${web.build}">
406      <fileset dir="${web.src}">
407        <include name="**/*.xml" />
408        <include name="**/*.dtd" />
409        <include name="**/*.config" />
410        <include name="**/*.properties" />
411      </fileset>
412    </copy>
413  </target>
414
415  <target 
416    name="jsp.compile"
417    depends="web"
418    description="Compile all JSP pages to a temporary directory"
419    >
420    <mkdir dir="${jsp.build}/src" />
421    <mkdir dir="${jsp.build}/classes" />
422   
423    <path id="jsp.precompile.classpath">
424      <pathelement location="${java.home}/../lib/tools.jar" />
425      <fileset dir="${env.CATALINA_HOME}/server/lib">
426        <include name="*.jar" />
427      </fileset>
428      <fileset dir="${env.CATALINA_HOME}/common/lib">
429        <include name="*.jar" />
430      </fileset>
431      <fileset dir="${env.CATALINA_HOME}/bin">
432        <include name="*.jar" />
433      </fileset>
434    </path>
435   
436    <path id="jsp.compile.classpath">
437      <path refid="web.compile.classpath" />
438      <pathelement location="${java.home}/../lib/tools.jar" />
439      <fileset dir="${env.CATALINA_HOME}/common/lib">
440        <include name="*.jar" />
441      </fileset>
442      <fileset dir="${env.CATALINA_HOME}/shared/lib">
443        <include name="*.jar" />
444      </fileset>
445      <fileset dir="${web.inf}/lib">
446        <include name="*.jar" />
447      </fileset>
448    </path>
449
450    <taskdef
451      classname="org.apache.jasper.JspC" 
452      name="jasper2"
453      classpathref="jsp.precompile.classpath"
454    />
455    <jasper2
456      validateXml="false"
457      uriroot="${www}"
458      webXmlFragment="${jsp.build}/generated_web.xml"
459      outputdir="${jsp.build}/src"
460    />
461    <javac
462      destdir="${jsp.build}/classes"
463      srcdir="${jsp.build}/src"
464      debug="true"
465      classpathref="jsp.compile.classpath"
466      >
467    </javac>
468  </target>
469 
470  <target
471    name="dist"
472    depends="clean,svn.revision,dist.init,dist.core,dist.install,dist.web,dist.doc,dist.migrate"
473    description="Create the distribution and put all files in their correct places">
474    <move 
475      file="${core.src}/net/sf/basedb/core/Application.java.bak"
476      tofile="${core.src}/net/sf/basedb/core/Application.java"
477      overwrite="true"
478    />
479    <copy todir="${dist.lib}">
480      <fileset dir="${lib}/compile">
481        <include name="**/*.jar"/>
482        <!--exclude name="**/*jai*.jar" / -->
483        <exclude name="**/servlet-api.jar" />
484        <exclude name="**/jsp-api.jar" />
485      </fileset>
486      <fileset dir="${lib}/dist">
487        <include name="**/*.*"/>
488        <exclude name="**/ojdbc14.jar" />
489      </fileset>
490    </copy>
491    <copy tofile="${dist.webinf}/web.xml" file="${src}/web.xml.in" overwrite="true" />
492    <copy tofile="${dist.classes}/base.config" file="${src}/base.config.in" overwrite="true"/>
493    <chmod file="${dist.classes}/base.config" perm="600"/>
494    <copy tofile="${dist.classes}/log4j.properties" file="${src}/log4j.properties.in" overwrite="true"/>
495    <chmod file="${dist.classes}/log4j.properties" perm="600"/>
496  </target>
497
498  <target
499    name="dist.init"
500    description="Create the distribution directory structure"
501    >
502    <mkdir dir="${dist}"/>
503    <mkdir dir="${dist.bin}"/>
504    <mkdir dir="${dist}/doc"/>
505    <mkdir dir="${dist}/www"/>
506    <mkdir dir="${dist.lib}"/>
507    <copy 
508      file="${core.src}/net/sf/basedb/core/Application.java"
509      tofile="${core.src}/net/sf/basedb/core/Application.java.bak"
510      overwrite="false"
511    />
512    <replace
513      file="${core.src}/net/sf/basedb/core/Application.java"
514      token="@BUILD@"
515      value="${base.build}"
516    />
517  </target>
518
519  <target 
520    name="svn.revision"
521    description="Get the current revision number in the subversion and put the value into the base.build property"
522    >
523    <exec 
524      executable="svnversion"
525      outputproperty="base.build"
526      failifexecutionfails="false"
527      >
528      <arg line="." />
529    </exec>
530    <echo message="Build #${base.build}" />
531  </target>
532 
533 
534  <target
535    name="dist.core"
536    depends="core.compile,core.hibernate"
537    description="Generate the core jar file: BASE2Core.jar"
538    >
539    <jar
540      basedir="${core.build}"
541      jarfile="${dist.lib}/BASE2Core.jar"
542    />
543  </target>
544  <target
545    name="dist.install"
546    depends="install.compile"
547    description="Generate the installation jar file: BASE2Install.jar"
548    >
549    <jar
550      basedir="${install.build}"
551      jarfile="${dist.bin}/BASE2Install.jar"
552    />
553    <copy todir="${dist.bin}">
554      <fileset dir="${install.src}" includes="*.sh,*.bat" />
555      <fileset dir="${install.src}" includes="includes" />
556      <fileset file="${web.src}/helptexts.xml" />
557    </copy>
558    <chmod dir="${dist.bin}" includes="*.sh" perm="a+x"/>
559  </target>
560  <target
561    name="dist.web"
562    depends="web"
563    description="Generate the web jar file: BASE2Webclient.jar
564      and copy all *.jsp files"
565    >
566    <jar
567      basedir="${web.build}"
568      jarfile="${dist.lib}/BASE2Webclient.jar"
569    />
570    <copy
571      todir="${dist}/www"
572      >
573      <fileset dir="${www}">
574        <include name="**/*"/>
575        <exclude name="**/*.jar" />
576      </fileset>
577    </copy>
578  </target>
579 
580  <target
581    name="dist.doc"
582    depends=""
583    description="Copy required documentation"
584    >
585    <copy todir="${dist}" file="${doc}/installation.html" />
586    <copy todir="${dist}" file="base2.license.txt" />
587    <copy todir="${dist}" file="credits.txt" />
588    <copy todir="${dist}/doc" file="${doc}/3rd-party-components.txt" />
589    <copy todir="${dist}/doc" file="${doc}/configure_unicode_support.txt" />
590    <copy todir="${dist}/doc" file="${doc}/tomcat_with_java_1.5.txt" />
591    <copy todir="${dist}/doc/licenses">
592      <fileset dir="${doc}/licenses" />
593    </copy>
594  </target>
595 
596  <target
597    name="package"
598    depends="dist"
599    description="Package the distribution"
600    >
601    <tar
602      destfile="base-${base.version}.tar.gz"
603      compression="gzip"
604      >
605      <tarfileset
606        dir="${dist}"
607        prefix="base-${base.version}"
608        preserveLeadingSlashes="true"
609      />
610    </tar>
611    <checksum
612      file="base-${base.version}.tar.gz"
613    />
614  </target>
615
616  <target
617    name="clean"
618    description="Remove all generated files and backup files" >
619    <delete dir="${build}"/>
620    <delete dir="${dist}"/>
621    <delete dir="${web.inf}/lib"/>
622    <delete dir="${web.inf}/classes"/>
623    <delete>
624      <fileset dir="." includes="**/base-*.tar.gz*" defaultexcludes="no"/>
625      <fileset dir="." includes="**/*~" defaultexcludes="no"/>
626      <fileset dir="." includes="**/.#*" defaultexcludes="no"/>
627    </delete>
628  </target>
629
630  <target
631    name="exampleplugins"
632    description="Tar the code for example plugins"
633    >
634    <property name="exampledir" location="${src}/examples/plugins" />
635    <javac 
636      encoding="ISO-8859-1"
637      srcdir="${exampledir}/src"
638      destdir="${exampledir}/bin"
639      debug="true"
640      >
641      <classpath>
642        <fileset dir="${exampledir}/lib">
643          <include name="**/*.jar"/>
644        </fileset>
645        <pathelement path="${core.build}" />
646      </classpath>
647    </javac>
648    <jar 
649      jarfile="${exampledir}/ExamplePlugins.jar" 
650      basedir="${exampledir}/bin"
651      manifest="${exampledir}/MANIFEST.MF"
652    />
653    <tar
654      destfile="${doc}/development/plugins/exampleplugins.tar.gz"
655      compression="gzip"
656      >
657      <tarfileset
658        dir="${src}/examples/plugins"
659        preserveLeadingSlashes="true"
660      />
661    </tar>
662    <delete file="${exampledir}/ExamplePlugins.jar" />
663    <delete includeemptydirs="true">
664      <fileset dir="${exampledir}/bin" includes="**/*"/>
665    </delete>
666  </target>
667 
668  <target
669    name="javadoc"
670    depends="javadoc.develop,javadoc.public"
671  />
672
673  <target
674    name="javadoc.develop"
675    description="generate JavaDoc for developers of BASE, ie. include private and protecteed methods.">
676    <!-- Create the time stamp -->
677    <tstamp>
678      <format property="TODAY" pattern="yyyy-MM-dd"/>
679    </tstamp>
680    <mkdir dir="${doc}"/>
681
682    <javadoc
683      packagenames="net.sf.basedb.*"
684      sourcepath="${core.src}:${web.src}:${migrate.src}"
685      destdir="${doc.develop}"
686      author="true"
687      version="true"
688      use="true"
689      private="true"
690      windowtitle="BASE 2.0 Class documentation (developer edition)"
691      stylesheetfile="${doc}/javadoc.css"
692      classpathref="core.compile.classpath"
693      linksource="yes"
694      breakiterator="yes"
695      encoding="iso-8859-1"
696      >
697      <header><![CDATA[Last update: ${TODAY}]]></header>
698      <link href="http://java.sun.com/j2se/1.5/docs/api"/>
699      <link href="http://www.hibernate.org/hib_docs/v3/api"/>
700      <link href="http://www.jdom.org/docs/apidocs/" />
701      <link href="http://java.sun.com/products/servlet/2.2/javadoc/" />
702      <link href="http://www.singularsys.com/jep/doc/javadoc/" />
703      <tag name="base.internal" description="Developer info" />
704      <tag name="base.modified" description="Last modified" />
705      <tag name="hibernate.class" description="Hibernate: class" scope="types" />
706      <tag name="hibernate.subclass" description="Hibernate: subclass" scope="types" />
707      <tag name="hibernate.discriminator" description="Hibernate: discriminator" scope="types" />
708      <tag name="hibernate.id" description="Hibernate: id" scope="methods" />
709      <tag name="hibernate.generator-param" description="Hibernate: generator-param" scope="methods" />
710      <tag name="hibernate.version" description="Hibernate: version" scope="methods" />
711      <tag name="hibernate.property" description="Hibernate: property" scope="methods" />
712      <tag name="hibernate.column" description="Hibernate: column" scope="methods" />
713      <tag name="hibernate.map" description="Hibernate: map" scope="methods" />
714      <tag name="hibernate.set" description="Hibernate: set" scope="methods" />
715      <tag name="hibernate.list" description="Hibernate: list" scope="methods" />
716      <tag name="hibernate.array" description="Hibernate: array" scope="methods" />
717      <tag name="hibernate.one-to-one" description="Hibernate: one-to-one" scope="methods" />
718      <tag name="hibernate.many-to-one" description="Hibernate: many-to-one" scope="methods" />
719      <tag name="hibernate.many-to-many" description="Hibernate: many-to-many" scope="methods" />
720      <tag name="hibernate.index-many-to-many" description="Hibernate: index-many-to-many" scope="methods" />
721      <tag name="hibernate.collection-key" description="Hibernate: collection-key" scope="methods" />
722      <tag name="hibernate.collection-index" description="Hibernate: collection-index" scope="methods" />
723      <tag name="hibernate.collection-composite-index" description="Hibernate: collection-composite-index" scope="methods" />
724      <tag name="hibernate.collection-element" description="Hibernate: collection-element" scope="methods" />
725      <tag name="hibernate.collection-composite-element" description="Hibernate: collection-composite-element" scope="methods" />
726      <tag name="hibernate.collection-one-to-many" description="Hibernate: collection-one-to-many" scope="methods" />
727      <tag name="hibernate.collection-many-to-many" description="Hibernate: collection-many-to-many" scope="methods" />
728      <tag name="hibernate.bag" description="Hibernate: bag" scope="methods" />
729      <tag name="hibernate.many-to-any" description="Hibernate: many-to-any" scope="methods" />
730      <tag name="hibernate.many-to-any-column" description="Hibernate: many-to-any-column" scope="methods" />
731    </javadoc>
732  </target>
733
734  <target
735    name="javadoc.public"
736    description="generate public JavaDoc, ie. without private and protected methods">
737    <tstamp>
738      <format property="TODAY" pattern="yyyy-MM-dd"/>
739    </tstamp>
740    <mkdir dir="${doc}"/>
741    <javadoc
742      packagenames="net.sf.basedb.*"
743      sourcepath="${core.src}:${web.src}"
744      destdir="${doc.public}"
745      author="true"
746      version="true"
747      protected="true"
748      windowtitle="BASE 2.0 Class documentation"
749      stylesheetfile="${doc}/javadoc.css"
750      classpathref="core.compile.classpath"
751      breakiterator="yes"
752      encoding="iso-8859-1"
753      >
754      <header><![CDATA[Last update: ${TODAY}]]></header>
755      <link href="http://java.sun.com/j2se/1.5/docs/api"/>
756      <link href="http://www.hibernate.org/hib_docs/v3/api"/>
757      <link href="http://www.jdom.org/docs/apidocs/" />
758      <link href="http://java.sun.com/products/servlet/2.2/javadoc/" />
759      <link href="http://www.singularsys.com/jep/doc/javadoc/" />
760      <tag name="base.internal" description="Developer info" enabled="false" />
761      <tag name="base.modified" description="Last modified" enabled="false" />
762      <tag name="hibernate.class" description="Hibernate: class" scope="types" enabled="false" />
763      <tag name="hibernate.subclass" description="Hibernate: subclass" scope="types" enabled="false" />
764      <tag name="hibernate.discriminator" description="Hibernate: discriminator" scope="types" enabled="false" />
765      <tag name="hibernate.id" description="Hibernate: id" scope="methods" enabled="false" />
766      <tag name="hibernate.generator-param" description="Hibernate: generator-param" scope="methods" enabled="false" />
767      <tag name="hibernate.version" description="Hibernate: version" scope="methods" enabled="false" />
768      <tag name="hibernate.property" description="Hibernate: property" scope="methods" enabled="false" />
769      <tag name="hibernate.key-property" description="Hibernate: key-property" scope="methods" enabled="false" />
770      <tag name="hibernate.column" description="Hibernate: column" scope="methods" />
771      <tag name="hibernate.map" description="Hibernate: map" scope="methods" enabled="false" />
772      <tag name="hibernate.set" description="Hibernate: set" scope="methods" enabled="false" />
773      <tag name="hibernate.list" description="Hibernate: list" scope="methods" enabled="false" />
774      <tag name="hibernate.array" description="Hibernate: array" scope="methods" enabled="false" />
775      <tag name="hibernate.one-to-one" description="Hibernate: one-to-one" scope="methods" enabled="false" />
776      <tag name="hibernate.many-to-one" description="Hibernate: many-to-one" scope="methods" enabled="false" />
777      <tag name="hibernate.many-to-many" description="Hibernate: many-to-many" scope="methods" enabled="false" />
778      <tag name="hibernate.index-many-to-many" description="Hibernate: index-many-to-many" scope="methods" enabled="false" />
779      <tag name="hibernate.collection-key" description="Hibernate: collection-key" scope="methods" enabled="false" />
780      <tag name="hibernate.collection-index" description="Hibernate: collection-index" scope="methods" enabled="false" />
781      <tag name="hibernate.collection-composite-index" description="Hibernate: collection-composite-index" scope="methods" enabled="false" />
782      <tag name="hibernate.collection-element" description="Hibernate: collection-element" scope="methods" enabled="false" />
783      <tag name="hibernate.collection-composite-element" description="Hibernate: collection-composite-element" scope="methods" enabled="false" />
784      <tag name="hibernate.collection-one-to-many" description="Hibernate: collection-one-to-many" scope="methods" enabled="false" />
785      <tag name="hibernate.collection-many-to-many" description="Hibernate: collection-many-to-many" scope="methods" enabled="false" />
786      <tag name="hibernate.bag" description="Hibernate: bag" scope="methods" enabled="false" />
787      <tag name="hibernate.many-to-any" description="Hibernate: many-to-any" scope="methods" enabled="false" />
788      <tag name="hibernate.many-to-any-column" description="Hibernate: many-to-any-column" scope="methods" enabled="false" />
789    </javadoc>
790  </target>
791
792
793</project>
Note: See TracBrowser for help on using the repository browser.