You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Michael Kurz <mi...@gmx.at> on 2010/05/20 16:47:49 UTC

[JSF 2] Make jetty:run work

Hi guys,

I did some work on the jetty-maven-plugin to enabling starting MyFaces 2 
and Mojarra 2 apps with jetty:run. The problem in this case is, that 
annotation scanning looks for /WEB-INF/lib and /WEB-INF/classes which do 
not exist with jetty:run.

There already was an issue for Jetty regarding this topic and so I 
simply added the patch there. Unfortunately it is rather old and seems 
to be neglected. Maybe some voting over there would help:

http://jira.codehaus.org/browse/JETTY-1107

regards
Michael

Re: [JSF 2] Make jetty:run work

Posted by Leonardo Uribe <lu...@gmail.com>.
Hi

Ok, +1

regards,

Leonardo

2010/5/20 Michael Kurz <mi...@gmx.at>

> Hi guys,
>
> I did some work on the jetty-maven-plugin to enabling starting MyFaces 2
> and Mojarra 2 apps with jetty:run. The problem in this case is, that
> annotation scanning looks for /WEB-INF/lib and /WEB-INF/classes which do not
> exist with jetty:run.
>
> There already was an issue for Jetty regarding this topic and so I simply
> added the patch there. Unfortunately it is rather old and seems to be
> neglected. Maybe some voting over there would help:
>
> http://jira.codehaus.org/browse/JETTY-1107
>
> regards
> Michael
>

Re: [JSF 2] Make jetty:run work

Posted by Jakob Korherr <ja...@gmail.com>.
Great, Michael and Mark :)

Just FYI: simply using jetty:run-exploded works fine, however it would be
very great if jetty:run worked too.

Regards,
Jakob

2010/5/20 Mark Struberg <st...@yahoo.de>

> Michael, I'll check it on the weekend.
> I'm maven and codehaus committer also, so I'll try to work on that plugin.
>
> Fwiw it works with OWB too without any changes.
>
> LieGrue,
> strub
>
> --- On Thu, 5/20/10, Michael Kurz <mi...@gmx.at> wrote:
>
> > From: Michael Kurz <mi...@gmx.at>
> > Subject: Re: [JSF 2] Make jetty:run work
> > To: dev@myfaces.apache.org
> > Date: Thursday, May 20, 2010, 3:12 PM
> > The problems occur with JSF to
> > 2-Annotations for configuring managed beans
> > converters... With Spring everything should work fine.
> >
> > regards
> > Michael
> >
> > Am 20.05.2010 17:09, schrieb Bruno Aranda:
> > > Mmh, jetty:run works for me out of the box. I use it
> > all the time. Is
> > > this because I use Spring? It can perfectly fine the
> > annotations in the
> > > target/classes without me having to setup anything...
> > >
> > > Bruno
> > >
> > > On 20 May 2010 15:47, Michael Kurz <michi.kurz@gmx.at
> > > <ma...@gmx.at>>
> > wrote:
> > >
> > >     Hi guys,
> > >
> > >     I did some work on the
> > jetty-maven-plugin to enabling starting
> > >     MyFaces 2 and Mojarra 2 apps
> > with jetty:run. The problem in this
> > >     case is, that annotation
> > scanning looks for /WEB-INF/lib and
> > >     /WEB-INF/classes which do not
> > exist with jetty:run.
> > >
> > >     There already was an issue for
> > Jetty regarding this topic and so I
> > >     simply added the patch there.
> > Unfortunately it is rather old and
> > >     seems to be neglected. Maybe
> > some voting over there would help:
> > >
> > >     http://jira.codehaus.org/browse/JETTY-1107
> > >
> > >     regards
> > >     Michael
> > >
> > >
> >
>
>
>
>


-- 
Jakob Korherr

blog: http://www.jakobk.com
twitter: http://twitter.com/jakobkorherr
work: http://www.irian.at

Re: [JSF 2] Make jetty:run work

