10 |
|
## Config |
11 |
|
|
12 |
|
# HTTP Server. This is the source of all downloads. |
13 |
< |
HTTPSERVER="http://www.i-scream.org.uk/downloads/lib/" |
13 |
> |
HTTPSERVER="http://www.i-scream.org/pub/i-scream/cms/lib/" |
14 |
|
|
15 |
|
# This script uses wget, set it's path and parameters here |
16 |
|
WGETPARAM="-nv" |
32 |
|
echo "> Checking for required libraries" |
33 |
|
cd build/lib |
34 |
|
|
35 |
< |
LIBRARIES="crimson.jar idl.jar jacorb.jar jaxp.jar mm.mysql-2.0.11-bin.jar pircbot.jar" |
35 |
> |
LIBRARIES="crimson.jar idl.jar jacorb.jar jaxp.jar pircbot.jar iscream_util.jar" |
36 |
|
|
37 |
|
for LIB in ${LIBRARIES}; do |
38 |
|
|
45 |
|
|
46 |
|
done |
47 |
|
|
48 |
– |
## Check for jacorb properties file |
49 |
– |
|
50 |
– |
echo "> Checking for jacorb.properties" |
51 |
– |
cd ${HOME} |
52 |
– |
if test -r "jacorb.properties"; then \ |
53 |
– |
echo " + jacorb.properties found"; \ |
54 |
– |
else \ |
55 |
– |
echo " - jacorb.properties not found, fetching from ${HTTPSERVER}jacorb.properties"; \ |
56 |
– |
${WGET} ${HTTPSERVER}jacorb.properties; \ |
57 |
– |
fi |
58 |
– |
|
48 |
|
## Cache javadoc API package-list files |
49 |
|
echo "> Caching remote API's" |
50 |
|
|
51 |
< |
JDKURL="http://java.sun.com/j2se/1.3/docs/api/" |
51 |
> |
JDKURL="http://java.sun.com/j2se/1.4.2/docs/api/" |
52 |
|
mkdir -p ${SRCROOT}/.api-cache/jdk |
53 |
|
cd ${SRCROOT}/.api-cache/jdk |
54 |
|
if test -r "package-list"; then \ |
66 |
|
else \ |
67 |
|
echo " - pircbot/package-list not found, fetching from ${PIRCBOTURL}package-list"; \ |
68 |
|
${WGET} ${PIRCBOTURL}package-list; \ |
69 |
+ |
fi |
70 |
+ |
|
71 |
+ |
UTILURL="http://www.i-scream.org/cms/javadoc/util/" |
72 |
+ |
mkdir -p ${SRCROOT}/.api-cache/util |
73 |
+ |
cd ${SRCROOT}/.api-cache/util |
74 |
+ |
if test -r "package-list"; then \ |
75 |
+ |
echo " + util/package-list found"; \ |
76 |
+ |
else \ |
77 |
+ |
echo " - util/package-list not found, fetching from ${UTILURL}package-list"; \ |
78 |
+ |
${WGET} ${UTILURL}package-list; \ |
79 |
|
fi |
80 |
|
|
81 |
|
## Write out the include file for the Makefile's |