It seems that the pch excluded files as listed in an
<except> element of a <precompile> element are not
Actually after looking at the code it looks like the
<dir> attribute specified is simply not used.
Here is a patch to correct the issue.
Mostly it adds a "scanner.getBasedir() + File.separator
+ ..." to file names when collecting them.