Description of problem: The workbench uses dot-files to store metadata. For instance, if a user creates a rule in a file called "rule.drl", the workbench creates an additional file named ".rule.drl" to store the metadata. If a user git clones the repository from the workbench and generates the jar outside of the workbench (with maven, for instance), it will include the dot-files. When the application tries to load/compile a kbase, it only checks for the file extension (e.g. "drl") and tries to compile the dof-file (e.g. ".rule.drl") as if it was a regular drl file, raising compilation errors and failing to create the kbase. It is necessary to change the KieBuilder to filter out dot-files during compilation. Version-Release number of selected component (if applicable): 6.0.0.ER7 How reproducible: Create a jar containing a file rule.drl with a rule and a file named .rule.drl containing random content. Try to generate the kbase. Actual results: Compilation errors on .rule.drl Expected results: No compilation errors, as the dot-files should be ignored.
This issue has been already fixed by this commit https://github.com/droolsjbpm/drools/commit/1718eb18a17a686d8a60f592c03da120e0d3dd95 as part of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=1044409 Michael also cherry-picked that commit to 6.0.x branch. *** This bug has been marked as a duplicate of bug 1044409 ***