Project

Profile

Help

Revision 2699858e

Added by Norman Tovey-Walsh 9 months ago

Deal with FeatureKeys

View differences:

build-c.gradle
278 278
  }
279 279
}
280 280

  
281
task hec_featureKeys(
282
  type: JavaExec,
283
  description: "Construct the feature keys for HE"
284
) {
285
  inputs.files fileTree(dir: "${projectDir}/tools/featureKeys")
286
  outputs.file "${projectDir}/src/main/csharp/api/Saxon.Api/Feature.cs"
287
  outputs.file "${projectDir}/src/main/csharp/api/Saxon.Api/FeatureKeys.cs"
288
  classpath = configurations.preprocessor
289
  main = "net.sf.saxon.Transform"
290
  args "${projectDir}/tools/featureKeys/FeatureKeys.xml",
291
    "-xsl:${projectDir}/tools/featureKeys/FeatureKeysToCSharp.xsl",
292
    "-o:${projectDir}/src/main/csharp/api/Saxon.Api/establish-an-output-base-uri"
293
}
294

  
281 295
task hec_setupPreprocess(
282 296
  type: Copy,
297
  dependsOn: ["hec_featureKeys"],
283 298
  description: "Copy HE sources for preprocessing HE"
284 299
) {
285 300
  into "${buildDir}/filtered/hec"

Also available in: Unified diff