--- projects/cms/source/server/configure 2003/01/26 14:02:52 1.17 +++ projects/cms/source/server/configure 2005/02/10 17:35:59 1.26 @@ -4,13 +4,13 @@ # i-scream Distributed Centralised Monitoring System # Server configure script # -# $Id: configure,v 1.17 2003/01/26 14:02:52 tdb Exp $ +# $Id: configure,v 1.26 2005/02/10 17:35:59 tdb Exp $ # ## Config # HTTP Server. This is the source of all downloads. -HTTPSERVER="http://www.i-scream.org.uk/downloads/lib/" +HTTPSERVER="http://www.i-scream.org/pub/i-scream/cms/lib/" # This script uses wget, set it's path and parameters here WGETPARAM="-nv" @@ -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 pircbot.jar iscream_util.jar" for LIB in ${LIBRARIES}; do @@ -45,21 +45,10 @@ for LIB in ${LIBRARIES}; do done -## Check for jacorb properties file - -echo "> Checking for jacorb.properties" -cd ${HOME} -if test -r "jacorb.properties"; then \ - echo " + jacorb.properties found"; \ -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/" +JDKURL="http://java.sun.com/j2se/1.4.2/docs/api/" mkdir -p ${SRCROOT}/.api-cache/jdk cd ${SRCROOT}/.api-cache/jdk if test -r "package-list"; then \ @@ -77,6 +66,16 @@ if test -r "package-list"; then \ else \ echo " - pircbot/package-list not found, fetching from ${PIRCBOTURL}package-list"; \ ${WGET} ${PIRCBOTURL}package-list; \ +fi + +UTILURL="http://www.i-scream.org/cms/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