On 6/10/06, Bruno Aranda <[EMAIL PROTECTED]> wrote:
I have just modified the examples base pom so now it is possible to run the examples directly using the maven jetty plugin. It is possible now too to choose whether to use myfaces or the ri for the war file generated. If no profile is used, the examples will include myfaces (the default behaviour). To build the examples with the RI, use: mvn -P jsfri install
Very nice, though I'm jealous that your 'activeByDefault' profile actually works. I'm running into MNG-2136 where the activation of another profile by the presence of JDK 1.5 suppresses the activeByDefault profile. Another question -- I remember seeing a comment in one of the web.xml files that a Filter or a Listener had to be configured so the app would run under Jetty. Is there any MyFaces-specific configuration that won't work if you just drop the RI jars into the examples? I'm pretty sure the Shale examples all work with either MyFaces or the RI under Tomcat, but when I tried Jetty they wouldn't start, complaining about something missing from web.xml. (If this makes no sense, I'm probably not remembering it correctly.) -- Wendy
