-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Related to abapGit/abapGit#2236
Proposed logic:
- clone
.abapgitdependencies in a special folder e.g..abapmerge_libsor.abapmerge_modulesor.abapmerge_dependencies - abapmerge probably should analyse
.abapgitof libs to identify source root - abapmerge must know which parts to include (not all of them). The idea is to add it directly to the code with pragmas. But the problem is that it may be include or class or ??? (what else ?)
- includes can be marked in the same line e.g.
include zblahblah_from_another_proj. "@@abapmerge lib - classes should be marked explicitely e.g.
"@@abapmerge lib_class zfoo_classor"@@abapmerge lib zfoo_class.clas(as there may be interfaces, so the extension will explain) - in future, ideally, abapmerge can use abaplint (as a parser) to identify external includes/classes automatically and search for them in libs
- includes can be marked in the same line e.g.
P.S. currently pragma include is used for JS/CSS. I think it would fit better for the dependencies. And for JS/CSS pragma can be renamed to inline. Hopefully it is safe ... hopefully noone uses abapmerge yet except AG ... or maybe stick with lib, but I would still rename current include to inline to avoid confusion
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels