has anybody tried using jikes to compile jsp's with tomcat 4 on windows
recently? i have. it barfed :)
basically what's happening is the classpath is getting messed up. more
specifically, the entry in the classpath that points at WEB-INF/classes/ is
getting messed up. the classpath ends up looking like this:
...;/c:/tomcat/webapps/myWebapp/WEB-INF/classes/;...
it's the beginning "/" that appears to be screwing jikes up. apparently
javac can handle this kind of path, but jikes can't.
it looks like the classpath for jsp's is being set in
WebappLoader.setClasspath(), which get's respositories (which are URL's)
from an instance of WebappClassLoader. then, for URL's that are of the
"file" scheme, it pulls of the file part and adds this to the classpath. in
the case of the above example, one of these URL's will be
"file:/c:/tomcat/webapps/myWebapp/WEB-INF/classes/".
i can think of some potential hacks... but i was hoping someone who knows
this code better would have some ideas on how this might be fixed or worked
around :) or, is this a problem with jikes itself?
tia,
-kevin.