Development

/branches/1.1/lib/plugins/sfPropelPlugin/lib/task/sfPhing.class.php

You must first sign up to be able to contribute.

root/branches/1.1/lib/plugins/sfPropelPlugin/lib/task/sfPhing.class.php

Revision 9924, 0.8 kB (checked in by fabien, 6 years ago)

added debug output from Phing when using -t (closes #2608)

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
6  *
7  * For the full copyright and license information, please view the LICENSE
8  * file that was distributed with this source code.
9  */
10
11 require_once('phing/Phing.php');
12
13 /**
14  * @package    symfony
15  * @subpackage command
16  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
17  * @version    SVN: $Id$
18  */
19 class sfPhing extends Phing
20 {
21   function printVersion()
22   {
23     print(self::getPhingVersion()."\n");
24   }
25
26   function getPhingVersion()
27   {
28     return 'sfPhing';
29   }
30
31   public static function shutdown($exitcode = 0)
32   {
33     self::getTimer()->stop();
34
35     throw new Exception(sprintf('Problem executing Phing task (%s).', $exitcode));
36   }
37 }
38
Note: See TracBrowser for help on using the browser.