Reputation: 307
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?
Upvotes: 1
Views: 2411
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
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