-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we support MODULEs? #261
Comments
Great idea to support modules! I don't believe it is a good idea to look into a directory relative to the path of a certain file. I do like the idea of modules, so how about a |
Where @sjcjoosten seems to look more from a tool-implementers perspective, I was looking more from a developer perspective. So while @sjcjoosten prefers W.r.t. conflicting files, I can see combinations of two distinct concerns: files having the same name (and same path) and files having the same content. The only situation is where filenames (including path) are the same, AND their content differs. This should produce an error. In all other cases, you can just copy the files. There is however still something else: the construction of the A final issue might be the ability to extend |
I like the rule that files with the same path must have the same content. My remark about using If |
This issue is stale because it has been open 5 years with no activity. Remove stale label or comment or this will be closed in 30 days. |
This issue was closed because it has been stalled for 30 days with no activity. |
As soon as the initial work on namespaces is done, that paves the way for support for modules. |
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 justINCLUDE ../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 ' 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?
The text was updated successfully, but these errors were encountered: