Modify

Ticket #206 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Installation guide out of date (phing fails to run)

Reported by: anonymous Owned by: hans
Priority: critical Milestone: 2.3.1
Component: documentation Version: 2.3.0
Keywords: Cc: watermark.nielsen@…

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

comment:1 Changed 4 years ago by mrook

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r338, thanks.

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.