ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Winston Wolff <winston.wo...@europeloan.com>
Subject Relative includes for WLJSPC
Date Wed, 28 Mar 2001 19:30:46 GMT
I've got some jsp pages which have 
    <%@ include file="gen/b.inc" %>
directives, and they do not work with WLJSPC.  Has anybody had this problem?
For example:
 
    myserver/build.xml
    myserver/public_html/a.jsp  (include gen/b.jsp)
    myserver/public_html/gen/b.jsp  (includes gen/c.jsp)
    myserver/public_html/gen/c.jsp
 
In weblogic, this works.  With Ant, it doesn't work.  It seems to be a
problem of the current directory when weblogic.jspc is invoked.  The current
directory stays "/myserver" and the jsp compiler tries to include
    myserver/public_html/b.jsp 
instead of
    myserver/public_html/gen/b.jsp
which of course fails.
 
I am using JDK1.1.8
 
EuropeLoan Bank
Winston Wolff
Tel: +32 (0)2 402.0123
Fax: +32 (0)2 402.0124
 <mailto:e-mail:winston.wolff@europeloan.com>
e-mail:winston.wolff@europeloan.com

 

Mime
View raw message