+ Start a Discussion
Ken KoellnerKen Koellner 

Installing ApexDec plug in in Eclipse???

I've found ApexDoc here -- http://code.google.com/p/apexdoc/

 

I think it is supposed to be an Eclipse plugin.

 

I tried using the Install New Software option in eclipse and pointed it to a jar but I get a "No repository found" error.

 

Anyone know if this is indeed supposed to be installable in Eclipse?

 

If not, how to run it stand alone.

 

 

Best Answer chosen by Admin (Salesforce Developers) 
ChizChiz
/**
* @author Andrii Muzychuk
* @date 10/07/2011
* @description Some description here
*/
public with sharing class [class_name] {


	/**
	* @author Andrii Muzychuk
	* @date 10/14/2011
	* @description Default constructor.
	*/
	private [class_name]() {
		
	}

 

Here is my sample.

 

Maybe you click NOT ON CLASS FOLDER. Because if I generate (try to do this) doc for one class then I fail.

All Answers

Ken KoellnerKen Koellner

Okay, I answered my own question.  The wiki said to put the jar in the dropins dir.  Now it runs from Eclipse.

 

But, I get nothing when I run it.  it runs and produces an index file but there are no classes listed.

 

That's the same thing that happened when I ran the command line version.

 

Anyone know how to make this thing find my classes?

 

 

ChizChiz

Download http://apexdoc.googlecode.com/files/com.apex.doc_1.1.1.jar to "Force.com IDE\dropins" folder. Restart IDE.

Right click on classes folder -> Force.com - >Generate ApexDoc... -> Select doc destination folder -> click Generate button.

Ken KoellnerKen Koellner

I got it to run but I just get empty output.  It's not finding any of my classes.  I figure maybe the comments aren't in the correct format.

 

I have somethine like the below code--

/*
 * @Author Ken Koellner
 * @date	2012/10/06
 * @description Real comments go here.
 */ 

 

ChizChiz
/**
* @author Andrii Muzychuk
* @date 10/07/2011
* @description Some description here
*/
public with sharing class [class_name] {


	/**
	* @author Andrii Muzychuk
	* @date 10/14/2011
	* @description Default constructor.
	*/
	private [class_name]() {
		
	}

 

Here is my sample.

 

Maybe you click NOT ON CLASS FOLDER. Because if I generate (try to do this) doc for one class then I fail.

This was selected as the best answer
Ken KoellnerKen Koellner

Tried the /** and didn't help.  Then tried pointing to classes dir and it worked.

 

So I think I'm all set.

 

ChizChiz

Does my answers help you? If yes I'm glad :-)

Ken KoellnerKen Koellner

Yes, your answer helped.

 

I did hit a minor bug.

 

In my code-- List<selectOption>getGradeSelectOptionList(boolean includeNone) {

 

Signature in Apex doc -- public static ListgetGradeSelectOptionList(boolean includeNone)