How do teams manage shared libraries across multiple OpenEdge projects?

Genuinely curious about this one.

 

You build a utility library, copy it into a new project, and a few months later nobody remembers which version is where. A fix lands in one place and never makes it to the others.

 

Other languages solved this ages ago — Node, PHP, you just declare what you need and the tooling sorts it out. Never seen anything like that for OpenEdge.

 

Is everyone just doing this by hand, or has someone actually built something for it?

 


  • Frank Meulblok (Customer)

    If you're using Git-based source control this can get you part of the way.

     

    • Split the utility library off into it's own Git repository
    • In the repo for the projects that use the library, add the library as a submodule instead of just copying and pasting in the code

     

    It's not as clean as having a proper package manager, but it get the changes to the library managed and shared between the projects that rely on in..

     

    And having the library in it's own repo should open up the path to eventually build and distribute it more cleanly.

    • Valentin Duricu (Wayfare)

      Yes, indeed, but if you don’t want to give access to source code, with submodules is a bit harder.

       

      The idea here would be to deliver precompiled code in a .pl file and people get it from a central registry/repository fast and secure.

  • Julian Lyndon-Smith (whoGloo Limited)

    "You build a utility library, copy it into a new project"

     

    problem is right there. You shouldn't. It should be installed as part of the project setup or as an asset to be installed and added to the propath.

     

    The asset could be a .pl with just .r code - especially if there is no db access involved. Or *shudder* dynamic stuff ...