Actions

Talk

Difference between revisions of "Extension development using eclipse and phing"

From Joomla! Documentation

(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===
+
=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

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