echo off
set VERSION=7.3.0.0

rem FRAME出力は、jdk11 までしか使えない
set JAVADOC_V6=JAVADOC_V6

call ..\..\..\bin\init.bat

set SRC=..\src
set CLASSPATH=%CLASSPATH%;.;%CATALINA_HOME%\lib\*;%CATALINA_HOME%\bin\*;%EXT_DIR%\*

set TARGET=javadocV7

javadoc	-encoding UTF-8 								^
 -J-Dhttp.proxyHost=172.27.2.114 -J-Dhttp.proxyPort=8080 -J-Dhttps.proxyHost=172.27.2.114 -J-Dhttps.proxyPort=8080	^
 -tag og.value:初期値:									^
 -tag og.rev:変更履歴:									^
 -tag og.group:機能分類									^
 -tag og.rtnNotNull:このメソッドは、nullを返しません	^
 -tag og.doc03Link:DOCﾘﾝｸ:								^
 -tag og.formSample:形式サンプル:						^
 -tag og.tag:説明:										^
 -tag og.paramLevel										^
 -tag og.cryptography									^
 -tag version:バージョン								^
 -tag author:作成者										^
 -tag since												^
 -package												^
 -quiet													^
 --frames												^
 -breakiterator											^
 -link https://docs.oracle.com/javase/jp/15/docs/api/	^
 -d %TARGET%											^
 -charset "UTF-8"										^
 -overview %SRC%\org\opengion\hayabusa\overview.html	^
 -sourcepath %SRC%										^
 -windowtitle "Webアプリケーションフレームワーク openGion"	^
 -doctitle "Webアプリケーションフレームワーク <b>openGion</b> %VERSION%"	^
 -header "<table><tr><td><img src=\"{@docRoot}/OpenGion64.PNG\" width=\"64\" height=\"64\" align=\"left\" alt=\"openGion\" border=\"0\" /><b>openGion</b><br />%VERSION%</td></tr></table>"	^
 -footer "<b>openGion</b> %VERSION%"					^
 -bottom "Webアプリケーションフレームワーク <b>openGion</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.queue							^
 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.cloud								^
 org.opengion.plugin.column								^
 org.opengion.plugin.daemon								^
 org.opengion.plugin.io									^
 org.opengion.plugin.query								^
 org.opengion.plugin.report								^
 org.opengion.plugin.table								^
 org.opengion.plugin.view								^
 org.opengion.penguin.common							^
 org.opengion.penguin.math								^
 org.opengion.penguin.math.ga							^
 org.opengion.penguin.math.statistics					^
 org.opengion.fukurou.business							^
 org.opengion.fukurou.db								^
 org.opengion.fukurou.fileexec							^
 org.opengion.fukurou.mail								^
 org.opengion.fukurou.model								^
 org.opengion.fukurou.process							^
 org.opengion.fukurou.queue								^
 org.opengion.fukurou.security							^
 org.opengion.fukurou.system							^
 org.opengion.fukurou.taglet2							^
 org.opengion.fukurou.util								^
 org.opengion.fukurou.xml

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

rem 一旦アシュクフォルダに入らないと、余計なﾌｫﾙﾀﾞが含まれてしまう。
cd %TARGET%

zip -q -r ..\opengionAPI_%VERSION%.zip .

pause
