sql:build take existing files into account #171

Merged
merged 1 commit into from Aug 22, 2012

Conversation

Projects
None yet
4 participants

Following the issue #170.

sql:build take existing files into account
Signed-off-by: Martin Richard <martius@martiusweb.net>

This pull request passes (merged 54c60cf into 4980f54).

willdurand added a commit that referenced this pull request Aug 22, 2012

Merge pull request #171 from Martiusweb/build_sql_update
sql:build take existing files into account

@willdurand willdurand merged commit b70c73f into propelorm:1.1 Aug 22, 2012

1 check passed

default
Details
Owner

willdurand commented Aug 22, 2012

Cool, thanks!

I have a problem according to this PR. It seems that the propel/sql folder do not exists and rename can't create folders.


[Symfony\Component\Filesystem\Exception\IOException]
Cannot rename "/var/local/webroot/jenkins/jobs/XXX-tests/workspace/frontend/cache/test/sql/default.sql" to "/var/local/webroot/jenkins/jobs/XXX-tests/workspace/frontend/propel/sql/default.sql".

Exception trace:
() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:244
Symfony\Component\Filesystem\Filesystem->rename() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/propel/propel-bundle/Propel/PropelBundle/Command/SqlBuildCommand.php:85
Propel\PropelBundle\Command\SqlBuildCommand->execute() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/propel/propel-bundle/Propel/PropelBundle/Command/BuildCommand.php:62
Propel\PropelBundle\Command\BuildCommand->execute() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/symfony/symfony/src/Symfony/Component/Console/Command/Command.php:239
Symfony\Component\Console\Command\Command->run() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:193
Symfony\Component\Console\Application->doRun() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Console/Application.php:77
Symfony\Bundle\FrameworkBundle\Console\Application->doRun() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/vendor/symfony/symfony/src/Symfony/Component/Console/Application.php:106
Symfony\Component\Console\Application->run() at /var/local/webroot/jenkins/jobs/XXX-tests/workspace/frontend/console:22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment