tedfoye/drools-knowledge-packager — Issue #7: File globbing is not deterministic. 
Author: sferich888
Created: 2012-01-26 19:05:54+00:00
State: open

Order matters on the loading and compiling of .drl, .bpm, and .functions if these are out of order one can experience difficult to diagnose compile errors.

This is why it is I recommend that you explicitly order your 's.

Between lines 66 and 67 of "drools-knowledge-packager / src / main / java / org / fiirs / drools / knowledge / packager / KnowledgeEntries.java", I suggest that you sort the jarFileEntries. Thus at least making the globbing deterministic.

For extra credit, if you can figure out what order the files should be loaded in, similar to the way Guvnor does, that would be nice as well, but for now making it predictable should highlight build issues earlier.