diff --git a/projects/samskivert/build.sh b/projects/samskivert/build.sh new file mode 100755 index 00000000..51a284b0 --- /dev/null +++ b/projects/samskivert/build.sh @@ -0,0 +1,24 @@ +#!/bin/sh +# +# $Id: build.sh,v 1.1 2001/03/03 21:21:46 mdb Exp $ + +# complain if JAVA_HOME isn't set +if [ -z "$JAVA_HOME" ]; then + echo JAVA_HOME must be set to your JVM install directory. + exit -1 +fi + +# complain if ANT_HOME isn't set +if [ -z "$ANT_HOME" ]; then + echo ANT_HOME must be set to your ANT install directory. + exit -1 +fi + +# set up our classpath +CP=$ANT_HOME/lib/ant.jar +CP=$CP:$ANT_HOME/../lib/jaxp.jar +CP=$CP:$ANT_HOME/../lib/crimson.jar +CP=$CP:$JAVA_HOME/lib/tools.jar + +# execute ANT to perform the requested build target +java -classpath $CP:$CLASSPATH org.apache.tools.ant.Main "$@" diff --git a/projects/samskivert/build.xml b/projects/samskivert/build.xml new file mode 100644 index 00000000..7dfb3b71 --- /dev/null +++ b/projects/samskivert/build.xml @@ -0,0 +1,52 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/projects/samskivert/src/java/Makefile.local b/projects/samskivert/src/java/Makefile.local deleted file mode 100644 index d07888b9..00000000 --- a/projects/samskivert/src/java/Makefile.local +++ /dev/null @@ -1,16 +0,0 @@ -# -# $Id: Makefile.local,v 1.1 2001/02/16 03:28:39 mdb Exp $ -# -# Defines stuff common to this entire code tree - -# this tells the build system where to install shared libraries built from -# this code tree -LIBDIR = $(ROOT)/../../lib/$(ARCH) - -# where we put our zip and jar files -ARCHIVEDIR = $(ROOT)/../../lib - -LOCAL_CLASSPATH += \ - $(shell ls $(ARCHIVEDIR)/*.jar) \ - -# $(shell ls $(ARCHIVEDIR)/*.zip) \ diff --git a/projects/samskivert/src/java/com/samskivert/Makefile b/projects/samskivert/src/java/com/samskivert/Makefile deleted file mode 100644 index a44bdabf..00000000 --- a/projects/samskivert/src/java/com/samskivert/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# -# $Id: Makefile,v 1.2 2001/03/02 01:22:07 mdb Exp $ - -ROOT = ../.. - -SRCS = \ - Log.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/jdbc/Makefile b/projects/samskivert/src/java/com/samskivert/jdbc/Makefile deleted file mode 100644 index d81e29bf..00000000 --- a/projects/samskivert/src/java/com/samskivert/jdbc/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# -# $Id: Makefile,v 1.2 2001/02/13 00:25:14 mdb Exp $ - -ROOT = ../../.. - -SRCS = \ - JDBCUtil.java \ - MySQLRepository.java \ - Repository.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/jdbc/jora/Makefile b/projects/samskivert/src/java/com/samskivert/jdbc/jora/Makefile deleted file mode 100644 index 9585e350..00000000 --- a/projects/samskivert/src/java/com/samskivert/jdbc/jora/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -# -# $Id: Makefile,v 1.1 2001/02/13 05:46:56 mdb Exp $ - -ROOT = ../../../.. - -SRCS = \ - Cursor.java \ - DataTransferError.java \ - FieldDescriptor.java \ - NoCurrentObjectError.java \ - NoPrimaryKeyError.java \ - SQLError.java \ - Session.java \ - SessionThread.java \ - Table.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/net/cddb/Makefile b/projects/samskivert/src/java/com/samskivert/net/cddb/Makefile deleted file mode 100644 index e66ec7c0..00000000 --- a/projects/samskivert/src/java/com/samskivert/net/cddb/Makefile +++ /dev/null @@ -1,12 +0,0 @@ -# -# $Id: Makefile,v 1.2 2000/10/23 07:32:12 mdb Exp $ - -ROOT = ../../../.. - -SRCS = \ - CDDB.java \ - CDDBException.java \ - CDDBProtocol.java \ - CDDBTest.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/servlet/Makefile b/projects/samskivert/src/java/com/samskivert/servlet/Makefile deleted file mode 100644 index 2a1361b8..00000000 --- a/projects/samskivert/src/java/com/samskivert/servlet/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# -# $Id: Makefile,v 1.1 2001/03/02 01:21:06 mdb Exp $ - -ROOT = ../../.. - -SRCS = \ - RedirectException.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/servlet/user/Makefile b/projects/samskivert/src/java/com/samskivert/servlet/user/Makefile deleted file mode 100644 index 1d1c2f32..00000000 --- a/projects/samskivert/src/java/com/samskivert/servlet/user/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -# -# $Id: Makefile,v 1.2 2001/03/02 02:08:50 mdb Exp $ - -ROOT = ../../../.. - -SRCS = \ - InvalidPasswordException.java \ - InvalidUsernameException.java \ - NoSuchUserException.java \ - User.java \ - UserExistsException.java \ - UserManager.java \ - UserRepository.java \ - UserUtil.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/swing/Makefile b/projects/samskivert/src/java/com/samskivert/swing/Makefile deleted file mode 100644 index 54755f16..00000000 --- a/projects/samskivert/src/java/com/samskivert/swing/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -# -# $Id: Makefile,v 1.1 2000/12/07 05:41:07 mdb Exp $ - -ROOT = ../../.. - -SRCS = \ - DimenInfo.java \ - GroupLayout.java \ - GroupLayoutTest.java \ - HGroupLayout.java \ - VGroupLayout.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/swing/util/Makefile b/projects/samskivert/src/java/com/samskivert/swing/util/Makefile deleted file mode 100644 index ab5fa631..00000000 --- a/projects/samskivert/src/java/com/samskivert/swing/util/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -# -# $Id: Makefile,v 1.1 2000/12/06 03:25:19 mdb Exp $ - -ROOT = ../../../.. - -SRCS = \ - Task.java \ - TaskMaster.java \ - TaskObserver.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/util/Makefile b/projects/samskivert/src/java/com/samskivert/util/Makefile deleted file mode 100644 index 637ff662..00000000 --- a/projects/samskivert/src/java/com/samskivert/util/Makefile +++ /dev/null @@ -1,20 +0,0 @@ -# -# $Id: Makefile,v 1.8 2001/03/02 00:47:10 mdb Exp $ - -ROOT = ../../.. - -SRCS = \ - ConfigUtil.java \ - Crypt.java \ - DefaultLogProvider.java \ - IntIntMap.java \ - IntMap.java \ - Interval.java \ - IntervalManager.java \ - Log.java \ - LogProvider.java \ - PropertiesUtil.java \ - Queue.java \ - StringUtil.java \ - -include $(ROOT)/build/Makefile.java diff --git a/projects/samskivert/src/java/com/samskivert/webmacro/Makefile b/projects/samskivert/src/java/com/samskivert/webmacro/Makefile deleted file mode 100644 index 8d4eadc8..00000000 --- a/projects/samskivert/src/java/com/samskivert/webmacro/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -# -# $Id: Makefile,v 1.5 2001/03/02 01:22:07 mdb Exp $ - -ROOT = ../../.. - -SRCS = \ - DataValidationException.java \ - DispatcherServlet.java \ - DummyLogic.java \ - ExceptionMap.java \ - FormUtil.java \ - FriendlyException.java \ - Logic.java \ - -include $(ROOT)/build/Makefile.java