Hi, Sahoo
> For runtime classloading, follow the same trick that we did for
> JAX-WS. Put the jar in modules/endorsed
Which pom.xml file(s) do I need to modify to make this happen?
> , remove javax.resource from export list in felix config.properties if
> it exists
No, it does not exist there.
> . modules/endorsed is needed for appclients to work, as that does not
> use OSGi.
>
Thanks,
- Hong
>
> Bhakti Mehta wrote:
>
>> Hong,
>> You may have to add compiler args see jsr109-impl pom.xml where I
>> made similar changes to take care of jaxws 2.2 and not load jaxws 2.0
>> from jdk
>> Add bootclasspath so that newer jar with changes gets loaded before
>> the rt.jar
>> Also for runtime I have webservices-api-osgi in modules/endorsed
>> maybe the same needs to be done for jsr250
>> Regards,
>> Bhakti
>>
>> Hong Zhang wrote:
>>
>>> Hi, Rajiv
>>> When I was trying to compile my changes against the
>>> javax.annotation.Resource class, I found the compiler could not find
>>> the new method "lookup" that you have added to the Resource class in
>>> the v3/javaee-api/javax.annotation module. When talking to Tim about
>>> the mystery, he reminded me there is also a
>>> javax.annotation.Resource class from JDK and the compiler must be
>>> seeing the version from JDK.
>>> How do we solve this problem, at both build time and run time?
>>> I am Ccing dev alias to see if other people have any ideas.
>>>
>>> Thanks,
>>>
>>> - Hong
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>