Problems with Phing

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Problems with Phing

Postby rstackhouse » 06. March 2010 15:32

Hello.

When I run phing -v from a directory other than C:\Windows\System32 on Vista I get the following message:
No VERSION.TXT file found; try setting phing.home environment variable.


However, when I run phing -v from C:\Windows\System32, it works outputting the following message:
Phing 2.4.0


Any ideas why this is?
rstackhouse
 
Posts: 1
Joined: 06. March 2010 15:25

Re: Problems with Phing

Postby jtodaa » 28. October 2010 12:21

I'm new to XAMPP and PEAR and I had the same issue. I had run "pear install -a phing/phing" from a standard command window running as administrator. Everything seemed to install ok, but when using it I would get the same error.

The key was to run all the pear commands from c:\XAMPP\xampp_shell.bat. Then I found I could call phing -v from any directory regardless of being in the shell or a normal dos prompt and more importantly for me the package propel/propel-generator which depends on phing started working.

Hope this helps someone because it caused a lot stuffing around for me. I guess I'm just too used to windows, note to self, shell != dos prompt. :D
jtodaa
 
Posts: 1
Joined: 28. October 2010 12:05


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 99 guests