Repository navigation
|
Hi, Is it possible to dynamically create dbConnectionSets, e.g. from data in a properties file? 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. Regards, |
Replies: 1 comment 1 reply
|
Ant has a declarative syntax. Macros can help with the DRY principle, but that doesn't make builds dynamic. If you want truly dynamic scripts based on Ant, you can use Groovy as a wrapper (such as this project). You can then use this kind of syntax: No limit to what you can do, as it's based on Java. The other solution is to use Gradle / OEDF, which is also based on Groovy and PCT. However, the lack of recent release of OEDF (last one is from 2023) is probably not the sign of an actively maintained project. |
Thanks Gilles, I've used the workaround I've described above for now as that really isn't that bad to be honest...