--- projects/cms/source/conient/configure 2003/02/05 19:35:04 1.8 +++ projects/cms/source/conient/configure 2003/02/11 22:38:28 1.11 @@ -4,7 +4,7 @@ # i-scream Distributed Centralised Monitoring System # Conient configure script # -# $Id: configure,v 1.8 2003/02/05 19:35:04 tdb Exp $ +# $Id: configure,v 1.11 2003/02/11 22:38:28 tdb Exp $ # ## Config @@ -40,10 +40,33 @@ for LIB in ${LIBRARIES}; do echo " + ${LIB} found"; \ else \ echo " - ${LIB} not found, fetching from ${HTTPSERVER}${LIB}"; \ - ${WGET} ${HTTPSERVER}${LIB}; \ + ${WGET} -nv ${HTTPSERVER}${LIB}; \ fi done + +## Cache javadoc API package-list files +echo "> Caching remote API's" + +JDKURL="http://java.sun.com/j2se/1.4.1/docs/api/" +mkdir -p ${SRCROOT}/.api-cache/jdk +cd ${SRCROOT}/.api-cache/jdk +if test -r "package-list"; then \ + echo " + jdk/package-list found"; \ +else \ + echo " - jdk/package-list not found, fetching from ${JDKURL}package-list"; \ + ${WGET} ${JDKURL}package-list; \ +fi + +UTILURL="http://www.i-scream.org.uk/javadoc/util/" +mkdir -p ${SRCROOT}/.api-cache/util +cd ${SRCROOT}/.api-cache/util +if test -r "package-list"; then \ + echo " + util/package-list found"; \ +else \ + echo " - util/package-list not found, fetching from ${UTILURL}package-list"; \ + ${WGET} ${UTILURL}package-list; \ +fi ## Write out the include file for the Makefile's