Re: phpDocumentor problems from windows cli

From: Date: Wed, 01 Oct 2003 21:42:59 +0000
Subject: Re: phpDocumentor problems from windows cli
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-8208@lists.php.net to get a copy of this message
Hi Andy, Congratulations, you've discovered a bug in phpDocumentor :). This bug only occurs if you have PEAR installed in a path with spaces in it, which was not actually completely possible until PEAR 1.3b1. It's easily fixed. Simply open up C:\Program Files\nusphere\phpED\php\cli\phpdoc.bat and put all of the instances of C:\Program Files\....\phpdoc in double quotes "" There's another bug - the .ini files are not in the php source path, but in the data path, something else I have to fix. This will be in 1.2.3, which is coming out soon, there's certainly enough minor bugs to justify another release. Regards, Greg Andy Crain wrote:
I'm having trouble getting started with phpDocumentor (1.2.2.1) and am hoping someone can help. I'm unable to get phpDocumentor working from the command line in Windows and can't figure out why. It appears to be installed properly, because entering the command: "C:\Program Files\nusphere\phpED\php\cli>phpdoc" results in this output: [output] ************************************************************************ ****** * PhpDocument Command-Line Starter * * phpDocumentor is a JavaDoc-like automatic documentation generator for PHP * written in PHP. It is the most versatile tool for documenting PHP. * * This batch-file will try to run the phpDocumentor using the command-line * version of PHP4. NOTE: It will not run with the PHP ISAPI module! * Please update the path in this batch-file to your PHP-CLI. * * Tip: o Grab a copy of one of the ini-files in the user/ dir of the
*        phpDocumentor and modify the settings there.
*      o To see the command line options type  phpdoc -h
* * @version 1.3 2003-06-28 * @author Sam Blum sam@blueshoes.org * @Copyright Free Software released under the GNU/GPL license * * This SW was contributed by BlueShoes www.blueshoes.org "The PHP Framework" ************************************************************************ ****** ------------------------------------------------------------------------ ------ Select Ini-File [default is phpDocumentor.ini] ------------------------------------------------------------------------ ------ # 0: phpDocumentor.ini Files\nusphere\pear\PhpDocumentor\user was unexpected at this time. [/output] But entering this command, for example: "C:\Program Files\nusphere\phpED\php\cli>phpdoc -h" results in this output: [output] Could not open input file: C:\Program. [/output] I feel pretty lost. Any ideas, suggestions? Thanks, Andy


« previous php.pear.general (#8208) next »