Ampersand icon indicating copy to clipboard operation
Ampersand copied to clipboard

Should we support MODULEs?

Open RieksJ opened this issue 9 years ago • 6 comments

I have just checked in the ampersand-model: SIAM (Sessions, Identity and Access Management). The idea of being modular is that should be able to just INCLUDE ../SIAM/SIAM.adl, and off you go.

However, if such a module were to need VIEWS, ExecEngine extensions, images or the like, they are not going to be included automatically in a prototype. You would have to copy all that stuff into the INCLUDE directory of your own project to do that, which implies that any updates that may be done in the module (by others) may cause trouble.

I suggest that a means is found, e.g. through the syntax `INCLUDE MODULE <pathAndFile>' that will not just INCLUDE the 'File', but also copy the contents of the INCLUDE directory that is located at the 'Path' from where the file was included. Any other/better suggestions?

RieksJ avatar Jan 06 '16 07:01 RieksJ