cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: odd build issue - entity resolving
Date Wed, 21 May 2003 03:47:16 GMT
Geoff Howard wrote:
> I'm working on using the xpatch ant call to work with web.xml -
> but I think I'm getting a problem when the patch process tries
> to resolve the (newly preserved) DOCTYPE declaration in web.xml:
> 
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> 
> because I get (unless my internet connection is active, which it isn't
> while my wife tries to vote for the "American Idol" final):
> 
> BUILD FAILED
> file:D:/workspace/cocoon-2.1/build/cocoon-2.1m3-dev/temp/blocks-build.xml:56
> 47:
> IOException: java.net.UnknownHostException: java.sun.com
> 
> Any one know what to do with this (in the build)?

Look to the Forrest build file for a way to deal with such issues.
src/resources/forrest-shbat/forrest.build.xml

Search for "<xmlcatalog" around line 798.
http://cvs.apache.org/viewcvs.cgi/xml-forrest/src/resources/forrest-shbat/forrest.build.xml?rev=HEAD&content-type=text/vnd.viewcvs-markup

--David




Mime
View raw message