On 5/1/02 11:41 AM, "Craig R. McClanahan" <[EMAIL PROTECTED]> wrote:
> On Wed, 1 May 2002, Geir Magnusson Jr. wrote: > >> >> On 5/1/02 12:28 AM, "John McNally" <[EMAIL PROTECTED]> wrote: >> >>> >>> Well I would not be bothered if tomcat had developed a build system that >>> it packaged as an independent entity with the idea that it might be more >>> generally useful. Tomcat is a large project and they certainly could >>> have had the itch. And if they promoted it occasionally what's the big >>> deal. >> >> <joke> >> If you have ever built tomcat from source, you might wish they had a build >> system... >> </joke> >> >> That used to be true - I don't know if it is anymore. > > Actually, Tomcat *does* include a nice little build system for web apps -- > in the Application Developer's Guide. Among other things, it sets up your > compile class path to include everything Tomcat has in its shared > repositories (common/lib and so on) for you. In the HEAD branch, and in > the 4.1.0 test release, it even includes custom Ant tasks that interact > with the Manager webapp to install, reload, and uninstall apps > dynamically. > > The difference is that we don't badger people into using it -- their > choice. :-) No, I meant for tomcat proper. A while ago, it was a bear to build entirely from source... I did it once, proved I could do it, and then happily fetched the binaries since :) >>> >>> >>>> >>>>> Struts is adding support for >>>>> Velocity even though one of its primary reasons for being proposed with >>>>> Turbine already existing was to limit the view to jsp exclusively. >>>> >>>> I think you are mistaken - we are building a toolkit to use Velocity as the >>>> view layer in Struts.... Struts isn't adding any support AFAIK. >>>> >>> >>> Okay, I guess I could argue that developing a taglib (or something more >>> elaborate) is outside the scope of a project around a template engine. >> >> We have one of those too. :) Lets you do wacky things like >> >> <jsp:useBean id="mybean" class="GeirBean" /> >> >> <body> >> <vel:velocity strictaccess="true"> >> >> #set($mybean = $scopetool.getPageScope("mybean")) >> >> #if(true) >> this is true! >> #end >> >> <br> >> >> $mybean.string >> >> <br> >> >> #foreach($item in $mybean.array) >> $item <br> >> #end >> >> </vel:velocity> >> </body> >> </html> >> > > Hey Geir, I though there weren't any scriptlets in Velocity? :-) :) That's a JSP page. And maybe the right term is "Velocilets" or something. -- Geir Magnusson Jr. [EMAIL PROTECTED] System and Software Consulting The obvious solutions are challenging -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>