Further to this, I have no trouble if I create a tiny wrapper component in the same .jar as the script, and whose template does nothing but include the script. A verbose workaround, but it works.
_____ From: Michael Prescott Sent: August 15, 2006 6:56 PM To: 'Tapestry users' Subject: scripts from a .jar I'm trying to use the @Script component to load a script from a .jar file in my WEB-INF/lib directory, and not having much success. I keep getting ApplicationRuntimeException, caused by a DocumentParseException: Unable to find resource. I'm looking at the hivemind code, but between the indirection and my having forgotten classloader voodoo, I can't tell whether it only looks up resources coming from the same classloader. There are a few avenues for me to investigate, but if anyone knows off hand whether this is not a supported usage, it would be helpful. Thanks, Michael Prescott