-
Bug
-
Resolution: Done
-
Major
-
6.4.0.Beta2
-
None
-
NEW
-
NEW
had to touch little bit the Kie-Spring to get the resources correctly. This is the only class I had to touch:
https://gist.github.com/dvirgiln/0f65d184c2004127b1db#file-gistfile1-txt-L90-L95
getClass().getResource("/") is failing on EAP, it returns null
This code needs to get the path of the kie-spring.jar. This is the only way I found to get the containing jar path.
This code is working. Maybe you know another way.
ClassLoader cl = getClass().getClassLoader();
URL url = getClass().getProtectionDomain().getCodeSource().getLocation();
configFilePath = url.getPath();
if (configFilePath.endsWith("!/"))
- blocks
-
ENTESB-5033 Include the KIE Camel libraries on EAP distribution
- Closed