Hi Greg -- Thanks for your answer. As far as using testing as a solution, that is not very satisfactory as: - I am starting a company by myself and, while I am doing test code, I really want to focus on the business logic not the general of validation components and pages. - It relies on developers always adding tests for all components simply to verify what tapestry should be able to verify automatically.
The load-on-startup only starts up Tapestry, but does not actually test any pages. Also this occurs during the restart phase of build deployment. I would like to have this check occur as part of the image creation. In short, I want errors discovered as soon as they occur and automatically, preferably with a maven2 plugin. Having a dynamic environment is great for development, but when going to production, where you don't want things to be changed, having a static verification step is nice as well. -Pat --- [EMAIL PROTECTED] wrote: > 1. Testing. > > 2. Hmm, have you looked into a <load-on-startup> tag for web.xml? I'm not > 100% sure it would work with Tapestry but, since Tapestry does have a > Servlet, i would guess that it would. > > 4. I find that the servlet loading takes the longest, about 8 seconds the > first time. After that, it's hard to determine if the server was restarted, > all the pages load rather quickly. > > -Greg > > -----Original Message----- > From: Patrick Moore [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 30, 2006 10:06 PM > To: Tapestry users > Subject: Re: Is there a way to pregenerate Component/Page classes? > > > 1. So that I know that there are no problems with any component or page. > Otherwise how do I know a customer isn't going to find a problem on the > production site? > > 2. So that no user experiences any delay after a server restart. > > 3. So that in a cluster the bytecode generation is only done once. > > 4. So if the server restarts it is not obvious to any user. > > Considering how slow it can be to generate new components and pages why would > I > want it done while a customer is trying to use the site? > > --- "hv @ Fashion Content" <[EMAIL PROTECTED]> wrote: > > > Uh, what?? > > > > You sure you are are referring to Tapestry? Why would you want generate a > > class file? > > > > "Patrick Moore" <[EMAIL PROTECTED]> skrev i en meddelelse > > news:[EMAIL PROTECTED] > > > Is there a way to have Tapestry walk the component/page packages and > > > generate > > > the .class files? > > > > > > I would like to do this to make sure that in production there are no > > > errors at > > > the basic component/page definition level. > > > > > > Otherwise it seems like I am force to have a script that walks every > > > page/component just to get the byte code generated. > > > > > > I don't know if there is a mvn plugin that will do this for me but if > > > there is > > > please let me know. > > > > > > -Pat > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]