• Advertisement
Sign in to follow this  

[java] Problems with Javadoc - it just doesn't work

This topic is 3319 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello everyone , I'm trying to write a concise review of my assignment using Javadoc , but when I press "Generate javadoc" in Eclipse , although it create the files ,it doesn't pass the review I wrote ,and I used the Javadoc's rules...for example:
/**
* <b> Class Point </b><br>
* *******************<p>
*
* This program is the basic foundation for the exercise.The program has two fields called
* xval and yval and by using them we can implement basic actions with the  concept "point" . <br>
* The methods that are shown within this program are basic functions with two dot that symbolises a point
* in the plane .<br>
*
*/


What am I doint wrong ? thanks for the help !

Share this post


Link to post
Share on other sites
Advertisement
The closing tag for the paragraph seems to be missing: </p>.
I'm not sure that's the error, though.

Maybe you could provide your full javadoc declaration and the generated output.

Share this post


Link to post
Share on other sites
The < / p > is not the problem ,I've tried it already.

I took a few sentences ,as you see above ,and had tried to create the javadoc but the file "Point.html" has nothing except for the Methods in the code .

Share this post


Link to post
Share on other sites
Well I just tried it in my Eclipse (3.4 - ganymede) and it works.

I put the comment at the class and got the Text below the inheritance tree. Generate Javadoc settings were default.

Which eclipse version did you use?
Where did you put the comment?

Share this post


Link to post
Share on other sites
I've found the problem.After I write the javadoc's statements ,the


import java.lang.Math;
public class Point { .................................... the code }


starts ,and before the public ,the line "import java.lang.Math;" also appears.When I remove "import java.lang.Math;" and create the javadoc - everything works well , but when I put "import java.lang.Math;" back again - nothing appears...why is that ?

Share this post


Link to post
Share on other sites
Do you have your documentation before or after the import, it should be after.

Share this post


Link to post
Share on other sites
It was before the import ,now I've put it after - thank you so much . It drove me crazy :)

Okay people ,thank you all !!!

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement