@@ -50,7 +50,7 @@ ${src.dir}/org/olap4j/mdx/parser/impl/DefaultMdxParserSym.java" />
50
50
51
51
<!-- Override to create a proper release. -->
52
52
<target name =" dist"
53
- depends =" clean,version-properties,jar,tck-jar,xmla-jar,javadoc,javadoc-pdf,jar-jdk14,source.zip"
53
+ depends =" clean,version-properties,jar,tck-jar,xmla-jar,javadoc,javadoc-pdf,javadoc-with-ydoc, jar-jdk14,source.zip"
54
54
description =" Creates a distribution" >
55
55
<zip zipfile =" ${ dist.dir } /${ zip.filename } " >
56
56
<zipfileset dir =" ${ basedir } /doc" prefix =" ${ ivy.artifact.id } -${ project.revision } /doc"
@@ -68,7 +68,7 @@ VERSION.txt" />
68
68
</zip >
69
69
</target >
70
70
71
- <target name =" doczip" depends =" clean-all,clean-tests,compile,compile-tests,version-properties,javadoc,javadoc-pdf"
71
+ <target name =" doczip" depends =" clean-all,clean-tests,compile,compile-tests,version-properties,javadoc,javadoc-pdf,javadoc-with-ydoc "
72
72
description =" Creates an archive of all docs to deploy on www.olap4j.org.
73
73
See also doc/deployDoc.sh." >
74
74
<mkdir dir =" ${ dist.dir } " />
@@ -430,6 +430,44 @@ class XmlaOlap4jDriverVersion {
430
430
</javadoc >
431
431
</target >
432
432
433
+ <!--
434
+ Generate javadoc with embedded UML diagrams using the yDoc doclet from
435
+ yWorks.com. Set ydoc.home in build.properties, then replace
436
+ ${ydoc.home}/resources/ydoc.license with a full license (free for open
437
+ source use).
438
+ -->
439
+ <target name =" javadoc-with-ydoc" depends =" clean-stray-package-html" >
440
+ <mkdir dir =" ${ javadoc.dir } " />
441
+ <delete quiet =" true" file =" ${ javadoc.dir } /index.html" />
442
+ <property name =" ps" value =" ${ path.separator } " />
443
+ <javadoc sourcepath =" ${ src.dir } " classpathref =" javadoc.classpath"
444
+ destdir =" ${ javadoc.dir } " packagenames =" org.olap4j.*"
445
+ excludepackagenames =" org.olap4j.impl.*,org.olap4j.mdx.parser.impl.*,org.olap4j.sample.*"
446
+ overview =" ${ src.dir } /overview.html"
447
+ footer =" <a href="http://sourceforge.net/projects/olap4j"><img src="http://sourceforge.net/sflogo.php?group_id=168953&type=1" width="88" height="31" border="0" alt="SourceForge.net_Logo"></a>"
448
+ author =" true" source =" 1.5" access =" public"
449
+ Windowtitle =" olap4j, version ${ project.revision } " additionalparam =" -linksource" >
450
+ <tag name =" pre" description =" Pre-condition:" scope =" constructors,methods" />
451
+ <tag name =" post" description =" Post-condition:" scope =" constructors,methods" />
452
+ <tag name =" testcase" description =" Test-case:" scope =" constructors,methods,types" />
453
+ <link href =" http://download.oracle.com/javase/6/docs/api/" />
454
+ <link href =" http://junit.sourceforge.net/javadoc/" />
455
+ <doclet name =" ydoc.doclets.YStandard"
456
+ path =" ${ ydoc.home } /lib/ydoc.jar${ ps } ${ ydoc.home } /lib/class2svg.jar${ ps } ${ ydoc.home } /resources${ ps } ${ ydoc.home } /doc" >
457
+ <param name =" -author" />
458
+ <param name =" -generic" />
459
+ <param name =" -umlautogen" />
460
+ <param name =" -tag" value =" y.precondition" />
461
+ <param name =" -tag" value =" y.postcondition" />
462
+ <param name =" -tag" value =" y.complexity" />
463
+ <param name =" -tag" value =" param" />
464
+ <param name =" -tag" value =" return" />
465
+ <param name =" -tag" value =" see" />
466
+ <param name =" -tag" value =" y.uml" />
467
+ </doclet >
468
+ </javadoc >
469
+ </target >
470
+
433
471
<target name =" javadoc-pdf" depends =" clean-stray-package-html" >
434
472
<javadoc sourcepath =" ${ src.dir } " classpathref =" javadoc.classpath"
435
473
packagenames =" org.olap4j.*"
0 commit comments