querydsl / codegen

Java/Scala Code generation tool
Apache License 2.0
23 stars 22 forks source link

Fix codegen when using SureFire Booter combined with JaCoCo #10

Closed mcuelenaere closed 11 years ago

mcuelenaere commented 11 years ago

When using codegen with SureFire Booter + JaCoCo, codegen was unable to determine the correct classpath, as its check for SureFire Booter was too strict (both the surefirebooter and jacoco jars were on the cp, while the code was only expecting surefirebooter).

Fix this in a more generic way by checking all classloader URLs for surefirebooter.

timowest commented 11 years ago

Thanks for the patch