Name:gen-javadoc
Type:script
Source:gen-javadoc-lib.psm1
function params([Task]$task,[hashtable]$htOpts) {
$parms = @{};
$parms.brief = "$($task.statlocn)"
$parms.str = "create Brief"
$parms['swkey='] = 'key-value';
return $parms
}
# ---------- define task options
function options {
param([Object]$task)
$opts = @();
return ,$opts
}
# ---------- the actual script
function runScript([Task]$task, [hashtable]$parms, [hashtable]$status) {
$cfb = $task.cfb;
hlog("Running script $($task.name) $($cfb.cpBase)")
$status.run="Running script $($task.name) $($cfb.cpBase)";
#& "$($env:java_home)\bin\javadoc.exe" -sourcepath "$($cfb.gaelBase)/src/java" -subpackages com -d "$($cfb.cpBase)/psecjava/demo/htm" -overview "$($cfb.cpBase)/psecjava/demo/src/html/overview.htm"
& "C:\c-pgms\jdk8u60\bin\javadoc.exe" -sourcepath "$env:GAEL_CORE/java-src/src" -subpackages org -d "d:/1/gael-doc/htm" -overview "$env:GAEL_CORE/java-src/gael-overview.htm"
}
Copyright © 2018-2021, 2022, Rexcel System Inc.