-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incompatible with Symfony 2.1-BETA #10
Comments
joining this issue as I also would like support for Symfony 2.1 |
Has anyone had any success with this problem... I'm also getting "Class Symfony\Component\HttpKernel\Util\Filesystem does not exist" on symfony 2.1 |
I did solve composer.json problem by including this in my own composer.json: "repositories": [
{
"type": "package",
"package": {
"name": "codememe/codememedaemon-bundle",
"version": "dev-master",
"source": {
"url": "http://github.com/CodeMeme/CodeMemeDaemonBundle.git",
"type": "git",
"reference": "master"
}
}
}
] and calling composer require |
The developers of symfony2 moved the Filesystem class into its own component, in order for this bundle to work I changed in the file CodeMemeDaemonBundle/Resources/config/daemon.xml the codememe.daemon.filesystem.class parameter from Symfony\Component\HttpKernel\Util\Filesystem to Symfony\Component\Filesystem\Filesystem |
You may disregaurd this as it is an incompatibility with a Beta version of Symfony, however I wanted to list the issues I have run into:
1.) There is no composer.json in your package, and you are not listed in http://packagist.org/. Both of these actions should help you gain visability to your Bundle, and aid in your installation as composer is becoming the defacto standard.
2.) Even if you get around the composer.json issue in #1, "Class Symfony\Component\HttpKernel\Util\Filesystem does not exist" is thrown. I spent a few minutes attempting to rework the code for compatibility, but it fails.
Overall it looks like a bit of work will be needed to make this 2.1 compatible.
The text was updated successfully, but these errors were encountered: