echo off
set VERSION=5.0.0.2

set PRJID=openGion

call ..\..\..\bin\init.bat
call %~dp0\org\opengion\hayabusa\init.bat SKIP

set SRC=%DOCBASE%\src
set CLASSPATH=%CLASSPATH%;.;%JAVA_HOME%\lib\tools.jar

set TARGET=%SRC%\..\doc\javadoc

cd %TARGET%

set JDK_API1=-link http://java.sun.com/javase/ja/6/docs/ja/api/
set JDK_API2=-link http://tomcat.apache.org/tomcat-5.5-doc/jspapi/
set JDK_API3=-link http://tomcat.apache.org/tomcat-5.5-doc/servletapi/
rem set JDK_API=-linkoffline http://java.sun.com/j2se/1.5.0/ja/docs/ja/api .

javadoc	-encoding UTF-8 								^
 -taglet org.opengion.fukurou.taglet.TagletFormSample	^
 -taglet org.opengion.fukurou.taglet.TagletTag			^
 -taglet org.opengion.fukurou.taglet.TagletRev			^
 -tag og.group:a:婡擻奒憌:								^
 -tag og.formSample										^
 -tag og.tag											^
 -tag og.rev											^
 -tag og.version										^
 -tag og.rtnNotNull:a:偙偺儊僜僢僪偼丄null傪曉偟傑偣傫:	^
 -tag og.paramLevel:x									^
 -tag og.cryptography:x									^
 -tag version:a:僶乕僕儑儞:								^
 -tag author:a:嶌惉幰:									^
 -tag since												^
 -package												^
 -quiet													^
 -breakiterator											^
 %JDK_API1% %JDK_API2% %JDK_API3% 						^
 -d %TARGET%											^
 -charset "UTF-8"										^
 -overview %SRC%\org\opengion\hayabusa\overview.html	^
 -sourcepath %SRC%										^
 -windowtitle "Web傾僾儕働乕僔儑儞僼儗乕儉儚乕僋 倧倫倕値俧倝倧値"	^
 -doctitle "Web傾僾儕働乕僔儑儞僼儗乕儉儚乕僋 <b>倧倫倕値俧倝倧値</b> %VERSION%"	^
 -header "<table><tr><td><img src=\"{@docRoot}/OpenGion64.PNG\" width=\"64\" height=\"64\" align=\"left\" alt=\"倧倫倕値俧倝倧値\" border=\"0\" /><b>倧倫倕値俧倝倧値</b><br />%VERSION%</td></tr></table>"	^
 -footer "<b>倧倫倕値俧倝倧値</b> %VERSION%"				^
 -bottom "Web傾僾儕働乕僔儑儞僼儗乕儉儚乕僋 <b>倧倫倕値俧倝倧値</b><br><a href=\"{@docRoot}/copyright.html\" target=\"_new\">Copyright </a> (c) 2009 <a href=\"http://sourceforge.jp/projects/opengion/\" target=\"_new\">openGion Project. All Rights Reserved.</a>"	^
 -classpath %CLASSPATH%									^
 org.opengion.hayabusa.common							^
 org.opengion.hayabusa.db								^
 org.opengion.hayabusa.filter							^
 org.opengion.hayabusa.html								^
 org.opengion.hayabusa.io								^
 org.opengion.hayabusa.mail								^
 org.opengion.hayabusa.remote							^
 org.opengion.hayabusa.report							^
 org.opengion.hayabusa.report2							^
 org.opengion.hayabusa.resource							^
 org.opengion.hayabusa.servlet							^
 org.opengion.hayabusa.servlet.multipart				^
 org.opengion.hayabusa.taglib							^
 org.opengion.plugin.calendar							^
 org.opengion.plugin.column								^
 org.opengion.plugin.daemon								^
 org.opengion.plugin.io									^
 org.opengion.plugin.query								^
 org.opengion.plugin.table								^
 org.opengion.plugin.view								^
 org.opengion.fukurou.db								^
 org.opengion.fukurou.mail								^
 org.opengion.fukurou.model								^
 org.opengion.fukurou.process							^
 org.opengion.fukurou.security							^
 org.opengion.fukurou.taglet							^
 org.opengion.fukurou.util								^
 org.opengion.fukurou.xml

echo =============================================================

set TARGET=%SRC%\xslt\javadoc.xml

javadoc	-encoding UTF-8								^
 -doclet org.opengion.fukurou.taglet.DocletTaglib	^
 -version %VERSION%									^
 -outfile %TARGET%									^
 -public											^
 -sourcepath %SRC%									^
 org.opengion.hayabusa.taglib

rem =============================================================

cd %SRC%
echo on

java org.opengion.fukurou.xml.XSLT		^
		META-INF/hybs-taglib.tld xslt/jspHilight.xsl  xslt/jsp.hilight

java org.opengion.fukurou.xml.XSLT		^
		META-INF/hybs-taglib.tld xslt/GF21.xsl  xslt/GF21.xml

java org.opengion.fukurou.xml.XSLT		^
		META-INF/hybs-taglib.tld xslt/GF22.xsl  xslt/GF22.xml

java org.opengion.fukurou.xml.XSLT		^
		xslt/javadoc.xml xslt/GF23.xsl  xslt/GF23.xml

java org.opengion.fukurou.xml.XSLT		^
		xslt/javadoc.xml xslt/GF24.xsl  xslt/GF24.xml

echo off
echo =============================================================

set TARGET=%SRC%\xslt\javadocAtt.xml

javadoc	-encoding UTF-8									^
 -doclet org.opengion.fukurou.taglet.DocletPlugin		^
 -version %VERSION%										^
 -outfile %TARGET%										^
 -public												^
 org.opengion.hayabusa.db								^
 org.opengion.plugin.calendar							^
 org.opengion.plugin.column								^
 org.opengion.plugin.io									^
 org.opengion.plugin.query								^
 org.opengion.plugin.table								^
 org.opengion.plugin.view								^
 org.opengion.plugin.daemon								^
 org.opengion.fukurou.process

echo on

java org.opengion.fukurou.xml.XSLT	^
 	xslt/javadocAtt.xml xslt/GF25.xsl xslt/GF25.xml

java org.opengion.fukurou.xml.XSLT	^
 	xslt/javadocAtt.xml xslt/GE12_pin.xsl xslt/GE12_pin.xml

pause
