Debian build is missing files after installation


$ wget

$ dpkg -i fess-12.4.1.deb

$ ls -ls /usr/share/fess/lib/classes/org/codelibs/fess
total 8
8 -rw-r--r-- 1 fess fess 4688 Dec 16 08:00 FessBoot.class

Both the deb and the zip file contain FessBoot$CustomErrorReportValve.class in that folder, but these files are somehow not properly installed. (Update: The zip file has the file in both folders, just not the deb file.)

See also: #1936 and

$ dpkg-deb -c fess-12.4.1.deb | grep FessBoot
-rwxr-xr-x fess/fess       531 2018-12-16 08:00 ./usr/share/fess/app/WEB-INF/classes/org/codelibs/fess/FessBoot$CustomErrorReportValve.class
-rwxr-xr-x fess/fess      4688 2018-12-16 08:00 ./usr/share/fess/app/WEB-INF/classes/org/codelibs/fess/FessBoot.class
-rw-r--r-- fess/fess      4688 2018-12-16 08:00 .//usr/share/fess/lib/classes/org/codelibs/fess/FessBoot.class

I guess these lines don’t copy the anonymous class properly:

Thanks. I’ll fix and release it.

@marevol. Thanks! Actually, the problem seems to lay in the pom.xml, which explicitly specifies FessBoot file in the jdeb configuration:

This could work:


@marevol See #1940.

Verified fixed in latest snapshot.