[GRADLE-192] Javadoc task produces errors on package.html Created: 22/Aug/08  Updated: 04/Jan/13  Resolved: 23/Aug/08

Status: Resolved
Project: Gradle
Affects Version/s: 0.3
Fix Version/s: 0.4

Type: Bug
Reporter: Allan Lewis Assignee: Adam Murdoch
Resolution: Fixed Votes: 0


When running the javadoc task in Gradle 0.3 I get the following error when my pacakge(s) include a package.html file:

[javadoc] javadoc: error - Illegal package name: "C:\Documents and Settings\Allan\Workspace\koios-framework-
[javadoc] 1 error


The package.html file is definitely valid, as it is based off of Sun's template (http://java.sun.com/j2se/javadoc/writingdoccomments/package-template). As a result of this error, no output files are produced. Also note that the build completes successfully even though this error occurred - I'd expect the overall build to fail instead.

Comment by Adam Murdoch [ 23/Aug/08 ]

Fixed this problem in 0.3 branch and trunk.
Also changed the Javadoc task to:

  • Fail the build when javadoc generation fails
  • Include the compile classpath when generating javadocs, to remove javadoc errors
Generated at Wed Jun 30 11:23:59 CDT 2021 using Jira 8.4.2#804003-sha1:d21414fc212e3af190e92c2d2ac41299b89402cf.