Kaydet (Commit) cf53e0ea authored tarafından Stephan Bergmann's avatar Stephan Bergmann

No idl check for --without-doxygen

Change-Id: Id1a8629aac38ef3214d0f891ecc9f36d666552c3
üst 497d894c
...@@ -221,147 +221,149 @@ if (-d "$SdkDir") { ...@@ -221,147 +221,149 @@ if (-d "$SdkDir") {
#check idl docu, it is only a first and simple check #check idl docu, it is only a first and simple check
# improvement required # improvement required
print "check idl docu: "; if ($ENV{'DOXYGEN'} ne '') {
if (check_dir("docs/idl/ref")) { print "check idl docu: ";
if (!check_file("docs/idl/ref/index.html")) { if (check_dir("docs/idl/ref")) {
print "\nERROR: \"docs/idl/ref/index.html\" is missing\n"; if (!check_file("docs/idl/ref/index.html")) {
$return++; print "\nERROR: \"docs/idl/ref/index.html\" is missing\n";
} $return++;
if (!check_file("docs/idl/ref/classes.html")) { }
print "\nERROR: \"docs/idl/ref/classes.html\" is missing\n"; if (!check_file("docs/idl/ref/classes.html")) {
$return++; print "\nERROR: \"docs/idl/ref/classes.html\" is missing\n";
} $return++;
if (!check_file("docs/idl/ref/namespaces.html")) { }
print "\nERROR: \"docs/idl/ref/namespaces.html\" is missing\n"; if (!check_file("docs/idl/ref/namespaces.html")) {
$return++; print "\nERROR: \"docs/idl/ref/namespaces.html\" is missing\n";
} $return++;
}
my @idl_dirlist = ( "accessibility", my @idl_dirlist = ( "accessibility",
"animations", "animations",
"auth", "auth",
"awt", "awt",
"awt/tab", "awt/tab",
"awt/tree", "awt/tree",
"awt/grid", "awt/grid",
"beans", "beans",
"bridge", "bridge",
"bridge/oleautomation", "bridge/oleautomation",
"chart", "chart",
"chart2", "chart2",
"chart2/data", "chart2/data",
"configuration", "configuration",
"configuration/backend", "configuration/backend",
"configuration/backend/xml", "configuration/backend/xml",
"configuration/bootstrap", "configuration/bootstrap",
"connection", "connection",
"container", "container",
"cui", "cui",
"datatransfer", "datatransfer",
"datatransfer/clipboard", "datatransfer/clipboard",
"datatransfer/dnd", "datatransfer/dnd",
"deployment", "deployment",
"deployment/ui", "deployment/ui",
"document", "document",
"drawing", "drawing",
"drawing/framework", "drawing/framework",
"embed", "embed",
"form", "form",
"form/binding", "form/binding",
"form/component", "form/component",
"form/control", "form/control",
"form/inspection", "form/inspection",
"form/runtime", "form/runtime",
"form/submission", "form/submission",
"form/validation", "form/validation",
"formula", "formula",
"frame", "frame",
"frame/status", "frame/status",
"gallery", "gallery",
"geometry", "geometry",
"graphic", "graphic",
"i18n", "i18n",
"image", "image",
"inspection", "inspection",
"io", "io",
"java", "java",
"lang", "lang",
"ldap", "ldap",
"linguistic2", "linguistic2",
"loader", "loader",
"logging", "logging",
"mail", "mail",
"media", "media",
"mozilla", "mozilla",
"packages", "packages",
"packages/manifest", "packages/manifest",
"packages/zip", "packages/zip",
"plugin", "plugin",
"presentation", "presentation",
"reflection", "reflection",
"registry", "registry",
"rendering", "rendering",
"report", "report",
"report/inspection", "report/inspection",
"resource", "resource",
"scanner", "scanner",
"script", "script",
"script/browse", "script/browse",
"script/provider", "script/provider",
"sdb", "sdb",
"sdb/application", "sdb/application",
"sdb/tools", "sdb/tools",
"sdbc", "sdbc",
"sdbcx", "sdbcx",
"security", "security",
"sheet", "sheet",
"smarttags", "smarttags",
"style", "style",
"svg", "svg",
"system", "system",
"table", "table",
"task", "task",
"text", "text",
"text/fieldmaster", "text/fieldmaster",
"text/textfield", "text/textfield",
"text/textfield/docinfo", "text/textfield/docinfo",
"ucb", "ucb",
"ui", "ui",
"ui/dialogs", "ui/dialogs",
"uno", "uno",
"uri", "uri",
"util", "util",
"view", "view",
"xforms", "xforms",
"xml", "xml",
"xml/crypto", "xml/crypto",
"xml/crypto/sax", "xml/crypto/sax",
"xml/csax", "xml/csax",
"xml/dom", "xml/dom",
"xml/dom/events", "xml/dom/events",
"xml/dom/views", "xml/dom/views",
"xml/input", "xml/input",
"xml/sax", "xml/sax",
"xml/wrapper", "xml/wrapper",
"xml/xpath", "xml/xpath",
"xsd" ); "xsd" );
# Due to MSI limitations have to use SHORT_NAMES on windows so can't check # Due to MSI limitations have to use SHORT_NAMES on windows so can't check
if ($OperatingSystem ne "windows") { if ($OperatingSystem ne "windows") {
foreach $i (@idl_dirlist) foreach $i (@idl_dirlist)
{ {
$i =~ s/\//_1_1/g; $i =~ s/\//_1_1/g;
if (!check_file("docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html")) { if (!check_file("docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html")) {
$return++; $return++;
print "\nERROR: \"docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html\" is missing\n"; print "\nERROR: \"docs/idl/ref/namespacecom_1_1sun_1_1star_1_1$i.html\" is missing\n";
} else {
print "+";
}
}
}
} else { } else {
print "+"; $return++;
} }
print "\n";
} }
}
} else {
$return++;
}
print "\n";
} else { } else {
$return++; $return++;
......
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