propelorm/Propel — Issue #148: propel-gen convert-conf getting error with Phing
Author: harikt
Created: 2011-10-18 14:05:11+00:00
State: open

I am not seeing a file named Platform.php in locate . Is it a phing based error ?

hari@localhost-lx1:/var/www/propel/src/Model$ propel-gen convert-conf
Buildfile: /usr/share/php/data/propel_generator/pear-build.xml
[resolvepath] Resolved /var/www/propel/src/Model to /var/www/propel/src/Model

propel-project-builder > projdircheckExists:

propel-project-builder > projdircheck:

propel-project-builder > configure:

[echo] Loading project-specific props from /var/www/propel/src/Model/build.properties
[property] Loading /var/www/propel/src/Model/build.properties

propel-project-builder > convert-conf:

[phing] Calling Buildfile '/usr/share/php/data/propel_generator/build-propel.xml' with target 'convert-conf'
[property] Loading /usr/share/php/data/propel_generator/./build.properties
[property] Loading /usr/share/php/data/propel_generator/./default.properties

propel > convert-conf:

[echo] +------------------------------------------+
[echo] | |
[echo] | Converting runtime config file to an |
[echo] | array dump for improved performance. |
[echo] | |
[echo] +------------------------------------------+
[propel-convert-conf] Loading XML configuration file...
[propel-convert-conf] Loading XML schema files...
[PHP Error] include_once(platform/Platform.php): failed to open stream: No such file or directory [line 1057 of /usr/share/php/phing/Phing.php]
[PHP Error] include_once(): Failed opening 'platform/Platform.php' for inclusion (include_path='/usr/share/php/data/propel_generator/lib:/var/www/propel/src/Model:.:/usr/share/php:/usr/share/pear') [line 1057 of /usr/share/php/phing/Phing.php]
[phing] Error importing platform/Platform.php

hari@localhost-lx1:/var/www/propel/src/Model$ locate Platform.php
/usr/share/php/data/propel_generator/lib/platform/DefaultPlatform.php
/usr/share/php/data/propel_generator/lib/platform/MssqlPlatform.php
/usr/share/php/data/propel_generator/lib/platform/MysqlPlatform.php
/usr/share/php/data/propel_generator/lib/platform/OraclePlatform.php
/usr/share/php/data/propel_generator/lib/platform/PgsqlPlatform.php
/usr/share/php/data/propel_generator/lib/platform/SqlitePlatform.php
/usr/share/php/data/propel_generator/lib/platform/SqlsrvPlatform.php