Extension development using eclipse and phing

From Joomla! Documentation

Revision as of 17:59, 23 July 2010 by Draskog (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

aboslute relative path

it ll be nice if instead using relative word to explicit write absolute path !!


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