Appendix A- Propel Build Targets

Propel provides Phing tasks to perform supporting database and documentation operations. Not all of these are implemented in the current version. You can always use Phing to see an up-to-date list of targets and descriptions:

$> phing -f build-propel.xml -list

The following table shows targets with their current status.

Target Description Completed?
convert-props converts properties file to PHP array Yes
create-db generates the target database Yes
datadtd generates the DATA DTD for your project Yes
datadump dump data from database into xml file Yes
datasql generates sql from data xml Yes
insert-sql inserts the generated sql Yes
insert-sql inserts the generated sql Yes
om generates the Peer-based object model for your project Yes

Any of these targets may be invoked by specifying the target name when running phing:

$> phing -f build-propel.xml targetname