You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Conditional Database connections for compilation #599
I work in an environment(qaddb with other dbs) where there are sometimes different dbs being used for different programs in the same project. This does cause the file to not compile when using the standard db connections defined in the profile.
I currently get around this by having multiple profiles. And switch to the one I need when I need to work on that program.
What I am thinking of as a feature is something that allows for compile statement to be run with different db connections. The db connection could depend on a glob pattern based system, where you define a pattern/exact name and list the dbs you want to use while compiling the file. or you could also add annotation in the program header to use specific db.
This could also be really useful when doing entire project rebuilds.
I think it might need names for the db connections and a new pattern file.
This feature probably needs more refinement but it would be really useful for me and a lot of other people with similar situation as me.
I would say that the compilation hooks are meant for that. I've seen multiple Progress development environment, they all have their own rules on how to compile modules with a specific propath, or set of database connection, or .Net libraries or weird options. Adding configuration would be an endless race against all exotic Progress configurations.
Tagging @cverbiest or @lievendf in case they want to share their experience on this topic, I think you're using the compilation hooks to compile with a different runtime.
Activity
gquerret commentedon Jul 31, 2026
I would say that the compilation hooks are meant for that. I've seen multiple Progress development environment, they all have their own rules on how to compile modules with a specific propath, or set of database connection, or .Net libraries or weird options. Adding configuration would be an endless race against all exotic Progress configurations.
Tagging @cverbiest or @lievendf in case they want to share their experience on this topic, I think you're using the compilation hooks to compile with a different runtime.