Search code examples
symfony1propel

Symfony - Propel - Determine current version of propel


Is there a better way of determining which version of Propel that Symfony 1.4 is built upon? Right now I am having to do:

$ -> ack -i version /path/to/symfony/lib/plugins/sfPropelPlugin/lib/vendor/

And as of now I am seeing this:

/path/to/symfony/lib/plugins/sfPropelPlugin/lib/vendor/propel-generator/default.properties
19:propel.version = 1.4.2

So I am assuming that Symfony v1.4.16 is using Propel version 1.4.2.


Solution

  • At this time, propel bundled with Symfony 1.x does not support the ability to determine the version, cleanly, via cli, however you can use the ack or fgrep command as I stated in OP. But if you use the sfPropelORMPlugin plugin, which allows you to use propel 1.6 with Symfony 1.x, they have opted to add this functionality, which I assume will be available soon. https://github.com/propelorm/sfPropelORMPlugin/pull/152