drccrd opened a new issue, #3714:
URL: https://github.com/apache/incubator-kie-tools/issues/3714

   The workspace-siblings SPI can already express any grouping — 
WorkspaceSiblingResolver is just Path -> List<Path>. But nothing can install 
one: setActive is a static setter and only the tests call it. To use the SPI 
you have to run your own Java inside the server process, which means shipping a 
patched server instead of the marketplace one. So the extension point has no 
users, and everyone gets directory grouping.
   
   That matters because directory grouping isn't what the compiler does. 
Sources can be written into a KieFileSystem based on intended use, and the 
kbase's packages attribute decides what compiles together, and declares, 
imports, functions and globals resolve across that group.
   
   So the extension needs a shipped interface implementation to define DRL file 
grouping for compilation, which needs to be configurable. The configuration 
format probably needs to be polled with the community.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to