[build] the build can now autoclean

autocleaning means that the build system detects that the usual incremental mode,
where the build artefacts are not deleted and instead used to skip steps already performed,
is not an option due to changes in the build script itself or a change in deps not detectable.

It works by having a version number which can be incremented, and a system that checks
for mismatches and forces a clean.
This commit is contained in:
Reinier Zwitserloot
2020-12-04 07:14:14 +01:00
parent 59bf969500
commit ea442e676c
5 changed files with 41 additions and 7 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ version on mavencentral is the last version that is ever needed; the code itself
exists as a separate dependency solely because it is itself dependent on both lombok and mapstruct.
</description>
<target name="-mapstructBinding.compile">
<target name="-mapstructBinding.compile" depends="-setup.build">
<mkdir dir="build/mapstruct" />
<javac includeAntRuntime="false" source="1.8" target="1.8" destdir="build/mapstruct">
<src path="src/j9stubs" />