Le 21/02/2011 23:52, taidehuone a écrit :
I recently moved my own project to a new Ubuntu 10.10 laptop
environment and I also initialized a new symfony 2.0 project from
scratch. I noticed the same thing you're facing. For some reason the
symfony2 bootstrapper initializes an outdated file structure for you.
The UniversalClassLoader for example used to reside in that namespace
but obviously a lot has changed since then. I don't know why or how
this happens and to be honest I wasn't too interested to know. It
appears that the files in the bootstrapper's skeleton are correct but
the .phar file you use for initializing the project does everything
wrong it possibly can.
I only got the project installed because I'm already familiar with the
symfony2 file structure. I copied over the files from the
bootstrapper's skeleton folder, renamed placeholder variables within
the files and renamed some of the files themselves. You may want to
explore the sandbox file structure and copy the bootstrapper files
accordingly. There weren't too many things to rename but I can't
remember which and where.
At first I thought it was just me doing it wrong because it felt like
a too big thing to be a bug, but somebody may want to fix this now or
at least shed some light on this.
The bootstrapper is totally outdated as it has not updated for a while
to match the core changes. you could use
https://github.com/Garfield-fr/Symfony2Project which is up-to-date or
use the sandbox.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en