I am trying to add the Java9 support.
First try is building on Java9, which fails due stricter javadoc checks.


Jan




svn-rev 1.585.946
Working on Windows 7
No optional libs (which doesnt exist in svn)


Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_22-b03)
Java HotSpot(TM) Client VM (build 1.5.0_22-b03, mixed mode, sharing)
============================================================================
====

1. Bootstrapping
---------------------------------
$ build dist
... Bootstrapping Ant Distribution
... Done Bootstrapping Ant Distribution
--> no problem



2. Building Distro
---------------------------------
Buildfile: C:\projekte\apache-ant\core_test\build.xml


javadocs:
--> several "class not found" messages due optional libs
--> some @see warnings: 
    * wrong java-link-syntax (missing '#')
    * reference not found (optional libs)
    * @param not a param
    * @inheritDoc but doesnt override method
    * custom tag warning @todo
  [javadoc] 134 warnings
  [javadoc] Patched 1 link injection vulnerable javadocs

==> no problem  

                       

3. Test
---------------------------------
$ build test

BUILD FAILED
C:\projekte\apache-ant\core_test\build.xml:1571: Unit tests failed; see:
C:\projekte\apache-ant\core_test\build\testcases\reports
C:\projekte\apache-ant\core_test\build\antunit\reports


AntUnit:  5 Failures, 6 Errors
Failures
- resourceexists-test_xml
  -- testURL: line 40 column 20
- get-test_xml
  -- testInfiniteRedirect: More than 25 times redirecting, giving up; socket
error 10106
- hostinfo-test_xml
  -- testApacheNoPrefix: line 91 column 22
  -- testReverse: expected 'www' but was '194'; line 101 col 80
  -- testApache: line 68 col 22
Errors
- get-test_xml
  -- testPermanentRedirect: socket 10106; line 42:77
  -- testSeeOtherRedirect: socket 10106; line 29:67
  -- test5LevelsOfRedirect: socket 10106; line 81:71
  -- testStatusCode307Redirect: socket 10106; line 68:65
  -- testTemporaryRedirect: socket 10106; line 55:67
  -- testNestedResources: socket 10106; line 105:39
    
JUnit: 2 Failures, 11 Errors
Failures
- ManifestClassPathTest
  -- testDifferentWindowsDrive:198: Should throw BuildException because:
different drive
- SignJarTest
  -- testTsaLocalhost: socket 10106
Errors
- IsReachableTest
  -- testLocalhost
  -- testLocalhostURL
  -- testIpv4localhost
  -- testFTPURL
MailMessageTest: NullPointerExceptions (optional jar?)  
  -- testAPIExample
  -- testToOnly
  -- testCcOnly
  -- testBccOnly
  -- testNoSubject
  -- testEmptyBody
  -- testAsciiCharset

==> not fine, but I dont see a problem for trying Java9

  
    
        
   
Java(TM) SE Runtime Environment (build 1.9.0-ea-b06)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b62, mixed mode)
============================================================================
====

1. Bootstrapping
---------------------------------
$ build dist
... Bootstrapping Ant Distribution
... Done Bootstrapping Ant Distribution
--> no problem



2. Building Distro
---------------------------------
javadoc: same erros (of course)
  [javadoc] Standard Doclet version 1.9.0-ea
  [javadoc] Building tree for all the packages and classes...
--> strict html check: tag not allowed here, unexpected text, malformed
HTML, unknown tag: ant|antcall|subant, ... bad use of '>'

  [javadoc] Note: Custom tags that could override future standard tags:
@todo. To avoid potential overrides, use at least one period character (.)
in custom tag names.
  [javadoc] 100 errors
  [javadoc] 100 warnings

BUILD FAILED
C:\projekte\apache-ant\core_test\build.xml:934: The following error occurred
while executing this line:
C:\projekte\apache-ant\core_test\build.xml:1425: Javadoc returned 1


3. Building Distro without Javadoc
----------------------------------
$ build dist -Djavadoc.notrequired=true

BUILD FAILED
C:\projekte\apache-ant\core_test\build.xml:934: The following error occurred
while executing this line:
C:\projekte\apache-ant\core_test\build.xml:941:
C:\projekte\apache-ant\core_test\build\javadocs does not exist.


4. Building Distro without Javadoc 2
------------------------------------
Adding an unless-clause to the build.xml:
  <target name="dist_javadocs" depends="javadocs"
unless="javadoc.notrequired">

$ build dist -Djavadoc.notrequired=true

==> no problem
    
    
3. Test
---------------------------------
$ build test

BUILD FAILED
C:\projekte\apache-ant\core_test\build.xml:1571: Unit tests failed; see:
C:\projekte\apache-ant\core_test\build\testcases\reports
C:\projekte\apache-ant\core_test\build\antunit\reports

AntUnit:  5 Failures, 6 Errors
- same as under Java 1.5
JUnit: 2 Failures, 11 Errors
- same as under Java 1.5
    



> -----Ursprüngliche Nachricht-----
> Von: Antoine Levy Lambert [mailto:anto...@gmx.de]
> Gesendet: Mittwoch, 9. April 2014 03:47
> An: Ant Developers List
> Betreff: Re: JDK 9 build 06 is available on java.net
> 
> Hi,
> 
> I am still finishing up my work to make our unit tests use unique
> temporary directories.
> 
> When I am finished I will look into that, although I am also interested
> in working on Ivy - especially the bug with the OutOfMemory exception
> on large zip files and the issue raised by Josh Suereth concerning
> performance.
> 
> Regards,
> 
> Antoine
> 
> On Apr 8, 2014, at 6:47 AM, Stefan Bodewig <bode...@apache.org> wrote:
> 
> > On 2014-04-08, Rory O'Donnell Oracle, Dublin Ireland wrote:
> >
> >> JDK 9 Build 06 Early Access Build is now available for download
> >> <https://jdk9.java.net/download> & test.
> >
> > Might be a good idea to make Ant detect Java9 and allow javac's
> > target/source attribute values of "9" and "1.9" before we cut Ant
> > 1.9.4
> > - I probably won't find time to look into it before the weekend,
> though.
> >
> > Stefan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional
> > commands, e-mail: dev-h...@ant.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional
> commands, e-mail: dev-h...@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to