Re: patches to avoid FastWriter creation

Alex Twisleton-Wykeham-Fiennes <[email protected]> Thu, 9 Mar 2006 16:29:55 +0000
Newsgroups gmane.comp.java.webmacro.user
Message-ID <[email protected]>
On Thu 9 March 2006 16:13, Keats Kirsch wrote:
> Alex,
>
> I haven't found the time to evaluate these changes, but I have pretty
> good faith in the unit tests.  If they all still pass I say let's put
> these out there for folks to try.

I haven't been using the ant build system and the unit tests so far.  I'll 
check out my changes with respect to the unit tests and let you know how I 
get on.

One quick thing, where would I find the documentation on the ant build system, 
or what does this error mean?

Buildfile: build.xml

BUILD FAILED
file:/home/alex/cvsroot/webmacro/build.xml:76: taskdef class 
org.apache.tools.ant.taskdefs.optional.javacc.JavaCC cannot be found

Total time: 1 second

What should my classpath be set to when I run ant?

Alex

> Keats
>
> Alex Twisleton-Wykeham-Fiennes wrote:
> >On Thu 9 March 2006 12:29, Alex Twisleton-Wykeham-Fiennes wrote:
> >>All,
> >>
> >>here are the patched files to avoid unrequired FastWriter creation during
> >>template evaluation.
> >
> >(there is another email to the list before this one that is stuck in the
> > queue due to the attachments with the patches for the clean unloading of
> > templates. However, the patches don't overlap each other so the order of
> > application should not matter)
> >
> >>Changes:-
> >>
> >>- Template
> >>added in a write(FastWriter,Context) method.  This is already present in
> >>the only implementing class (WMTemplate) so it has no affect other than
> >>exposing the API to classes that evaluate against the interface.
> >>
> >>- IncludeDirective
> >>- EvalDirective
> >>Don't pre-cache the results of the sub-template parsing in a String but
> >>instead get them to write directly out to the FastWriter that is passed
> >>into the method.  This avoids the creation of a FastWriter to handle the
> >>template evaluation that is not required and which was taking up a load
> >> of processing time.
> >>
> >>Alex
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live
> webcast and join the prime developer group breaking into this new coding
> territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Webmacro-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/webmacro-user


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642