More T4 Progress

"Geoff Longman" <[email protected]> Thu, 18 May 2006 01:37:36 -0400
Newsgroups gmane.comp.ide.eclipse.spindle.devel
Message-ID <[email protected]>
So I didn't have the energy to wrestle with SF cvs tonight.

I added checks/markers for page/component names with path parts to the
LibraryScanner (which covers the ApplicationScanner too). incl unit
tests.

Added path part checks for contained components in xml but this is
hard to write a unit test for until the builder runs better. I say
better as I just rediscovered a piece of code that was only partially
"ported" to T4.

And that's the TemplateScanner. Spindle uses Tapestry's TemplateParser
and passes the resulting Token objects to the TemplateScanner which
validates all.

But, Howard changed the Binding scheme in T4 and when I "ported" the
scanners waaaay back I didn't get to the TemplateScanner.

Now I have to figure out how Spindle will support the uber
configurable T4 BindingTypes. Not as bad as it sounds, since there is
no model of the HM registry only the old ones, static, message, ognl
and a few hardcoded types shipped with Tapestry will be supported to
varying degrees.
(listener, component, hivemind, bean)

Like I said, not hard but some careful thought needs to go into this.

Geoff

Other will be somewhat ignored.

Not hard



--=20
The Spindle guy. http://spindle.sf.net
Blog:                  http://jroller.com/page/glongman
Other interests:  http://www.squidoo.com/spaceelevator/


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642