found! there were two different problems: - dtd in web.xml: readed directly from servletunit, no way to pass an entity resolver or to use a local dtd (I will submit a RFE to httpunit). Luckily, the dtd in web.xml is not needed (you are forced to pass a web.xml only to let servetunit recognise you jsp root path) - dtd in our tld (searched by jasper). I didn't want to use a custom copy with local entities, since this should test our real, automatically produced dtd. I found that the servlets.jar included with tomcat contains this dtds, while the one in maven repository doesn't. Replacing maven jar with the tomcat one seems to solve this problem: it appears to use a custom entity resolver which looks for dtds in the classpath using a specific package. Probably I will be able to make it working without replacing servlets.jar and placing dtds in the test source directory (in the javax.servlet package)... so, if no other problem pops up, I plan to complete the nighlty build process set-up by the next weekend (still need to complete tests, prepare cron jobs etc) fabrizio
From: [EMAIL PROTECTED] on behalf of Mathias Bogaert Sent: Wed 03/03/2004 7.24 To: [EMAIL PROTECTED] Subject: Re: [displaytag-devel] nightly builds Can you use local DTD's? http://www.jguru.com/faq/view.jsp?EID=347169 <http://www.jguru.com/faq/view.jsp?EID=347169> Mathias ----- Original Message ----- From: Fabrizio Giustina To: [EMAIL PROTECTED] Sent: Tuesday, March 02, 2004 9:36 PM Subject: [displaytag-devel] nightly builds I'm playing with displaytag nightly build on sourceforge compile farm since a few days... it's pretty done, everything we need is there (installed jdk, maven, preliminary scripts for checkout are ok), but there is something I couldn't be able to run: servletunit tests don't work offline :/ Actually when using servletUnit with jsps the application is looking for taglib dtds on java.sun.com and I couldn't find any way to force it to use local copies. This is the last step needed to have full automatic builds (daily distribution + tests + site update!); I don't want to have it running without unit tests since this is important to understand if a snapshot is usable... anybody can help in solving this problem? fabrizio ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click <http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click> _______________________________________________ displaytag-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/displaytag-devel <https://lists.sourceforge.net/lists/listinfo/displaytag-devel>
<<winmail.dat>>