symfony - Composer use SVN fails - SVN was not found -
i have symfony2 project uses composer manage packages. want add package personal svn storage. repository configuration in composer.json. changed svn url show real 1 sake of not showing sensitive information in stackoverflow. running on windows 7 platform. have installed svn windows http://sourceforge.net/projects/win32svn/
"repositories": [ { "type": "package", "package": { "name": "jquery/jquery", "version": "1.9.1", "dist": { "url": "http://code.jquery.com/jquery-1.9.1.js", "type": "file" } } }, { "type": "svn", "url": "https://this-is-where-my-path-is" } ]
when execute
composer --verbose update
i following result
loading composer repositories package information [runtimeexception] failed load https://this-is-where-my-path-is, svn not found, check installed , in path env. den angivne sti blev ikke fundet. exception trace: () @ phar://c:/programdata/composer/bin/composer.phar/src/composer/repository/vcs/svndriver.php:316 composer\repository\vcs\svndriver->execute() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/repositor y/vcs/svndriver.php:205 composer\repository\vcs\svndriver->getbranches() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/repos itory/vcs/svndriver.php:75 composer\repository\vcs\svndriver->initialize() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/reposi tory/vcsrepository.php:78 composer\repository\vcsrepository->getdriver() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/reposit ory/vcsrepository.php:113 composer\repository\vcsrepository->initialize() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/reposi tory/arrayrepository.php:170 composer\repository\arrayrepository->getpackages() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/dep endencyresolver/pool.php:169 composer\dependencyresolver\pool->addrepository() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/inst aller.php:353 composer\installer->doinstall() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/installer.php:215 composer\installer->run() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/command/updatecommand.php:12 3 composer\command\updatecommand->execute() @ phar://c:/programdata/composer/bin/composer.phar/vendor/symfony/console/sy mfony/component/console/command/command.php:241 symfony\component\console\command\command->run() @ phar://c:/programdata/composer/bin/composer.phar/vendor/symfony/con sole/symfony/component/console/application.php:892 symfony\component\console\application->doruncommand() @ phar://c:/programdata/composer/bin/composer.phar/vendor/symfon y/console/symfony/component/console/application.php:191 symfony\component\console\application->dorun() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/console /application.php:117 composer\console\application->dorun() @ phar://c:/programdata/composer/bin/composer.phar/vendor/symfony/console/symfon y/component/console/application.php:121 symfony\component\console\application->run() @ phar://c:/programdata/composer/bin/composer.phar/src/composer/console/a pplication.php:83 composer\console\application->run() @ phar://c:/programdata/composer/bin/composer.phar/bin/composer:43 require() @ c:\programdata\composer\bin\composer.phar:15 update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [ packagesn]
now think oh hes not got svn in path(since that's error message in danish)... do. running svn command gives me
type 'svn help' usage.
so have svn client running , configured in path. tested running
svn checkout https://this-is-where-my-path-is
which works intended. checks out project. ideas?
edit
i ran command php composer.phar update -vvv , got this:
> c:\xampp\php\php.exe composer.phar update -vvv reading ./composer.json executing command (cwd): git describe --exact-match --tags executing command (cwd): git branch --no-color --no-abbrev -v executing command (cwd): hg branch executing command (cwd): svn info --xml loading composer repositories package information executing command (cwd): svn ls --verbose --non-interactive "https://this-is-where-my-path-is" executing command (cwd): svn --version [runtimeexception] failed load https://this-is-where-my-path-is, svn not found, check installed , in path env. den angivne sti blev ikke fundet. exception trace: () @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/repository/vcs/svndriver.php:316 composer\repository\vcs\svndriver->execute() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/repository/vcs/svndriver.php:205 composer\repository\vcs\svndriver->getbranches() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/repository/vcs/svndriver.php:75 composer\repository\vcs\svndriver->initialize() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/repository/vcsrepository.php:78 composer\repository\vcsrepository->getdriver() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/repository/vcsrepository.php:113 composer\repository\vcsrepository->initialize() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/repository/arrayrepository.php:170 composer\repository\arrayrepository->getpackages() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/dependencyresolver/pool.php:169 composer\dependencyresolver\pool->addrepository() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/installer.php:353 composer\installer->doinstall() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/installer.php:215 composer\installer->run() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/command/updatecommand.php:123 composer\command\updatecommand->execute() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/vendor/symfony/console/symfony/component/console/command/command.php:241 symfony\component\console\command\command->run() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/vendor/symfony/console/symfony/component/console/application.php:892 symfony\component\console\application->doruncommand() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/vendor/symfony/console/symfony/component/console/application.php:191 symfony\component\console\application->dorun() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/console/application.php:117 composer\console\application->dorun() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/vendor/symfony/console/symfony/component/console/application.php:121 symfony\component\console\application->run() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/src/composer/console/application.php:83 composer\console\application->run() @ phar://c:/xampp/htdocs/dagtilbudsupport/composer.phar/bin/composer:43 require() @ c:\xampp\htdocs\dagtilbudsupport\composer.phar:15 update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [packages1] ... [packagesn] process finished exit code 1 @ 11:38:44. execution time: 1.360 ms.
Comments
Post a Comment