Because of an other problem on my server, I tried to setup a real new project and did this (localhost with xampp on windows):
- installed curl
- loader composer like told in docs
- loader vendors like told in docs
- merged app/config-folder
- copied src-folder
- copied web/bundles/myBundle-folder
After that, I tried the deployment-steps documentation. I skipped uploading the files and editing parameter.yml (it's already configured for localhost). Than I am running into trouble doing 'B) Update your vendors':
php composer.phar install --optimize-autoloader
This steps remove all my files from the web\bundles\myBundle-folder.
Do I have to tell composer about my bundle? I first thought, that I have to store them somewhere else, but this thread tells me, that I am right?!