Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Javadoc help...urgent please....Have to upload now..

 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am taking the exam tomorrow morning. So I need to upload the assignment by today.
I have two annonymous inner classes inside my server GUI class. While generating javadoc for the server, I'm getting two additional class documentation namely MyClass.html and MyClass2.html. I have not defined any class with these names. Can I write in the readme.txt that these two files are corresponding to the inner classes defined in ServerGUI class??
Thanks in advance
Padmaja
 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another thing it is defining two methods like myInt() and myStr() and one constructor. I am totally confused..
Please reply me..
Thanks
Padmaja
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Padmaja
I don't think this is an anonymous class issue. These don't sound like the way the Java compiler names objects that it has to create,
I would suspect that either you do have classes with these names that you have forgotten about, or that your javadoc command line is accessing more directories than just your assignment.
Regards, Andrew
 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrew,
Thanks for the reply. But I have No classes with these names in all my hard disk.
May be the javadoc is accessing more directories..
Is there any way to track them??
Thanks again
Padmaja
 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I ran the javadoc from another machine...Now those additional classes are gone..
Thanks for the help
Padmaja
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Padmaja
Sorry, I was away from my computer for a while, so I didn't see your follow up question. Glad to see you managed a workaround.
It might be worth your while working out where those spurious classes are coming from. If you give the "-verbose" option to JavaDoc, you will get lots and lots of output, including the paths and names of each class file it is looking at. So you should be able to look at that and determine what it is trying to document that it should not be.
Regards, Andrew
 
Padmaja Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Andrew,
Thanks for the reply.
I found two classes(at last) with those names. They were in separate directories, but with the same name and package definition. Don't know how I missed it when I did a file search on windows??? Your immediate response really helped me.
Anyway I took the exam..but couldn't upload the assignment yet. I have already sent mail to them..still no response.
Thanks
Padmaja.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic