Project

Profile

Help

Bug #5125

closed

Build script for SaxonCS: C# is not regenerated after minor Java changes

Added by Michael Kay over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Build and release
Sprint/Milestone:
-
Start date:
2021-10-13
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
11
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:
.NET, Java

Description

The gradle build scripts for SaxonCS do not regenerate C# code after minor changes to the Java: specifically, after Java changes that are sufficiently small that the content of the digest file is not affected. This typically happens when there are no new or deleted methods or changes to method signatures.

(Note, ideally if there is no change to the digest, we would only regenerate those C# classes derived directly from the modified Java. But optimizing the performance of the build is less important than getting it right.)

As a workaround, it's possible to force regeneration of the C# by adding a dummy method to a class, removing it immediately afterwards.

Actions #1

Updated by Norm Tovey-Walsh over 2 years ago

  • Status changed from New to Resolved

Sorry about that oversight.

Actions #2

Updated by O'Neil Delpratt about 2 years ago

  • % Done changed from 0 to 100
  • Fixed in Maintenance Release 11.1 added
  • Platforms .NET, Java added
Actions #3

Updated by O'Neil Delpratt about 2 years ago

  • Status changed from Resolved to Closed

Closes this internal issue.

Please register to edit this issue

Also available in: Atom PDF