Project

Profile

Help

Revision a755f9d7

Added by Debbie Lockett 8 months ago

Docs build: update list of exclusions for javadoc (referring to old Ant copysrc-eej target list); include compilation of viewer_app SEF in build

View differences:

build-doc.gradle
34 34
    include "net/**"
35 35
    include "com/**"
36 36
    include "javax/**"
37
    exclude "com/saxonica/testdriver/**"
38
    exclude "net/sf/saxon/testdriver/**"
39 37
    exclude "**/dotnet/**"
40
    exclude "**/DotNetVerifier.java"
38
    exclude "net/sf/saxon/option/cpp/**"
39
    exclude "net/sf/saxon/testdriver/**"
40
    exclude "com/saxonica/functions/extfn/cpp/**"
41
    exclude "com/saxonica/js/**"
42
    exclude "com/saxonica/testdriver/**"
43
    exclude "com/saxonica/config/DotNetExtensionFunctionFactory.java"
44
    exclude "com/saxonica/config/DotNetExtensionLibrary.java"
45
    exclude "com/saxonica/config/DotNetPlatformPE.java"
46
    exclude "com/saxonica/config/JavaPlatformC.java"
47
    exclude "com/saxonica/expr/DotNetExtensionFunctionCall.java"
41 48
  }
42 49
}
43 50

  
......
83 90
                 "-d", "${buildDir}/javadoc",
84 91
                 "-package",
85 92
                 "-classpath", cp,
86
                 "-bottom", "Copyright (c) 2004-2021 Saxonica Limited.",
93
                 "-bottom", "Copyright (c) 2004-2021 Saxonica Limited. All rights reserved.",
87 94
                 "-doctitle", "Saxon ${saxonVersion} Java API Documentation",
88 95
                 "-group", "s9api Interface", "net.sf.saxon.s9api",
89 96
                 "-group", "Other Interfaces", "net.sf.saxon:net.sf.saxon.lib:net.sf.saxon.om:net.sf.saxon.query:net.sf.saxon.sxpath:net.sf.saxon.value:net.sf.saxon.type:net.sf.saxon.xpath:net.sf.saxon.xqj",
......
526 533

  
527 534
task viewer_app_sef(
528 535
  type: JavaExec,
529
  description: "Compile the viewer_app"
536
  description: "Compile the viewer_app stylesheet"
530 537
) {
531 538
  inputs.files fileTree(dir: "${projectDir}/src/viewer_appJS/xsl")
532
  outputs.file "${buildDir}/viewer_app/xsl/viewer_app.sef.json"
539
  outputs.file "${buildDir}/userdoc/viewer_appJS/xsl/viewer_app.sef.json"
533 540
  classpath = configurations.documentation
534 541
  main = "com.saxonica.Transform"
535 542
  args "-xsl:${projectDir}/src/viewer_appJS/xsl/viewer_app.xsl",
536
    "-export:${buildDir}/viewer_app/xsl/viewer_app.sef.json",
543
    "-export:${buildDir}/userdoc/viewer_appJS/xsl/viewer_app.sef.json",
537 544
    "-target:JS", "-nogo", "-relocate:on", "-ns:##html5",
538 545
    "--generateByteCode:off",
539 546
    "SEFbuildDate=${DSTAMP}"
......
579 586

  
580 587
task userdoc_viewer_appJS(
581 588
  type: Copy,
582
  dependsOn: ["userdoc_articles", "userdoc_publish_viewer_appJS"],
589
  dependsOn: ["userdoc_articles", "userdoc_publish_viewer_appJS", "viewer_app_sef"],
583 590
  description: "Copy transformed articles to app docs"
584 591
) {
585 592
  into "${buildDir}/userdoc/viewer_appJS/doc"

Also available in: Unified diff