[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wink-dev
Subject:    Re: JAXBProvidersWithXmlElementAnnoTest.java causing build failure?
From:       Jason Dillon <jason () planet57 ! com>
Date:       2010-10-26 3:36:27
Message-ID: 466F4A16-ABD9-4F39-AAF1-5AFDFE358E0D () planet57 ! com
[Download RAW message or body]

Okay, thx.  could be fixed in newer jdk 1.6* (newer than _19).  IIRC there was a \
similar problem with jaxb that was resolved with a change to the jdk.  Probably time \
to update our grid's jdks anyways...

--jason


On Oct 25, 2010, at 8:07 PM, Bryant Luk wrote:

> The JAXBElement test probably fails because @XmlElement cannot be on
> method parameters in JAXB 2.1 (JDK 1.6).  You'll need JAXB 2.2 for
> that.  I think there's some special configuration in the main pom.xml
> for this.  I'm not sure right now what other configuration is required
> to put JAXB 2.2 on the classpath ahead of JAXB 2.1 if you're running
> JDK 1.6.
> 
> On Mon, Oct 25, 2010 at 9:54 PM, Jason Dillon <jason@planet57.com> wrote:
> > Been seeing this failure when compiling tests:
> > 
> > ERROR] /opt/grid/slave/workspace/Wink/jdk/java-6x/label/ubuntu/wink-server/src/tes \
> > t/java/org/apache/wink/server/internal/providers/entity/JAXBProvidersWithXmlElementAnnoTest.java:[112,66] \
> > annotation type not applicable to this kind of declaration 
> > ( https://grid.sonatype.org/ci/job/Wink/jdk=java-6x,label=ubuntu/32/console )
> > 
> > Last good build was on 10/18/10 ( https://grid.sonatype.org/ci/job/Wink/16/ ).
> > 
> > Any idea why its unhappy?  Is this a JDK problem?  It builds fine on my Mac \
> > locally using 1.6.0_22, but fails on our grid slave using 1.6.0_19 and 1.5.0_22 
> > --jason


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic