1and1 / ioc-unit

A toolbox to create tests for deployments using jpa, resteasy, ejb, jta, jms, validation,...
Apache License 2.0
11 stars 9 forks source link

isCdiClass always returns falls when project folder contains a space. #9

Closed jeroen-dioss closed 5 years ago

jeroen-dioss commented 5 years ago

The lookup of the class path in the method com.oneandone.ejbcdiunit.cfganalyzer.TestConfigAnalyzer#isCdiClass will always fall if the url contains a space: URL location = c.getProtectionDomain().getCodeSource().getLocation() --> will return an url with the space escaped (%20), "file:/my%20folder" cdiClasspathEntries --> contains the url without escaping: "file:/my folder"

aschoerk commented 5 years ago

Solved in 1.1.17