Hi,
with jetty:run it was not possible to configure managed beans etc. with
annotations. Both MyFaces and Mojarra scan java class files in
/WEB-INF/lib and /WEB-INF/classes for this purpose.
If you start a webapp with jetty:run, those directories do not exist
until now. With the patch jetty creates virtual directories for those
locations.
cheers
Michi
Am 19.08.2010 11:23, schrieb Bruno Aranda:
I wonder what was the problem with Jetty? I have been using "mvn
jetty:run" with JSF 2 for quite a while...
Bruno
On 19 August 2010 05:28, Martin Marinschek <mmarinsc...@apache.org
<mailto:mmarinsc...@apache.org>> wrote:
Hi Michi,
thanks, that will make it a tad easier for everyone using JSF and
Jetty...
best regards,
Martin
On Wed, Aug 18, 2010 at 9:21 PM, Matthias Wessendorf
<mat...@apache.org <mailto:mat...@apache.org>> wrote:
> On Wed, Aug 18, 2010 at 8:07 PM, Michael Kurz <michi.k...@gmx.at
<mailto:michi.k...@gmx.at>> wrote:
>> Patch for [2] is already committed, fast guys over there...
>
> +1 they rock and they are fast.
>
> thanks for sharing!
>
> -M
>
>>
>> Am 18.08.2010 19:48, schrieb Michael Kurz:
>>>
>>> Hi,
>>>
>>> I just saw that my patch for the maven jetty plugin ([1]) was
accepted
>>> and is integrated in the latest version 7.2.0-SNAPSHOT. It is now
>>> possible to run JSF 2.0 projects with mvn jetty:run (at least
in theory,
>>> there is another bug I provided a patch for [2]).
>>>
>>> Unfortunately, thre does not seem to be a snapshot repository
for Jetty.
>>> So, whoever wants to try it has to build it first.
>>>
>>> cheers
>>> Michi
>>>
>>> [1]: http://jira.codehaus.org/browse/JETTY-1107
>>> [2]: http://jira.codehaus.org/browse/JETTY-1261
>>
>
>
>
> --
> Matthias Wessendorf
>
> blog: http://matthiaswessendorf.wordpress.com/
> sessions: http://www.slideshare.net/mwessendorf
> twitter: http://twitter.com/mwessendorf
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces