eerohele / dita-ot-gradle

A Gradle plugin for running DITA Open Toolkit
https://github.com/eerohele/dita-ot-gradle/
Apache License 2.0
13 stars 6 forks source link

Gradle throws java.lang.IllegalAccessError sporadically when daemon is enabled #4

Closed eerohele closed 8 years ago

eerohele commented 8 years ago

A full example stack trace.

This happens probably because Gradle uses commons-io 1.4 and the DITA-OT Gradle Plugin uses a newer version, the classloader randomly picks which version is used, and throws the IllegalAccessError because the FilenameUtils.isSystemWindows is private in 1.4.

eerohele commented 8 years ago

Hopefully fixed via 4660334a7b1bcf2c5355b5d7acd7d867c656f997.