[rules-users] Unable to initialize KieBase from Windows file system

Daniel Straub ds at ctrlaltdel.de
Tue Jun 25 05:33:43 EDT 2013


We try try to initialize a KieBase like this:



but no rule files where found.
Spending some time for debugging, we realized that in KieBuilderImpl (and
other places) file names are compared with linux path delimiter 



but  - as usally known - Windows file system uses '\' .

We made the followin hack in
org.drools.compiler.commons.jci.readers.DiskResourceReader :

 

and everything runs.

Please respect that some people have to use windows (unfortunatly ...) 



--
View this message in context: http://drools.46999.n3.nabble.com/Unable-to-initialize-KieBase-from-Windows-file-system-tp4024515.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list