-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javadoc returns a non-zero exit code but success is reported #414
Comments
Thanks for filing this bug @raboof. Please, next time you file a ticket, choose a meaningful title that explains clearly the issue, we try to keep the issue tracker clean and easy to read. 😄 |
What would be the proper way to report the error here? Is throwing acceptable or is there a better mechanism? |
An exception would be the way to go. I encourage you to whip up a quick PR and we move forward from there. I guess that if Javadoc produces a non-zero exit code it also produces some kind of error messages. Is that displayed to the console as expected? |
Will do! The Javadoc error messages are indeed mostly-correctly printed to the console (but #415 ;) ) |
Fixed with #625 which should be released with sbt 1.3.0 |
In
sbt.inc.Doc
, thejavadoc
JavaTool
is invoked.When
javadoc
fails it produces a non-zero exit code, which leads torun
returningfalse
. InDoc
, however, the return value is ignored.The text was updated successfully, but these errors were encountered: