You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2013/12/22 08:32:48 UTC

Java8 and APT

Hi all,

I just gave the new Java8 EA b120 a spin and the only things failing are
the apt tests[1] (and there still are > 100 javadoc errors, but that's a
different story).

If anybody familiar with apt could give it a look that would be great.
It may be worth fixing this before 1.9.3.  OTOH if nobody finds the time
to do so, we should not delay the release IMHO.

Stefan

[1] for one if I run the test manually it spits out

,----
| warning: The apt tool and its associated API are planned to be
| removed in the next major JDK release.  These features have been
| superseded by javac and the standardized annotation processing API,
| javax.annotation.processing and javax.lang.model.  Users are
| recommended to migrate to the annotation processing features of
| javac; see the javac man page for more information.
`----

and the tests don't compile as the com.sun.mirror.apt package is nowhere
to be found.  I've never used apt and haven't got any real-world
examples to tell whether only the tests are broken or the task is broken
as well.

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


AW: Java8 and APT

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
We already have a warning in the manual:

"Be advised that the Apt tool does appear to be an unstable part of the JDK
framework, so may change radically in future versions. In particular it is
likely to be obsolete in JDK 6, which can run annotation processors as part
of javac."

So just a hint would be enought.


Jan

> -----Ursprüngliche Nachricht-----
> Von: Stefan Bodewig [mailto:bodewig@apache.org]
> Gesendet: Montag, 23. Dezember 2013 07:02
> An: dev@ant.apache.org
> Betreff: Re: Java8 and APT
> 
> On 2013-12-23, Antoine Levy Lambert wrote:
> 
> > in fact the apt command line executable does not exist in Java 1.8.
> 
> didn't notice that.
> 
> > Our best bet is most likely to say that the apt task does not run
> > under Java 1.8 and bypass the apt tests under Java 1.8
> 
> > I just did that.
> 
> Thanks
> 
>         Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional
> commands, e-mail: dev-help@ant.apache.org



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


Re: Java8 and APT

Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-12-23, Antoine Levy Lambert wrote:

> in fact the apt command line executable does not exist in Java 1.8.

didn't notice that.

> Our best bet is most likely to say that the apt task does not run
> under Java 1.8 and bypass the apt tests under Java 1.8

> I just did that.

Thanks

        Stefan

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


Re: Java8 and APT

Posted by Antoine Levy Lambert <an...@gmx.de>.
Hello,

in fact the apt command line executable does not exist in Java 1.8.

Our best bet is most likely to say that the apt task does not run under Java 1.8 and bypass the apt tests under Java 1.8

I just did that.

Regards,

Antoine

On Dec 22, 2013, at 2:32 AM, Stefan Bodewig wrote:

> Hi all,
> 
> I just gave the new Java8 EA b120 a spin and the only things failing are
> the apt tests[1] (and there still are > 100 javadoc errors, but that's a
> different story).
> 
> If anybody familiar with apt could give it a look that would be great.
> It may be worth fixing this before 1.9.3.  OTOH if nobody finds the time
> to do so, we should not delay the release IMHO.
> 
> Stefan
> 
> [1] for one if I run the test manually it spits out
> 
> ,----
> | warning: The apt tool and its associated API are planned to be
> | removed in the next major JDK release.  These features have been
> | superseded by javac and the standardized annotation processing API,
> | javax.annotation.processing and javax.lang.model.  Users are
> | recommended to migrate to the annotation processing features of
> | javac; see the javac man page for more information.
> `----
> 
> and the tests don't compile as the com.sun.mirror.apt package is nowhere
> to be found.  I've never used apt and haven't got any real-world
> examples to tell whether only the tests are broken or the task is broken
> as well.
> 
> -

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