We ran into the same problem with our automated builds this morning. I
hooked up a NullEntityResolver to get around the break. It looks like
this:
public class NullEntityResolver implements EntityResolver {
public InputSource resolveEntity(String publicId, String systemId)
throws SAXException, IOException
{
return new InputSource(new StringReader(""));
}
}
It sounds like you would need to patch ServletUnit to use it, but you
basically just hook it up to your parser:
builder.setEntityResolver(new NullEntityResolver());
Now as to what happened to java.sun.com, who knows? :) Looks like it
went away around 3 am EST, then came back for a few hours, then went
down again for good around 10 am EST, which looks like the pattern of a
DOS attack from an e-mail worm (starting in Europe, moving on to the
US.)
On Tue, 2004-03-02 at 15:36, Fabrizio Giustina wrote:
> 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
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel