-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I know this is a kind of lame bug report, but I'm afraid I haven't been able to narrow it down.
If you run a lot of XSLT transformations in parallel with the plugin, Gradle sometimes causes the plugin to throw I/O errors. I don't think this is related to Saxon, I think it's an issue with the WorkQueue or Gradle somehow. I say this because I've written two other plugins based on the model of saxon-gradle and they exhibit the same behavior even when Saxon isn't involved.
With the Saxon plugin, this is usually surfaces as a java.lang.ExceptionInInitializerError exception with no further detail. I think this is caused when Saxon is initializing and cannot load its configuration files. (Language information for regexp character classes and the like.)
I've "fixed" this by adding an option that allows the user to disable parallel execution. I'll see about constructing a PR for this when I get a chance.