• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Why aren't javadocs being generated?

 
Ansmeon Kamen
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This keeps popping up

http://sidetrack1.deviantart.com/art/Javadocs-Not-Generated-353650496?ga_submit_new=10%253A1360562461

Here's the code for the things that need javadocs



and



What's wrong in these?.Sorry for sounding so frank -_- it's late now.Thanks everyone.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's impossible to say without seeing the build file. If that really has more than 852 lines (which that error message leads me to believe), then I don't think anyone here can help, because that's WAY too much to read and try to make sense of. Have you tried it with a minimal build file? A basic build file that compiles code and generates javadocs for it shouldn't need more than 50 lines or so, and quite possibly fewer than that.
 
Rommel Sharma
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

1. Verify that the ant task for java doc is specified corectly
2. Among various options that you can specify ensure that the sourcepath and destdir are specified correctly

You may look here as well:
http://ant.apache.org/manual/Tasks/javadoc.html

Thanks,
Rommel..
 
Campbell Ritchie
Sheriff
Pie
Posts: 49861
70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you create javadocs by hand?
javadoc Lab2.java
Which, by the way, is a bad name for a class.
 
Junilu Lacar
Bartender
Posts: 7606
54
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW, if you succeed in generating the JavaDocs I doubt they'll be anything more than minimal and useless, given your current JavaDoc comments, but maybe the exercise is simply to learn how to use the JavaDocs generation tool.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic