You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@groovy.apache.org by Russel Winder <ru...@winder.org.uk> on 2018/08/18 15:27:30 UTC

Cannot build Groovy "out of the box"

Since the JAXB thing, Groovy master/HEAD does not build out of the box:

For example:

> Task :javadocAll
/home/users/russel/Repositories/Git/Forks/Groovy/subprojects/groovy-jaxb/src/main/java/org/apache/groovy/jaxb/extensions/JaxbExtensions.java:21: error: package javax.xml.bind does not exist
import javax.xml.bind.JAXBContext;
                     ^
/home/users/russel/Repositories/Git/Forks/Groovy/subprojects/groovy-jaxb/src/main/java/org/apache/groovy/jaxb/extensions/JaxbExtensions.java:22: error: package javax.xml.bind does not exist
import javax.xml.bind.JAXBException;
                     ^

Should there be a fix for this?

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


Re: Cannot build Groovy "out of the box"

Posted by Russel Winder <ru...@winder.org.uk>.
On Sun, 2018-08-19 at 10:44 +1000, Paul King wrote:
> Yes, I fixed up compilation but didn't do doc yet.

You are being a Groovy hero. :-)

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


Re: Cannot build Groovy "out of the box"

Posted by Paul King <pa...@asert.com.au>.
Yes, I fixed up compilation but didn't do doc yet.

On Sun, Aug 19, 2018 at 4:18 AM Russel Winder <ru...@winder.org.uk> wrote:

> On Sat, 2018-08-18 at 19:45 +0200, Remi Forax wrote:
> > yes,
> > JAXB has to be pulled from Maven Central now.
> >
>
> That is not the problem per se, the problem is that the Groovy javadoc
> process in master/HEAD assumes JAXB is in the classpath.
>
> --
> Russel.
> ===========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk
>
>

Re: Cannot build Groovy "out of the box"

Posted by Russel Winder <ru...@winder.org.uk>.
On Sat, 2018-08-18 at 19:45 +0200, Remi Forax wrote:
> yes,
> JAXB has to be pulled from Maven Central now.
> 

That is not the problem per se, the problem is that the Groovy javadoc
process in master/HEAD assumes JAXB is in the classpath.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


Re: Cannot build Groovy "out of the box"

Posted by Remi Forax <fo...@univ-mlv.fr>.
yes,
JAXB has to be pulled from Maven Central now.

Rémi

----- Mail original -----
> De: "Russel Winder" <ru...@winder.org.uk>
> À: "Uwe Schindler" <us...@apache.org>, "dev" <de...@groovy.apache.org>
> Envoyé: Samedi 18 Août 2018 19:33:36
> Objet: Re: Cannot build Groovy "out of the box"

> On Sat, 2018-08-18 at 15:42 +0000, Uwe Schindler wrote:
>> Hi,
>> 
>> I assume you are building with Java 11! JAXB is unfortunately no
>> longer bundled/enabled in the JDK.
>> 
> 
> True, which shows that Groovy has a problem. Only 38 days till Java 11
> is the current version of Java.
> 
> --
> Russel.
> ===========================================
> Dr Russel Winder      t: +44 20 7585 2200
> 41 Buckmaster Road    m: +44 7770 465 077
> London SW11 1EN, UK   w: www.russel.org.uk

Re: Cannot build Groovy "out of the box"

Posted by Russel Winder <ru...@winder.org.uk>.
On Sat, 2018-08-18 at 15:42 +0000, Uwe Schindler wrote:
> Hi,
> 
> I assume you are building with Java 11! JAXB is unfortunately no
> longer bundled/enabled in the JDK.
> 

True, which shows that Groovy has a problem. Only 38 days till Java 11
is the current version of Java.

-- 
Russel.
===========================================
Dr Russel Winder      t: +44 20 7585 2200
41 Buckmaster Road    m: +44 7770 465 077
London SW11 1EN, UK   w: www.russel.org.uk


Re: Cannot build Groovy "out of the box"

Posted by Uwe Schindler <us...@apache.org>.
Hi,

I assume you are building with Java 11! JAXB is unfortunately no longer bundled/enabled in the JDK.

Uwe

Am August 18, 2018 3:27:30 PM UTC schrieb Russel Winder <ru...@winder.org.uk>:
>Since the JAXB thing, Groovy master/HEAD does not build out of the box:
>
>For example:
>
>> Task :javadocAll
>/home/users/russel/Repositories/Git/Forks/Groovy/subprojects/groovy-jaxb/src/main/java/org/apache/groovy/jaxb/extensions/JaxbExtensions.java:21:
>error: package javax.xml.bind does not exist
>import javax.xml.bind.JAXBContext;
>                     ^
>/home/users/russel/Repositories/Git/Forks/Groovy/subprojects/groovy-jaxb/src/main/java/org/apache/groovy/jaxb/extensions/JaxbExtensions.java:22:
>error: package javax.xml.bind does not exist
>import javax.xml.bind.JAXBException;
>                     ^
>
>Should there be a fix for this?
>
>-- 
>Russel.
>===========================================
>Dr Russel Winder      t: +44 20 7585 2200
>41 Buckmaster Road    m: +44 7770 465 077
>London SW11 1EN, UK   w: www.russel.org.uk

--
Uwe Schindler
Achterdiek 19, 28357 Bremen
https://www.thetaphi.de