Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
4.0.0.MR3
-
None
Description
We need to have a new .pkg file (or .package - any file name extension will do). The purpose of this JIRA is twofold:
1) Develop a simple eclipse forms based GUI to edit the package file
2) Modify DroolsBuilder.
The file format is basically the same as drl today - except without any rules, queries or functions. ie just the "header" part of the rule, still plain text.
The GUI will ideally will use eclipse forms, and provide a seperate window for imports, another for globals etc... when defining an import or a global, the Drl parser can be used to extract the list of imports and globals (just parse it, and getGlobals, getImports) - just a suggestion. Also, a class finder dialog would be nice (like when you pretty ctrl+shift+t - which examines the project classpath). Of course, a text view is also cool.
DroolsBuilder: when a package file is seen, that means that in the SAME FOLDER there will be lots of .rule files, .drl etc.. which all get build in the context of the package file - so the DroolsBuilder will need to be aware of this. The current parser/api can deal with this (apparently).