Project

Profile

Help

Revision eea2149f

Added by Norman Tovey-Walsh 6 months ago

Move .NET feature keys support into build-n.gradle

View differences:

build-n.gradle
15 15
  additionalIkvmOptions += ["-debug"]
16 16
}
17 17

  
18
task hen_featureKeys(
19
  type: JavaExec,
20
  description: "Construct the feature keys for HE"
21
) {
22
  inputs.files fileTree(dir: "${projectDir}/tools/featureKeys")
23
  outputs.file "${projectDir}/src/main/csharp/api/Saxon.Api/Feature.cs"
24
  outputs.file "${projectDir}/src/main/csharp/api/Saxon.Api/FeatureKeys.cs"
25
  classpath = configurations.preprocessor
26
  main = "net.sf.saxon.Transform"
27
  args "${projectDir}/tools/featureKeys/FeatureKeys.xml",
28
    "-xsl:${projectDir}/tools/featureKeys/FeatureKeysToCSharp.xsl",
29
    "-o:${projectDir}/src/main/csharp/api/Saxon.Api/establish-an-output-base-uri"
30
}
31

  
18 32
task hen_setupPreprocess(
19 33
  type: Copy,
20
  dependsOn: ["hej_featureKeys"],
34
  dependsOn: ["hen_featureKeys"],
21 35
  description: "Copy HE sources for preprocessing HE"
22 36
) {
23 37
  from "${projectDir}/src/main/java"
......
49 63

  
50 64
task pen_setupPreprocess(
51 65
  type: Copy,
52
  dependsOn: ["hec_featureKeys"],
66
  dependsOn: ["hen_featureKeys"],
53 67
  description: "Copy PE sources for preprocessing PE"
54 68
) {
55 69
  from "${projectDir}/src/main/java"
......
112 126

  
113 127
task een_setupPreprocess(
114 128
  type: Copy,
115
  dependsOn: ["hec_featureKeys"],
129
  dependsOn: ["hen_featureKeys"],
116 130
  description: "Copy EE sources for preprocessing EE"
117 131
) {
118 132
  from "${projectDir}/src/main/java"

Also available in: Unified diff