The build.xml in opt-domify expects the maverick dir to be a peer
directory of opt-domify.

parent
  +- maverick
  +- opt-domify
  +- opt-velocity

...etc.


As far as the FileNotFoundException goes, that looks suspiciously like a
broken resource loader in JRun.  Unfortunately it would be difficult for
me to debug without the appserver, but if you're feeling adventurous,
maverick compiles out of the box.

The important method is XSLTransform.loadTemplate(), and the important
line is the one that calls "servletCtx.getResource(path)".  I would be
interested in knowing what the value of "path" is before the call, and
what the URL returned is.

The important bit of the servlet api is here:
http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/ServletConte
xt.html#getResource(java.lang.String)

Actually, if you can dig up the "Template url is:  ..." line from your
log, that would be quite helpful (along with the complete stack trace
from the exception).

Jeff Schnitzer
[EMAIL PROTECTED]


> -----Original Message-----
> From: Robin van Gessel [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 04, 2002 2:55 AM
> To: [EMAIL PROTECTED]
> Subject: [Mav-user] Friendbook-domify build.xml
> 
> Hi all,
> 
> I'm trying to get this example running with JDK 1.4.1 and JRun 4. I
> dicovered a few bugs in the friendbook-domify example:
> - incorrect build.xml - line 19 says "<property name="maverick.dir"
> value="../maverick" />" and should be "<property name="maverick.dir"
> value="/maverick" />"
> 
> - I get a FileNotFoundException:
> C:\JRun4\bin\C:\norrod\www\SERVER-INF\temp\friendbook-domify.war-
> 1812576112\
> loginForm.xsl
> Of course, the path is incorrect, but I cannot figure out where the
server
> or webapp (which?!) gets it from.
> Any help on this one?
> 
> Robin
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> [INVALID FOOTER]


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
[INVALID FOOTER]

Reply via email to