Java 1.7 gives me error text, rather than a mystery failure. The error
text corresponds to the vals which delombok was unable to remove. For
example:
[ERROR] /home/adrian/test/Project/src/main/java/uk/co/humboldt/Project/
Web/Reporting/ParameterisedReportSelector.java:[26,6] error: Cannot
use 'val' here because initializer expression does not have a
representable type: Type cannot be resolved
val reportmodel = new UnversionedJpaModel<Report,
Long>(Report.class,
null);
It seems that in certain files, every val fails. I don't know what
marks out these files as special - they compile inside Eclipse. Also,
the list of files that fail is not consistent from run to run. I've
just made three attempts to build, removing the target directory in
between. The first attempt had 34 errors, the second 43, and the third
39.
I may try later - this application has 625 source files in it, and
won't shrink down easily. I have several smaller projects using Lombok
that build without problems.