Skip to content

Question: dynamically create dbConnectionSet? #551

Closed

Description

@lievendf

Hi,

Is it possible to dynamically create dbConnectionSets, e.g. from data in a properties file?
I'm currently trying to abstract a project specific build.xml to a generic one that can be used for any* OpenEdge project. It gets all project specific settings (st/df files, project src dir, db connection parameters, propath etc.) passed in through command line or via a project.properties file.
I'm able to create empty databases (using a macrodef to call pct:db_create) , but fail to find a way to dynamically connect to these...

If not possible I might be able to work around this by creating a project specific "dbConnections.xml" file that can be imported, and use a fixed id for the dbConnectionSet.
But a dynamic solution, using properties from a single project.properties file, seems like the cleanest solution...

Regards,
Lieven

Activity

  1. locked and limited conversation to collaborators on Jul 30, 2025
  2. converted this issue into a discussion #552 on Jul 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions