Skip to content

Support for dependencies #73

@sbcgua

Description

@sbcgua

Related to abapGit/abapGit#2236

Proposed logic:

  • clone .abapgit dependencies in a special folder e.g. .abapmerge_libs or .abapmerge_modules or .abapmerge_dependencies
  • abapmerge probably should analyse .abapgit of 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_class or "@@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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions