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
file.separator
Daniel Straub wrote
Spending some time for debugging, we realized that in KieBuilderImpl (and
other places) file names are compared with linux path delimiter
We made the followin hack
Hack, indeed. RESOURCES_ROOT should be set correctly, using
System.getProperty(
The first attempt was to modify the RESOURCES_ROOT ... but there are more
places where '/' is used instead of the correct file.separator
e.g. org.drools.compiler.kie.builder.impl.KieBuilderImpl :
--
View this message in context:
It will have to be fixed in most places.
And here is another one:
KieBuilderImpl.generatePomProperties uses \n for line delimiters.
That's not a problem with XML, where it only affects the readability.
See generatePomXml.
-W
On 25/06/2013, Daniel Straub d...@ctrlaltdel.de wrote:
The first
Hi Daniel,
thanks for having reported this ... as you can imagine we don't have many
Windows machines here :)
Anyway I just fixed this issue and the fix will be available starting from
the 6.0-Beta4 version that will be released during this week.
Thanks again and regards,
Mario
--
View this