AW: JDK 9 build 06 is available on java.net

2014-04-10 Thread jhm
BTW
http://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html

Jan

> -Ursprüngliche Nachricht-
> Von: Jan Matèrne (jhm) [mailto:apa...@materne.de]
> Gesendet: Donnerstag, 10. April 2014 11:44
> An: 'Ant Developers List'
> Betreff: AW: JDK 9 build 06 is available on java.net
> 
> > > I am trying to add the Java9 support.
> > > First try is building on Java9, which fails due stricter javadoc
> > checks.
> > >
> > Yup, I think Stefan had reported too that generating the Javadoc of
> > Ant also fails under Java 1.8
> 
> 
> I changed the buildfile to be disable the doclint by default.
> doclint is the tool which breaks the build in "backward incompatible
> manner".
> 
> There are lots of doclint errors in the source tree and fixing them
> would require lot of time.
> For fixing doclint could be enabled via -DwithDoclint=true.
> 
> Now the "build javadocs" works on my machine with Java5, Java6, Java7,
> Java8 and Java9.
> 
> 
> Jan
> 
> 
> -
> 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



AW: JDK 9 build 06 is available on java.net

2014-04-10 Thread jhm
> > I am trying to add the Java9 support.
> > First try is building on Java9, which fails due stricter javadoc
> checks.
> >
> Yup, I think Stefan had reported too that generating the Javadoc of Ant
> also fails under Java 1.8


I changed the buildfile to be disable the doclint by default.
doclint is the tool which breaks the build in "backward incompatible
manner".

There are lots of doclint errors in the source tree and fixing them would
require lot of time.
For fixing doclint could be enabled via -DwithDoclint=true.

Now the "build javadocs" works on my machine with Java5, Java6, Java7, Java8
and Java9. 


Jan


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



AW: JDK 9 build 06 is available on java.net

2014-04-09 Thread jhm
Yep, Java9.

Have cleaned my environment variables
- delete all *JAVA*, *CLASSPATH* variables
- shorten PATH to contain only system locations
- set JAVA_HOME to Java9
- set PATH=%JAVA_HOME%\bin;%PATH%

java -version gives the Java9-message.

Also the changed behaviour of JavaDoc make me think that I got the Java9 ;-)


Jan


> -Ursprüngliche Nachricht-
> Von: Antoine Levy Lambert [mailto:anto...@gmx.de]
> Gesendet: Donnerstag, 10. April 2014 04:50
> An: Ant Developers List
> Betreff: Re: JDK 9 build 06 is available on java.net
> 
> Hi,
> 
> On Apr 9, 2014, at 9:55 AM, Jan Matèrne (jhm) 
> wrote:
> 
> > I am trying to add the Java9 support.
> > First try is building on Java9, which fails due stricter javadoc
> checks.
> >
> >
> Yup, I think Stefan had reported too that generating the Javadoc of Ant
> also fails under Java 1.8
> 
> > 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)
> >
> ==
> > ==
> >
> >
> …. pruning the detailed failures
> > ==> not fine, but I dont see a problem for trying Java9
> >
> >
>  Can you download the optional libs using fetch.xml ? and rerun the
> tests.
> If we have failures due to the absence of the optional libs it should
> be possible to correct that.
> 
> 
> 
> Regards,
> 
> Antoine
> 
> 
> -
> 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



Re: JDK 9 build 06 is available on java.net

2014-04-09 Thread Antoine Levy Lambert
Hi,

On Apr 9, 2014, at 9:55 AM, Jan Matèrne (jhm)  wrote:

> I am trying to add the Java9 support.
> First try is building on Java9, which fails due stricter javadoc checks.
> 
> 
Yup, I think Stefan had reported too that generating the Javadoc of Ant also 
fails under Java 1.8

> 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)
> 
> 
> 
…. pruning the detailed failures
> ==> not fine, but I dont see a problem for trying Java9
> 
> 
 Can you download the optional libs using fetch.xml ? and rerun the tests.
If we have failures due to the absence of the optional libs it should be 
possible to correct that.



Regards,

Antoine


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



Re: JDK 9 build 06 is available on java.net

2014-04-09 Thread Antoine Levy Lambert
Jan,
 
On Apr 9, 2014, at 10:20 AM, Jan Matèrne (jhm)  wrote:

> JDK 9 Build 06 Early Access Build is now available for download
>  & test.
 
 Might be a good idea to make Ant detect Java9 
> 
> 
> should be done with svn-1585981
> (Java9-detection should be changed to "usual algorithm" when there is a "new
> introduced" class …)
looks fine also to detect a new constant - that’s also pretty neat.
> 
> 
 and allow javac's
 target/source attribute values of "9" and "1.9" before we cut Ant
 1.9.4
> 
> Haven't seen a constraint here ...
> Must dive deeper ;)
I did not see a constraint either in the source code of the javac tasks, did 
you try actually compiling under Java 1.9 ?
> 
> 
> Jan
> 
Antoine
-
To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org



AW: JDK 9 build 06 is available on java.net

2014-04-09 Thread jhm
> > >> JDK 9 Build 06 Early Access Build is now available for download
> > >>  & test.
> > >
> > > Might be a good idea to make Ant detect Java9 


should be done with svn-1585981
(Java9-detection should be changed to "usual algorithm" when there is a "new
introduced" class ...)


> > > and allow javac's
> > > target/source attribute values of "9" and "1.9" before we cut Ant
> > > 1.9.4

Haven't seen a constraint here ...
Must dive deeper ;)


Jan


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



AW: JDK 9 build 06 is available on java.net

2014-04-09 Thread jhm
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:
  

$ 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 uni

Re: JDK 9 build 06 is available on java.net

2014-04-08 Thread Antoine Levy Lambert
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  wrote:

> On 2014-04-08, Rory O'Donnell Oracle, Dublin Ireland wrote:
> 
>> JDK 9 Build 06 Early Access Build is now available for 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



Re: JDK 9 build 06 is available on java.net

2014-04-08 Thread Stefan Bodewig
On 2014-04-08, Rory O'Donnell Oracle, Dublin Ireland wrote:

> JDK 9 Build 06 Early Access Build is now available for 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



JDK 9 build 06 is available on java.net

2014-04-08 Thread Rory O'Donnell Oracle, Dublin Ireland

Hi Stefan,

JDK 9 Build 06 Early Access Build is now available for download 
 & test.


Rgds, Rory

--
Rgds,Rory O'Donnell
Quality Engineering Manager
Oracle EMEA , Dublin, Ireland