FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=18223&edit=1

ID: 18223
Updated by: demon.gene@gmail.com
Reported By: alvaro at demogracia dot com
Summary: --directory doesn't recognise all valid path formats
Status: Open
Type: Bug
Package: PhpDocumentor
Operating System: Windows XP
Package Version: 1.4.3
PHP Version: 5.3.5
-Roadmap Versions:
+Roadmap Versions: 1.4.5
New Comment:

-Roadmap Versions:
+Roadmap Versions: 1.4.5



Previous Comments:
------------------------------------------------------------------------

[2011-01-27 10:35:39] kalvaro

Description:
------------
Under Windows, the --directory parameter doesn't recognise paths with
these formats:

- Quoted paths with root directories: "I:\"
- UNC paths: \\SOFT14\tmp

These other formats work as expected:

- Quoted with trailing dot: "I:\."
- Unquoted: I:\


Test script:
---------------
phpdoc --directory "I:\" --target "C:\tmp"
phpdoc --directory \\SOFT14\tmp --target "C:\tmp"

Expected result:
----------------
Parameters are accepted and doc generation starts.

Actual result:
--------------
C:\>phpdoc --directory "I:\" --target "C:\tmp"
PHP Version 5.3.5
phpDocumentor version 1.4.3

Parsing configuration file phpDocumentor.ini...
(found in C:\Archivos de programa\PHP\pear\data/PhpDocumentor/)...

done
Maximum memory usage set at 256M after considering php.ini...
using tokenizer Parser
a target directory must be specified
try phpdoc -h

C:\>phpdoc --directory \\SOFT14\tmp --target "C:\tmp"
PHP Version 5.3.5
phpDocumentor version 1.4.3

Parsing configuration file phpDocumentor.ini...
(found in C:\Archivos de programa\PHP\pear\data/PhpDocumentor/)...

done
Maximum memory usage set at 256M after considering php.ini...
using tokenizer Parser
directory: '' not found

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedJan 13, '12 at 2:05a
activeJan 13, '12 at 2:05a
posts1
users1
websitepear.php.net

1 user in discussion

Demon Gene: 1 post

People

Translate

site design / logo © 2022 Grokbase