How to use PHP Documentor ??? *resolved* |
Site Admin
|
If you have a project with some files already in, you can set project property "phpdoc_target_dir" (see Custom tab) it's where php documentor will store results, then right click on a project directory or on a project itself and select PHP Documentor.
It will scan all your files in selected directory and put documentation into specified directory. |
||||||||||||
|
|
That's exactly what I'm do, I can see a progress bar then phped try to open index.html but no files are created on the specified "phpdoc_target_dir".
URL of the unexistant index.html file : res://D:\WINDOWS\System32\shdoclc.dll/dnserror.htm#file://D:\phpdoc\index.html |
||||||||||||
|
Site Admin
|
dnserror.htm ?
Have you tried to open D:\phpdoc\index.html directly ? What IE version do you have installed ? |
||||||||||||
|
|
okay - can anyone point me to where I must fund this custom tab? If I go to the project properties dialog, I only have three tabs:
Properties CVS Mapping There is no "custom tab", nor do I see the php Document action when I right-click the project... |
||||||||||||
|
Site Admin
|
I'd recommend you reinstall the product over existing one and make sure you check PHP Documentor when the installer asks for components to install.
Anyway, just for your info: -php documentor comes from "Customization" (see this tab in tools->settings) There should be a menu item, executed by Shell and with command line like this: @php@ "C:\Program Files\nusphere\phped\phpDocumentor\phpdoc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@" where @Projpath(phpdoc_target_dir)@ is a variable to be defined in the project settings, namely phpdoc_target_dir. It's a target directory where your project's documentation should be output by php documentor. Depending on the other settings, the menu element may be shown in the File Tabs popup and/or in the Workspace tab one, or in the Tools->Scripts menu. |
||||||||||||
|
|
thanks for that...
when I click the action now, it says "Windows can not find the file C:\Program" => Is there something I need to do to have it escape the space? |
||||||||||||
|
Site Admin
|
No, you don't need to escape but quote the path/file name. See the command line I listed.
|
||||||||||||
|
|
Actually, what is in there currently is
@php@ "C:\Program Files\nusphere\phped\phpDocumentor\phpdoc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@ which is quoted... Any thoughts? |
||||||||||||
|
|
Same here. While trying to track down the error I found several strange things:
first: The original line in the config looked like the following:
But well, phpdoc(.bat, I assume) resides one level above in
I fixed this but still only got empty index.html. Then I found out that "-d" expects a directoryname, but @FName@ gives back an filename (incl. directory). So I changed this to @ProjRoot@. Still no result... So I executed phpdoc.bat from the above directory manually in the CLI. First I hat to configure the variable
Then again I launched the .bat-file, this time with the following result:
Well, thats the point where I'm clueless, and to be honest, not willing to debug that further on... Any hints? Marcus |
||||||||||||||||||||
|
Site Admin
|
phpdoc is that script that should be run by php, nothing else.
path to this script is defined incorrectly by default, indeed and @php@ must be @php4@ since phpdocumentor should be run by php4, not php5. therefore @php@ "C:\Programme\nusphere\phped\phpDocumentor\phpDocumentor\phpdoc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@ should be corrected to @php4@ "C:\Programme\nusphere\phped\phpDocumentor\phpdoc" -t "@Projpath(phpdoc_target_dir)@" -d "@FName@ |
||||||||||||
|
|
php4 is not available on this machine
are there any other tools available for that job? marcus |
||||||||||||
|
How to use PHP Documentor ??? *resolved* |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by