Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why are the build.properties and runtime-conf.xml properties separate?

0
Posted

Why are the build.properties and runtime-conf.xml properties separate?

0

build.properties is where you define generator properties, while the runtime-conf.xml file is where you define runtime-environment properties. Typically these files will contain some duplicate information — in particular, the database connection information will probably be the same (but it doesn’t have to be). The runtime properties file is turned into a multi-dimensional PHP assoc array by a Phing task. The Phing task also adds class mapping information for the Propel autoload mechanism. When you initialize Propel you pass the path to the converted file (by default the converted file is placed in the build/conf directory).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123