Apex Docs Plugin

For some time I was looking for Apex Doc plugin, the only version which worked for me was StevenWCox version called SFApexDoc on gitlab:

http://force-code.com/category/apexdoc/

Original Aslam Bari’s version failed for me with error

String index out of range: -1
Invalid Arguments:-
Correct Syntaxt:
apexdoc <source_directory> [<target_directory>] [<homefile>] [<authorfile>]
<source_directory> :- The folder location which contains your apex .cls classes
<target_directory> :- This option is optional. This is to specify your target fo
lder where documentation will be generated.
<homefile> :- This option is optional. This is to specify your contents for the
home page right panel
<authorfile> :- This option is optional. This is a simple text file path contain
ing following info.

David Habib’s version  https://github.com/SalesforceFoundation/ApexDoc failed for me with NullPointer Exception described here. I was trying to debug this version and found the root cause, however, when I found that there is a StevenWCox version working without errors, I stopped debugging Habib’s version.Still, this version skips test classes without private keyword but at least it doesn’t fail.

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s