javadoc tool doesn't document all overloaded methods

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:

	/** 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:

	/** 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!

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 :slight_smile:
http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#runningjavadoc

Back to studying… Bio exam tomorrow…

I’m sorry, I thought JGO would send me an email if someone replied. Apparently it didn’t… Anyway, thanks for your reply :slight_smile:

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.

[quote=“Slyth2727,post:2,topic:45498”]
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 :confused:

I hope your exam went well :slight_smile:

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?

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

[quote=“ra4king,post:4,topic:45498”]

[quote=“dermetfan,post:3,topic:45498”]
The ANT script uses slightly different names for the flags though, maybe I interpreted some incorrectly.