Ticket #206 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

Installation guide out of date (phing fails to run)

Reported by: anonymous Assigned to: hans
Priority: critical Milestone: 2.3.1
Component: documentation Version: 2.3.0
Keywords: Cc: watermark.nielsen@gmail.com

Description

In the installation guide, it says that you only need the bin and classes directories in the PHING_HOME directory order for it to work. I ran into the following error:

> phing -verbose
exception 'NullPointerException' with message 'Argument1 to function must not be null' in /usr/local/phing/classes/phing/system/io/PhingFile.php:67
Stack trace:
#0 /usr/local/phing/classes/phing/Phing.php(771): PhingFile->__construct(NULL)
#1 /usr/local/phing/classes/phing/Phing.php(756): Phing::getPhingVersion()
#2 /usr/local/phing/classes/phing/Phing.php(289): Phing::printVersion()
#3 /usr/local/phing/classes/phing/Phing.php(147): Phing->execute(Array)
#4 /usr/local/phing/classes/phing/Phing.php(262): Phing::start(Array, NULL)
#5 /usr/local/phing/bin/phing.php(41): Phing::fire(Array)
#6 {main}

I discovered that it was looking for VERSION.TXT in the etc directory. I moved the etc directory from the download into PHING_HOME and it started to work.

Attachments

Change History

01/08/08 18:34:15 changed by mrook

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r338, thanks.


Add/Change #206 (Installation guide out of date (phing fails to run))




Action