Posted by Mark Struberg <st...@yahoo.de>.
Michael, I'll check it on the weekend.
I'm maven and codehaus committer also, so I'll try to work on that plugin.

Fwiw it works with OWB too without any changes.

LieGrue,
strub

--- On Thu, 5/20/10, Michael Kurz <mi...@gmx.at> wrote:

> From: Michael Kurz <mi...@gmx.at>
> Subject: Re: [JSF 2] Make jetty:run work
> To: dev@myfaces.apache.org
> Date: Thursday, May 20, 2010, 3:12 PM
> The problems occur with JSF to 
> 2-Annotations for configuring managed beans
> converters... With Spring everything should work fine.
> 
> regards
> Michael
> 
> Am 20.05.2010 17:09, schrieb Bruno Aranda:
> > Mmh, jetty:run works for me out of the box. I use it
> all the time. Is
> > this because I use Spring? It can perfectly fine the
> annotations in the
> > target/classes without me having to setup anything...
> >
> > Bruno
> >
> > On 20 May 2010 15:47, Michael Kurz <michi.kurz@gmx.at
> > <ma...@gmx.at>>
> wrote:
> >
> >     Hi guys,
> >
> >     I did some work on the
> jetty-maven-plugin to enabling starting
> >     MyFaces 2 and Mojarra 2 apps
> with jetty:run. The problem in this
> >     case is, that annotation
> scanning looks for /WEB-INF/lib and
> >     /WEB-INF/classes which do not
> exist with jetty:run.
> >
> >     There already was an issue for
> Jetty regarding this topic and so I
> >     simply added the patch there.
> Unfortunately it is rather old and
> >     seems to be neglected. Maybe
> some voting over there would help:
> >
> >     http://jira.codehaus.org/browse/JETTY-1107
> >
> >     regards
> >     Michael
> >
> >
> 


      

Re: [JSF 2] Make jetty:run work

Posted by Michael Kurz <mi...@gmx.at>.
The problems occur with JSF 2-Annotations for configuring managed beans, 
converters... With Spring everything should work fine.

regards
Michael

Am 20.05.2010 17:09, schrieb Bruno Aranda:
> Mmh, jetty:run works for me out of the box. I use it all the time. Is
> this because I use Spring? It can perfectly fine the annotations in the
> target/classes without me having to setup anything...
>
> Bruno
>
> On 20 May 2010 15:47, Michael Kurz <michi.kurz@gmx.at
> <ma...@gmx.at>> wrote:
>
>     Hi guys,
>
>     I did some work on the jetty-maven-plugin to enabling starting
>     MyFaces 2 and Mojarra 2 apps with jetty:run. The problem in this
>     case is, that annotation scanning looks for /WEB-INF/lib and
>     /WEB-INF/classes which do not exist with jetty:run.
>
>     There already was an issue for Jetty regarding this topic and so I
>     simply added the patch there. Unfortunately it is rather old and
>     seems to be neglected. Maybe some voting over there would help:
>
>     http://jira.codehaus.org/browse/JETTY-1107
>
>     regards
>     Michael
>
>

Re: [JSF 2] Make jetty:run work

Posted by Bruno Aranda <br...@gmail.com>.
Mmh, jetty:run works for me out of the box. I use it all the time. Is this
because I use Spring? It can perfectly fine the annotations in the
target/classes without me having to setup anything...

Bruno

On 20 May 2010 15:47, Michael Kurz <mi...@gmx.at> wrote:

> Hi guys,
>
> I did some work on the jetty-maven-plugin to enabling starting MyFaces 2
> and Mojarra 2 apps with jetty:run. The problem in this case is, that
> annotation scanning looks for /WEB-INF/lib and /WEB-INF/classes which do not
> exist with jetty:run.
>
> There already was an issue for Jetty regarding this topic and so I simply
> added the patch there. Unfortunately it is rather old and seems to be
> neglected. Maybe some voting over there would help:
>
> http://jira.codehaus.org/browse/JETTY-1107
>
> regards
> Michael
>