Knoxie
Knoxie

Reputation: 307

How do I find out what the javadoc error is? ([javadoc] 1 errror, BUILD SUCCESSFUL)

When I run my javadoc command with ant or if i try to generate he docs from eclipse (using same build script) this is what I get and I can't figure out how to find the error. Is there somewhere that I can get more information about the error?
What happens when I run javadoc with ant

Upvotes: 1

Views: 2411

Answers (2)

FThompson
FThompson

Reputation: 28687

The error is stated on the third line of the javadoc output:

javadoc: error - The -classpath option may be specified no more than once.

Your build.xml file specifies -classpath more than once. To build from multiple classpaths, separate paths by semicolons within one -classpath attribute rather than specifying that attribute multiple times.

Upvotes: 2

mprivat
mprivat

Reputation: 21902

Looks to me like the javadoc Ant task you are trying to run has two -classpath options specified. It says on the 3rd line of the [javadoc] output.

Upvotes: 1

Related Questions