[ https://issues.apache.org/jira/browse/LUCENE-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574928#comment-13574928 ]
Uwe Schindler edited comment on LUCENE-4763 at 2/8/13 11:01 PM: ---------------------------------------------------------------- I updated Policeman Jenkins's JDK8 to b76. I will try locally if javadocs work again and maybe reenable javadocs linting on them. was (Author: thetaphi): I update Policeman Jenkins's JDK8 to b76. I will try locally if javadocs work again and maybe reenable javadocs linting on them. > Fix Java version detection in common-build.xml, use correct source version > for javadocs, fail build on unsupported java version when documentation > linting is enabled > --------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: LUCENE-4763 > URL: https://issues.apache.org/jira/browse/LUCENE-4763 > Project: Lucene - Core > Issue Type: Bug > Components: general/build > Affects Versions: 4.1 > Reporter: Uwe Schindler > Assignee: Uwe Schindler > Fix For: 4.2, 5.0 > > Attachments: LUCENE-4763.patch > > > Followup after the discussion on mailing list; this issue tries to fix the > following problems in the ANT build: > - ${ant.java.version} is incorrect for Java 8 with ANT < 1.8.3 (it says its > Java 7, so we habve otherwise no chance to detect java 8). This can be fixed > by the same set of reflection tests from Constants.java. We can also fail > build early if somebody uses Java 1.5 > - javadoc macro uses this incorrect ant.java.version property to execute > javadocs. The source attribute of the javac task must be ${javac.source} > (like javac) > - If we run builds by Jenkins, we silently disable targets that cannot be > executed. This has effects on real developers. If a real person executes the > ant tasks it should not pass silently, it should tell the user that his > configuration is unsupported. This can be done by passing a hidden > "jenkins-build" property down. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org