Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (109)
games submitted by our members
Games in WIP (536)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  javadoc tool doesn't document all overloaded methods  (Read 509 times)
0 Members and 1 Guest are viewing this topic.
Offline dermetfan

Senior Member


Medals: 11



« Posted 2013-12-08 22:07:03 »

Hey guys,
I use the javadoc tool on the command line. It works fine but there's a little difference between using it on the command line and in eclipse.

Consider this piece of code:
1  
2  
3  
4  
5  
6  
7  
8  
9  
   /** documentation */
   public Rope split(Joint joint) {
      // ...
  }

   /** documentation */
   public Rope split(int jointIndex) {
      // ...
  }


Using eclipse to export the documentation, I can see both methods in it.
However, if I use the javadoc command myself, I only see the first one which in this case is split(Joint).

Even weirder, in the same document and same class, I can see both of these methods using the command line:
1  
2  
3  
4  
5  
6  
7  
8  
9  
   /** documentation */
   public Rope build(int length) {
      // ...
  }

   /** documentation */
   public Rope build(int length, Builder builder) {
      // ...
  }


Eclipse uses the same executable so I guess I'm missing some parameters or something...

Thanks for any ideas!

Offline Slyth2727
« Reply #1 - Posted 2013-12-09 02:29:09 »

Why not just use Eclipse's export instead of command line if that's what works?
If you're fixated on using the command line, maybe there is  a place to edit the arguments in Eclipse's options. (I just took a quick look into that and didn't find anything, but it may still be there)

I'm sure you've already seen this, but if you haven't hear ya go Smiley
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#runningjavadoc

Back to studying.. Bio exam tomorrow..

Was I before Chuang Tzu who dreamt about being a butterfly, or am I now a butterfly who dreams about being Chuang Tzu?
Offline dermetfan

Senior Member


Medals: 11



« Reply #2 - Posted 2013-12-21 20:01:23 »

I'm sorry, I thought JGO would send me an email if someone replied. Apparently it didn't... Anyway, thanks for your reply Smiley
Why not just use Eclipse's export instead of command line if that's what works?
Well I don't use it on the command line manually, it's part of a script that packs the compiled classes, sources and javadoc in jars and a zip.
maybe there is  a place to edit the arguments in Eclipse's options.
Yes, there's even an option to export the settings to an ANT script. I used the exact same flags but no difference.
Didn't find any help in the documentation as well :/

I hope your exam went well Smiley

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Online ra4king

JGO Kernel


Medals: 342
Projects: 2
Exp: 5 years


I'm the King!


« Reply #3 - Posted 2013-12-21 21:03:24 »

JGO should send you an email by default. Check your settings.

Considering your problem, is there any way you can see what parameters Eclipse runs the Javadoc tool with?

Offline dermetfan

Senior Member


Medals: 11



« Reply #4 - Posted 2013-12-21 21:25:26 »

That's what I thought as well. Made sure my settings are correct now, should work in the future.

is there any way you can see what parameters Eclipse runs the Javadoc tool with?
Yes, there's even an option to export the settings to an ANT script. I used the exact same flags but no difference.
The ANT script uses slightly different names for the flags though, maybe I interpreted some incorrectly.

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (18 views)
2014-07-30 21:08:39

Riven (26 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (13 views)
2014-07-29 10:59:34

E.R. Fleming (34 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (44 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 18:29:50

List of Learning Resources
by SilverTiger
2014-07-31 18:26:06

List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!