[Webfunds-commits] java build_jars build build_sox
Ian Grigg
iang@cypherpunks.ai
Thu, 17 Aug 2000 14:16:44 -0400 (AST)
iang 00/08/17 14:16:44
Modified: . build build_sox
Added: . build_jars
Log:
extracted JARs capability from working build scripts and put it in build_jars
Revision Changes Path
1.24 +1 -27 java/build
Index: build
===================================================================
RCS file: /home/webfunds/cvsroot/java/build,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- build 2000/08/01 00:02:09 1.23
+++ build 2000/08/17 18:16:43 1.24
@@ -1,21 +1,7 @@
-: ${makejars:=false}
-: ${wfjar:=false}
+export build=${BUILD}
-${makejars} && wfjar=true
-if ${wfjar}
-then
- export build=${BUILD}wfjar
- [ -r "${build}" ] && echo "WARNING: ${build} exists!"
- # ouch. pulls in all the SOX rubbish, needs SOX.jar in the path
- classpath=${WEBFUNDS_LIB:?}/SOX.jar
- export CLASSPATH=$classpath:$CLASSPATH
-else
- export build=${BUILD}
-fi
-
-
# export list="${WF_DIRS}"
if [ $# = 0 ]
then
@@ -28,17 +14,5 @@
fi
./build_env || exit 1
-
-if ${wfjar}
-then
- export outfile=${WEBFUNDS_LIB:?}/WebFunds.jar
- ./jar_env
- rm -rf ${build}
-else
- if [ ${USER:-${LOGNAME}} = iang ]
- then
- echo WebFunds jar ignored '(prepend wfjar=true to build the jar)'
- fi
-fi
exit 0
1.14 +0 -18 java/build_sox
Index: build_sox
===================================================================
RCS file: /home/webfunds/cvsroot/java/build_sox,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- build_sox 2000/08/01 00:02:09 1.13
+++ build_sox 2000/08/17 18:16:44 1.14
@@ -1,10 +1,4 @@
-: ${soxjar:=false}
-: ${makejars:=false}
-export soxjar
-
-${makejars} && soxjar=true
-
export build=${SOX_BUILD:?}
export list="${SOX_DIRS}"
@@ -12,16 +6,4 @@
export CLASSPATH=${CRYPTIX_CLASSPATH:?}:${build}
./build_env || exit 1
-
-if ${soxjar}
-then
- export outfile=${SOX_JAR:?}
- ./jar_env
- rm -rf ${build}
-else
- if [ ${USER:-${LOGNAME}} = iang ]
- then
- echo SOX jar ignored '(prepend soxjar=true to build the SOX jar)'
- fi
-fi
1.1 java/build_jars
Index: build_jars
===================================================================
set -x
cleanbuild()
{
if [ -d ${build} ]
then
echo "remove ${build} ?"
read answer
case "${answer}" in
[yY]*) rm -rf ${build} ;;
*) echo "sorry!" ; exit 1 ;;
esac
fi
}
export build=${SOX_BUILD:?}_jar
cleanbuild
export list="${SOX_DIRS}"
export CLASSPATH=${CRYPTIX_CLASSPATH:?}:${build}
./build_env || exit 1
export outfile=${SOX_JAR:?}
./jar_env
rm -rf ${build}
export build=${BUILD}wfjar
cleanbuild
# ouch. pulls in all the SOX rubbish, needs SOX.jar in the path
export CLASSPATH=${SOX_JAR}:${CRYPTIX_CLASSPATH}:${SWING}
export list="${WF_DIRS}"
./build_env || exit 1
export outfile=${WEBFUNDS_LIB:?}/WebFunds.jar
./jar_env
rm -rf ${build}
exit 0