This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 207784 - ApiGen doc generation fails with "Option templateConfig expect value"
Summary: ApiGen doc generation fails with "Option templateConfig expect value"
Status: RESOLVED INVALID
Alias: None
Product: php
Classification: Unclassified
Component: ApiGen (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-26 18:29 UTC by Jeffrey Rubinoff
Modified: 2012-01-27 06:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeffrey Rubinoff 2012-01-26 18:29:18 UTC
Product Version = NetBeans IDE Dev (Build 20120114-3184cbccc740)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0_27
Runtime = Java HotSpot(TM) Client VM 20.2-b06

I have ApiGen installed and NetBeans has the path to the .bat file. When I run the Generate Documentation > ApiGen context menu option on a PHP project, I get an error message that generation failed. When I look in my output, I see a classic command line failure. The error message is "Option templateConfig expects value." This is followed by the ApiGen command syntax. According to this syntax,
--template-config  <file>      Template config file, default ""
Note that running 'apigen --source [NB PHP project folder] --destination [another folder]' from the command line works OK.
Comment 1 Tomas Mysik 2012-01-27 05:02:55 UTC
Will look at it.
Comment 2 Tomas Mysik 2012-01-27 06:12:05 UTC
It seems that you have:
- provided invalid config file for your project; or
- apigen.neon file in your project (this one is automatically used by ApiGen if found).

In this file, you likely have "templateConfig" option without any value (exactly as the error message says).

Thanks for reporting.