Talk:Extension development using eclipse and phing
From Joomla! Documentation
(Difference between revisions)
(→Error (include_path='.;.\pear') when you start a build with Phing) |
|||
| Line 7: | Line 7: | ||
[[User:Simplet|simplet]] 11:21, 17 November 2009 (UTC) | [[User:Simplet|simplet]] 11:21, 17 November 2009 (UTC) | ||
| − | + | =Error (include_path='.;.\pear') when you start a build with Phing= | |
If you get error "Fatal error: require_once(): Failed opening required 'phing/Project.php' (include_path='.;.\pear') in C:\xampp\php\PEAR\phing\Phing.php on line 22". | If you get error "Fatal error: require_once(): Failed opening required 'phing/Project.php' (include_path='.;.\pear') in C:\xampp\php\PEAR\phing\Phing.php on line 22". | ||
In the Eclipse console, you should see something similar to screen below. [[Image:Screenshot_eclipse_phing_error1_20100724.png|frame|center]] | In the Eclipse console, you should see something similar to screen below. [[Image:Screenshot_eclipse_phing_error1_20100724.png|frame|center]] | ||
Try to add line "SET PHP_CLASSPATH=%PHP_CLASSPATH%;.;C:\xampp\php\PEAR;C:\xampp\php\PEAR\data;" in "C:\xampp\php\phing.bat" after line "SET phpCli=C:\xampp\php\php.exe". | Try to add line "SET PHP_CLASSPATH=%PHP_CLASSPATH%;.;C:\xampp\php\PEAR;C:\xampp\php\PEAR\data;" in "C:\xampp\php\phing.bat" after line "SET phpCli=C:\xampp\php\php.exe". | ||
Latest revision as of 18:59, 23 July 2010
[edit] aboslute relative path
it ll be nice if instead using relative word to explicit write absolute path !!
thank's
simplet 11:21, 17 November 2009 (UTC)
[edit] Error (include_path='.;.\pear') when you start a build with Phing
If you get error "Fatal error: require_once(): Failed opening required 'phing/Project.php' (include_path='.;.\pear') in C:\xampp\php\PEAR\phing\Phing.php on line 22".
In the Eclipse console, you should see something similar to screen below.Try to add line "SET PHP_CLASSPATH=%PHP_CLASSPATH%;.;C:\xampp\php\PEAR;C:\xampp\php\PEAR\data;" in "C:\xampp\php\phing.bat" after line "SET phpCli=C:\xampp\php\php.exe".
