Commit ba33ebdf authored by Dr. Martin Goik's avatar Dr. Martin Goik

Linkink Docbook with Javadoc

parent c29e35ea
......@@ -7,7 +7,9 @@ PPARAM=\
-p eclipse.plugin.name Swd1 \
-p eclipse.plugin.provider 'Martin Goik, goik@hdm-stuttgart.de'
CP:=../ws/Docbook/Dbtools/target/classes:../ws/eclipse/Jdbc/target/classes:../ws/eclipse/HibIntro/target/classes:${HIBDEPS}:${JDBCDEPS}
JAVAPROJECTS=P/fraction/V1
BUILDROOT=/tmp
#--no changes below this line------------------------------
......@@ -15,25 +17,14 @@ BUILDBASE=$(BUILDROOT)/$(SCRIPTBASENAME)
BUILDNAVI=$(BUILDBASE)/navi/$(PLUGINID)
BUILDNONAVI=$(BUILDBASE)/nonavi/$(PLUGINID)
all::${BUILDNAVI}/index.html ${BUILDNAVI}/printversion.pdf jdoc
all::${BUILDNAVI}/index.html ${BUILDNAVI}/printversion.pdf
jdocbase:
for project in P/Fraction/V1 do
#cd ../ws/eclipse;javadoc \
#-classpath ${HIBDEPS}:${JDBCDEPS} -d ${BUILDNAVI}/Ref/api -linksource \
# -link http://docs.oracle.com/javase/7/docs/api -link http://testng.org/javadocs -link http://docs.oracle.com/javaee/6/api \
# -link http://www.jdom.org/docs/apidocs -link http://docs.jboss.org/hibernate/orm/4.1/javadocs \
# `find Jdbc -name \*.java|grep -v \.metadata` `find Hibintro -name \*.java|grep -v \.metadata`
jdoc:
$(foreach prj,$(JAVAPROJECTS),(cd $(prj);mvn javadoc:javadoc \"-DjavadocDestdir=${BUILDNAVI}/Ref/api/$(prj)\");)
${BUILDNAVI}/index.html ${BUILDNAVI}/printversion.pdf:${SCRIPTBASENAME}.xml lastAnswerId.xml
rm -rf $(BUILDBASE) || true
mkdir -p ${BUILDNAVI} ${BUILDNONAVI
rm -rf ${BUILDBASE} || true
mkdir -p ${BUILDNAVI} ${BUILDNONAVI}
#cd Ref/Fig;make all
saxon9he-xslt -xi -s:${SCRIPTBASENAME}.xml -xsl:../ws/Docbook/Extensions/Xsl/docbook2docbook.xsl > ${SCRIPTBASENAME}.answer.xml
/usr/share/xmlmind/bin/convertdoc -p eclipse.plugin.id $(PLUGINID) ${PPARAM} db5.toEclipseHelp ${SCRIPTBASENAME}.answer.xml -u $(BUILDNAVI)
......
......@@ -12,6 +12,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<javadocDestdir>~/tmp</javadocDestdir>
</properties>
<build>
......@@ -31,9 +32,10 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<configuration>
<linksource>true</linksource>
<!-- Setting destDir interferes with taglet class -->
<additionalJOptions>
<additionalJOption>-d ~/tmp/${name}</additionalJOption>
<additionalJOption>-d ${javadocDestdir}</additionalJOption>
</additionalJOptions>
<taglets>
......
......@@ -1945,7 +1945,8 @@ public void writeSvg() {
* @return
* the current default interest rate value.
*/
public static double getDefaultInterestRate() {
public static double <link
xlink:href="Ref/api/P/fraction/V1/de/hdm_stuttgart/de/sd1/fraction/Fraction.html">getDefaultInterestRate()</link> {
return defaultInterestRate;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment