lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4763) 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
Date Fri, 08 Feb 2013 15:21:12 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-4763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13574541#comment-13574541
] 

Shai Erera commented on LUCENE-4763:
------------------------------------

+1
                
> 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
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message