--- projects/cms/source/server/configure 2002/02/07 17:15:18 1.16 +++ projects/cms/source/server/configure 2003/02/11 22:00:56 1.19 @@ -4,7 +4,7 @@ # i-scream Distributed Centralised Monitoring System # Server configure script # -# $Id: configure,v 1.16 2002/02/07 17:15:18 tdb Exp $ +# $Id: configure,v 1.19 2003/02/11 22:00:56 tdb Exp $ # ## Config @@ -32,7 +32,7 @@ SRCROOT=`pwd` echo "> Checking for required libraries" cd build/lib -LIBRARIES="crimson.jar idl.jar jacorb.jar jaxp.jar mm.mysql-2.0.11-bin.jar pircbot.jar" +LIBRARIES="crimson.jar idl.jar jacorb.jar jaxp.jar mm.mysql-2.0.11-bin.jar pircbot.jar iscream_util.jar" for LIB in ${LIBRARIES}; do @@ -54,6 +54,29 @@ 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.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 + +PIRCBOTURL="http://www.jibble.org/javadocs/pircbot/" +mkdir -p ${SRCROOT}/.api-cache/pircbot +cd ${SRCROOT}/.api-cache/pircbot +if test -r "package-list"; then \ + echo " + pircbot/package-list found"; \ +else \ + echo " - pircbot/package-list not found, fetching from ${PIRCBOTURL}package-list"; \ + ${WGET} ${PIRCBOTURL}package-list; \ fi ## Write out the include file for the Makefile's