I solved the problem, there seems to be missing some info on task 
configuration.

For those experiencing similar problems, take a look at ticket #3951.

Andreas



Andreas Hucks schrieb:
> Hi,
> 
> I am trying to use my first custom task in 1.1, using Swift to send out 
> some mails. I get a "Fatal error: Class 'Swift' not found in [...]"
> 
> Manual loading is a workaround, but no long-term solution.
> 
> Swift is correctly installed in lib/vendor/swift, the cache was cleared 
> as well.
> 
> I found out symfony never even creates a config_autoload.yml.php in 
> cache/frontend/cli/config.
> 
> Do I need to specifically enable autoloading for tasks?
> How does symfony know how to choose "frontend" in the first place? The 
> task does not know about apps, does it?
> 
> Thanks,
> Andreas
> 
> > 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to