Actions

Talk

Extension development using eclipse and phing

From Joomla! Documentation

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)

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.

Screenshot eclipse phing error1 20100724.png

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".