Uwe Schindler created LUCENE-4763:
-------------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to