Bill,

Thanks for trying to straighten this all out.  Its very confusing to
our users (and me) so I think your efforts are worthwhile.  One bit of
history is that I simplified the build of the webapps so that they all
used a single build file build-webapps.xml.  It looks like I did not
end up providing support for the pre5.5 feature (whatever it is that
feature did.)

IMO there are two issues here: 

1.) What is required to run MyFaces (in general - not specifically our
examples bundle) on the various Tomcat versions?

2.) How to make the examples work on the various deployments.

They are related but slightly different questions.  It seems like the
jsp-2.0.jar is the determining factor (although I thought there was
another.)  It would be nice to have a summary of the various tomcat
versions (based on your findings above) that describe what jars need
to be added or removed (to a standard Tomcat distro) for a generic
MyFaces app to work.  You can use the simple examples as a test case
in determining this but the write up should be focused on any
application.  That's the question we seem to get more than anything. 
("I can't get my hello world working on Tomcat version such and such')

As for the examples, my opinion on that would depend on the answer to
the following question.  Do the current examples work on an
out-of-the-box distro for Tomcat 5 and Tomcat 5.5?  (I believe they
work on 5.0 b/c that is what I use.)  If they work on both of these
versions I would say that yes we can ignore special build
configuration options for the examples since most are running at least
5.0.

sean



On 5/31/05, Bill Dudney <[EMAIL PROTECTED]> wrote:
> Ok,
> 
> One last post on this topic, if we copy the jsp-2.0.jar into the
> examples they do deploy and appear to run on both 4.0.6 and 4.1.31.
> 
> Any thoughts on changing the Tomcat 5.5 docs to instead be Tomcat 4.x
> and have people add the jsp-2.0.jar file to their deployments?
> 
> I think we need to change the docs one way or the other since 5.5.7
> and up works fine with our examples out of the box.
> 
> Thoughts?
> 
> -bd-
> 
> On May 31, 2005, at 10:23 AM, Bill Dudney wrote:
> 
> > Hi All,
> >
> > Well now I feel like a bone head. A friend was complaining that the
> > 5.5 docs were hard to follow so I figured I'd just update a bit
> > without trying them since at one point they worked for me.
> >
> > Well I just went through and deployed the myfaces-examples and
> > myfaces-simple-examples webapps and both work (neither have the
> > jsp2.0 jar file anymore though). I downloaded from the 1.0.9 build.
> >
> > So I'm not sure that the directions are valid at all. From looking
> > at the build files nothing appears to be using the tomcat.pre.
> > 5.5.version flag anymore anyway. Perhaps whatever required these
> > two changes (removing the two jar files) before deploying to 5.5
> > has been changed.
> >
> > I'd be glad to remove the tomcat5.5.xml file from the docs if
> > everyone concurs that there is not an issue anymore.
> >
> > Does anyone have an older version (I tried 5.5.9 and 5.5.7, I could
> > not find an older one) to try out the examples out on? If its not
> > been a problem since 5.5.1 or so then we could probably remove our
> > cautionary info from the docs.
> >
> > TTFN,
> >
> > -bd-
> >
> > On May 31, 2005, at 1:52 AM, Matthias Wessendorf wrote:
> >
> >
> >> btw. has anyone ever asked the Tomcat folks, what the reason for
> >> that behaivor?
> >> Why must we *remove* the JARs ?
> >>
> >> On 5/31/05, Bruno Aranda <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>> IMO it would be better to generate automatically the two builds
> >>> for each
> >>> application (or at least the examples), so users could directly
> >>> download
> >>> them without having to manipulate jars...
> >>>
> >>>  Bruno
> >>>
> >>> 2005/5/31, Martin Marinschek <[EMAIL PROTECTED]>:
> >>>
> >>>
> >>>> What about Tomcat 5.0 vs. Tomcat 5.5? Should we do the change to
> >>>> have
> >>>> our build process automatically create a Tomcat 5.5 compatible
> >>>> version, and explain to the users how to get applications running
> >>>> under 5.0.x?
> >>>>
> >>>> I saw that Bill has checked in a change to the build-files which
> >>>> would
> >>>> make that easy.
> >>>>
> >>>> I think by now most of the users/developers should have switched
> >>>> to 5.5.
> >>>>
> >>>> regards,
> >>>>
> >>>> Martin
> >>>>
> >>>>
> >>>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> Matthias Wessendorf
> >>
> >>
> >
> >
> 
>

Reply via email to