[Webfunds-commits] java build_jars

Ian Grigg iang@cypherpunks.ai
Fri, 16 Feb 2001 13:24:46 -0400 (AST)


iang        01/02/16 13:24:46

  Modified:    .        build_jars
  Log:
  fixed bug where jikes was re-compiling all of SOX into directory
  and thus ended up duplicating the SOX jar into the WebFnuds jar.

Revision  Changes    Path
1.3       +9 -6      java/build_jars

Index: build_jars
===================================================================
RCS file: /home/webfunds/cvsroot/java/build_jars,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- build_jars	2000/09/28 12:37:54	1.2
+++ build_jars	2001/02/16 17:24:45	1.3
@@ -12,7 +12,10 @@
     fi
 }
 
-export build=${SOX_BUILD:?}_jar
+soxbuild=${BUILD}soxjar
+wf_build=${BUILD}wf_jar
+
+export build=${soxbuild}
 cleanbuild
 
 export list="${SOX_DIRS}"
@@ -22,13 +25,13 @@
 
 export outfile=${SOX_JAR:?}
 ./jar_env
-rm -rf ${build}
 
-export build=${BUILD}wfjar
+export build=${wf_build}
 cleanbuild
 
-# ouch.  pulls in all the SOX rubbish, needs SOX.jar in the path
-export CLASSPATH=${SOX_JAR}:${CRYPTIX_CLASSPATH}:${SWING}
+# ouch.  pulls in all the SOX rubbish, needs sox directory
+# in the path, not just the SOX.jar
+export CLASSPATH=${soxbuild}:${CRYPTIX_CLASSPATH}:${SWING}
 
 export list="${WF_DIRS}"
 
@@ -36,6 +39,6 @@
 
 export outfile=${WEBFUNDS_LIB:?}/WebFunds.jar
 ./jar_env
-rm -rf ${build}
 
+# rm -rf ${soxbuild} ${wf_build}
 exit 0