On Feb 29, 2012, at 9:38 AM, Romain Manni-Bucau wrote:

> that's ok for me,
> 
> but in that case we remove geronimo jaxb from javaee-api

We need both the api and impl jars in the endorsed dir.


-David

> 2012/2/29 David Blevins <[email protected]>
> 
>> Thanks for the two JIRAs!! :)
>> 
>> On Feb 29, 2012, at 12:43 AM, [email protected] wrote:
>>> 
>> ==============================================================================
>>> ---
>> openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java
>> (original)
>>> +++
>> openejb/trunk/openejb/tomee/tomee-common/src/main/java/org/apache/tomee/installer/Installer.java
>> Wed Feb 29 08:43:53 2012
>>> @@ -114,10 +114,9 @@ public class Installer {
>>>        File endorsed = new File(paths.getCatalinaHomeDir(), "endorsed");
>>>        endorsed.mkdir();
>>> 
>>> -        File sourceJar = paths.getJavaEEAPIJAr();
>>> 
>>> -        copyClasses(sourceJar, new File(endorsed,
>> "annotation-api.jar"), "javax/annotation/.*");
>>> -//        copyClasses(sourceJar, new File(endorsed, "jaxb-api.jar"),
>> "javax/xml/bind/.*");
>>> +        copyClasses(paths.getJavaEEAPIJar(), new File(endorsed,
>> "annotation-api.jar"), "javax/annotation/.*");
>>> +        copyClasses(paths.getJavaEEAPIJar(), new File(endorsed,
>> "jaxb-api.jar"), "javax/xml/bind/.*");
>>>    }
>> 
>> I think we need to move the JAXB 2.2. RI in there too as the JAXB 2.1 RI
>> is part of the JVM.
>> 
>> 
>> -David
>> 
>> 

Reply via email to