You can change the composer.json adding the *"keep-outdated": true*, it 
will prevent the removal of the parameters not present in the dist file.


    "extra": {
        ....
        "incenteev-parameters": {
            "file": "app/config/parameters.yml",
            "keep-outdated": true
        },
        ....
    }

Il giorno martedì 9 luglio 2013 17:40:47 UTC+2, Belhouchet Ines ha scritto:
>
> Hi I want to install  StofDoctrineExtensionBundle 
> <https://github.com/stof/StofDoctrineExtensionsBundle/blob/master/Resources/doc/index.rst>
>  so 
> I edited the follows files: 
>
>    1. composer.json
>    2. AppKernel.php
>    3.  app/config/config.yml
>    
>  then I used this command to update the composer 
>
> php ../composer.phar update
>
> this is the execution result:
>
> Warning: This development build of composer is over 30 days old. It is 
> recommended to update it by running "../composer.phar self-update" to get 
> the latest version.
> Loading composer repositories with package information
> Updating dependencies (including require-dev)
>   - Removing twig/twig (v1.13.0)
>   - Installing twig/twig (v1.13.1)
>     Downloading: 100%         
>
>   - Removing doctrine/annotations (v1.1.1)
>   - Installing doctrine/annotations (v1.1.2)
>     Downloading: 100%         
>
>   - Removing doctrine/common (2.4.0-RC2)
>   - Installing doctrine/common (2.4.0-RC4)
>     Downloading: 100%         
>
>   - Removing symfony/symfony (v2.3.0-RC1)
>   - Installing symfony/symfony (v2.3.1)
>     Downloading: 100%         
>
>   - Removing symfony/icu (v1.2.0-RC1)
>   - Installing symfony/icu (v1.2.0)
>     Downloading: 100%         
>
>   - Removing swiftmailer/swiftmailer (v5.0.0)
>   - Installing swiftmailer/swiftmailer (v5.0.1)
>     Downloading: 100%         
>
>   - Removing symfony/swiftmailer-bundle (v2.3.0-RC1)
>   - Installing symfony/swiftmailer-bundle (v2.3.1)
>     Downloading: 100%         
>
>   - Removing symfony/monolog-bundle (v2.3.0-RC1)
>   - Installing symfony/monolog-bundle (v2.3.0)
>     Downloading: 100%         
>
>   - Removing sensio/distribution-bundle (v2.3.0-RC1)
>   - Installing sensio/distribution-bundle (v2.3.1)
>     Downloading: 100%         
>
>   - Removing sensio/framework-extra-bundle (v2.3.0-RC1)
>   - Installing sensio/framework-extra-bundle (v2.3.1)
>     Downloading: 100%         
>
>   - Removing sensio/generator-bundle (v2.3.0-RC1)
>   - Installing sensio/generator-bundle (v2.3.1)
>     Downloading: 100%         
>
>   - Removing kriswallsmith/assetic (v1.1.0)
>   - Installing kriswallsmith/assetic (v1.1.1)
>     Downloading: 100%         
>
>   - Installing gedmo/doctrine-extensions (v2.3.6)
>     Downloading: 100%         
>
>   - Installing stof/doctrine-extensions-bundle (dev-master 6577f23)
>     Cloning 6577f2388abeac4896aa0aef37fc1b6f2c6923e9
>
> gedmo/doctrine-extensions suggests installing doctrine/mongodb (>=1.0.1)
> gedmo/doctrine-extensions suggests installing doctrine/mongodb-odm 
> (>=1.0.0-BETA7)
> stof/doctrine-extensions-bundle suggests installing 
> doctrine/mongodb-odm-bundle (to use the MongoDB ODM extensions)
> Writing lock file
> Generating autoload files
> Updating the "app/config/parameters.yml" file.
>
>
>                                                                           
>       
> *  
> [Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException] 
>  *
> *  You have requested a non-existent parameter "app_webmaster".           
>        *
>                                                                           
>       
>
>
> *Script 
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache 
> handling the post-update-cmd event terminated with an exception*
>
>
>                                                                           
>    
> *  [RuntimeException]                                                     
>     *
> *  An error occurred when executing the "'cache:clear --no-warmup'" 
> command.  *
>
>
> Now even that I annuled the modification in files but still get errors 
> when I try to execute some command like:
>
>
>
>
> *php app/console doctrine:schema:update --dump-sqlHow can I fix it now 
> ??please help me .thanks in advance.*
>
>
>                                                                           
>    
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to