• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Why aren't javadocs being generated?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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..
 
Marshal
Posts: 79240
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Sheriff
Posts: 17644
300
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I think she's lovely. It's this tiny ad that called her crazy:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic