users@glassfish.java.net

Re: How to test the jsr-299 on gfv3

From: Paulo Reis <casmeiron_at_gmail.com>
Date: Fri, 23 Oct 2009 17:49:27 -0200

Hi Paul,

Thanks, I'm goin' to change for that one.



On 10/23/09 5:27 PM, "Paul Sandoz" <Paul.Sandoz_at_Sun.COM> wrote:

> Hi,
>
> Add the following dependency:
>
> <dependency>
> <groupId>org.jboss.weld</groupId>
> <artifactId>weld-osgi-bundle</artifactId>
> <version>1.0.0-CR1-SP1</version>
> <scope>provided</scope>
> </dependency>
>
> and also remember to include a beans.xml in the WEB-INF:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <beans/>
>
> The class javax.webeans.Current no longer exists. After changes
> required to depend on 330 you need to use javax.inject.Inject.
>
> Paul.
>
> On Oct 23, 2009, at 8:38 PM, Paulo Cesar Reis wrote:
>
>> Hi,
>>
>> How can I test the latest jsr-299 on glassfish v3 preview? Im using
>> maven2 to build my project so Išve tried to include the follow api:
>>
>> <dependency>
>> <groupId>org.jboss.weld</groupId>
>> <artifactId>weld-api</artifactId>
>> <version>1.0-CR1</version>
>> <scope>provided</scope>
>> </dependency>
>>
>> But I couldnšt find a lot of things like @Current and so. The GFV3
>> does have the implementation of the jsr-299 and how can I include
>> the api in my project?
>>
>> Thanks.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>