Re: cvs: phpdoc /howto tools.xml

From: Date: Sun, 03 Apr 2005 19:41:06 +0000
Subject: Re: cvs: phpdoc /howto tools.xml
References: 1 2 3  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969367344@lists.php.net to get a copy of this message
--*[cut]*--
    There are some problems with using openjade from cygwin package on
windows and native w32 PHP binary. ./configure script uses PHP version to determine full working path, used in file-entities.php and later in entities/file-entities.ent If PHP is compiled with cygwin, path should be prefixed with /cygdrive/, in this case openjade.exe in ../php-tools will not understand these paths. Also if openjade is from cygwin and PHP binary is from standard win32 distrubutive, paths produced by scripts/file-entities.php (i.e. c:/...) will be not understandable by openjade, so..
    Is it really necessary to have absolute paths in
entities/file-entities.ent? There's a comment indicating, that absolute paths are keeped to have meaningful error messages. Is there any other reasons? If there isn't - how about to use relative paths in entities/file-entities.ent? --*[cut]*-- Look here for the rest of the thread. http://www.manucorp.com/archives/phpdoc/200409/msg00536.php
The file-entities.php script already distinguishes between the cygwin and the windows compiled PHP, so if the cygwin PHP is used, cygwin path values are generated into the output (so that implies a cygwin installed openjade). It does not need to be relative. Even if a windows PHP is used, we can pass on a parameter to generate cygwin path values. Why is that a problem later on? Goba

« previous php.doc (#969367344) next »