$this->runTask($name, $arguments, $options)

On Tue, Jun 1, 2010 at 3:52 PM, benlancaster <[email protected]>wrote:

> Here's how I do it:
>
>    $task = new sfDoctrineBuildTask(clone $this->dispatcher, clone
> $this->formatter);
>    $task->setCommandApplication($this->commandApplication);
>    $task->setConfiguration($this->configuration);
>    $task->run(array(),array('all' => true, 'and-load' => true));
>
>
> On Jun 1, 10:25 am, Robert Schoenthal <[email protected]> wrote:
> > sure u can:
> >
> > $this->commandApplication->getTask('TASKTOEXECUTE')->run();
> >
> > greetz
> > robert
> >
> > On May 31, 11:17 pm, Fernando Navarro Páez
> >
> > <[email protected]> wrote:
> > > Can I execute symfony build --all --no-confirmation --and-load in
> > > MyTask?
> >
> > > Thanks in advance
> >
> >
>
> --
> 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 [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>



-- 
Have a nice day!

Alecs
Certified ScrumMaster

P.S. If you are on a list, please don't contact me privatelly, unless i have
allowed to. Further messages will be ignored.

There are no cannibals alive! I have ate the last one yesterday ...
I am on web:  http://www.alecslupu.ro/
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0722 621 280

-- 
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 [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