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-c.gradle
278 278
  }
279 279
}
280 280

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

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

  
319 303
task pec_setupPreprocess(
320 304
  type: Copy,
321
  dependsOn: ["hec_featureKeys"],
322 305
  description: "Copy PE sources for preprocessing PE"
323 306
) {
324 307
  into "${buildDir}/filtered/pec"
......
363 346

  
364 347
task eec_setupPreprocess(
365 348
  type: Copy,
366
  dependsOn: ["hec_featureKeys"],
367 349
  description: "Copy EE sources for preprocessing EE"
368 350
) {
369 351
  into "${buildDir}/filtered/eec"

Also available in: Unified diff