Actions
Bug #5125
closedBuild script for SaxonCS: C# is not regenerated after minor Java changes
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.
Please register to edit this issue
Actions