--- projects/cms/source/corbaservices/configure 2001/11/25 19:46:35 1.4 +++ projects/cms/source/corbaservices/configure 2003/02/05 22:50:23 1.5 @@ -4,7 +4,7 @@ # i-scream Distributed Centralised Monitoring System # Corbaservices configure script # -# $Id: configure,v 1.4 2001/11/25 19:46:35 tdb Exp $ +# $Id: configure,v 1.5 2003/02/05 22:50:23 tdb Exp $ # ## Config @@ -54,6 +54,19 @@ if test -r "jacorb.properties"; then \ else \ echo " - jacorb.properties not found, fetching from ${HTTPSERVER}jacorb.properties"; \ ${WGET} ${HTTPSERVER}jacorb.properties; \ +fi + +## Cache javadoc API package-list files +echo "> Caching remote API's" + +JDKURL="http://java.sun.com/j2se/1.3/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 ## Write out the include file for the Makefile's