Some kind of auto-discovery via the classloader you mean?
Anything to help these tools would be great. I think greater
ease of component sharing and Trails powered RAD would propel
Tapestry into the market position it deserves.
Cheers,
Nick.
Howard Lewis Ship wrote:
Actually, he was making some suggestions to go beyond what Tapestry
provides today, some of which would be useful to tools like Spindle
and Palette, or even to distro communities like Tacos.
On 7/25/05, Nick Westgate <[EMAIL PROTECTED]> wrote:
Hi.
Howard's book "Tapestry In Action" explains how to do this in
chapter 6.9 "Packaging components into libraries".
Components are (1) packaged in a jar, (2) specified in a
".library" file, (3) included in the classpath and configured
in the ".application" file, just like the contrib library
(bundled with Tapestry) and the base library (from T-Deli).
Cheers,
Nick.
Yunfeng Hou wrote:
I am thinking about that if Tapestry could have a
consistent component packaging mechanism, which will
ease the development, the usage and tools such as
spindle. Here's what I thought.
1. components should be packaged into a jar file, or,
may be we can name it as tapestry archive(tar) :-)
2. components should have an entry in META-INF, just
as hivemind.xml, it will list all libabry files this
archive contains.
3. component archives can be put into
WEB-INF/components directory, this can be default or
be configured in tapestry.application file, or as
servlet parameter. I prefer the latter, since most the
time my tapestry.application file contains only the
library reference. I think tools like spindle can easy
find all components there.
4. tapestry servlet should have a context class loader
including these archives which can be referenced by
all pages it serves.
Yunfeng Hou
__________________________________
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.
http://promotions.yahoo.com/new_mail
---------------------------------------------------------------------
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]