From 21c4d0ed1c17c323b41c4a227f1a8bd22826708d Mon Sep 17 00:00:00 2001 From: mdb Date: Thu, 11 Jan 2007 01:02:44 +0000 Subject: [PATCH] Freak not out if ehcache.jar is not available. Instead just don't build Depot. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2031 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- build.xml | 3 ++ depends-incl.xml | 40 ++++++++++++------- .../jdbc/{ => depot}/tests/TestRecord.java | 2 +- .../{ => depot}/tests/TestRepository.java | 2 +- 4 files changed, 31 insertions(+), 16 deletions(-) rename src/java/com/samskivert/jdbc/{ => depot}/tests/TestRecord.java (95%) rename src/java/com/samskivert/jdbc/{ => depot}/tests/TestRepository.java (96%) diff --git a/build.xml b/build.xml index 8c9430f5..bdf1abe1 100644 --- a/build.xml +++ b/build.xml @@ -61,6 +61,7 @@ + @@ -85,6 +86,7 @@ + @@ -130,6 +132,7 @@ + diff --git a/depends-incl.xml b/depends-incl.xml index b0894727..50fed95a 100644 --- a/depends-incl.xml +++ b/depends-incl.xml @@ -35,29 +35,33 @@ ---------------------------------------------- Jakarta libraries - http://jakarta.apache.org/ ---------------------------------------------- - + Commons Collections: ${jakarta.commons-colls.present} - + Commons Logging: ${jakarta.commons-logging.present} - + Commons Digester: ${jakarta.commons-digester.present} - + Commons Io: ${jakarta.commons-io.present} - + Velocity: ${jakarta.velocity.present} + + + --------------- + Other libraries + --------------- + + EH Cache: ${ehcache.present} @@ -84,6 +88,14 @@ com.samskivert.jdbc: ${build.jdbc} + + + + + + + com.samskivert.jdbc.depot: ${build.depot} + diff --git a/src/java/com/samskivert/jdbc/tests/TestRecord.java b/src/java/com/samskivert/jdbc/depot/tests/TestRecord.java similarity index 95% rename from src/java/com/samskivert/jdbc/tests/TestRecord.java rename to src/java/com/samskivert/jdbc/depot/tests/TestRecord.java index c5287a35..3a4a3867 100644 --- a/src/java/com/samskivert/jdbc/tests/TestRecord.java +++ b/src/java/com/samskivert/jdbc/depot/tests/TestRecord.java @@ -1,7 +1,7 @@ // // $Id$ -package com.samskivert.jdbc.tests; +package com.samskivert.jdbc.depot.tests; import java.sql.Date; import java.sql.Timestamp; diff --git a/src/java/com/samskivert/jdbc/tests/TestRepository.java b/src/java/com/samskivert/jdbc/depot/tests/TestRepository.java similarity index 96% rename from src/java/com/samskivert/jdbc/tests/TestRepository.java rename to src/java/com/samskivert/jdbc/depot/tests/TestRepository.java index 97d26983..73223107 100644 --- a/src/java/com/samskivert/jdbc/tests/TestRepository.java +++ b/src/java/com/samskivert/jdbc/depot/tests/TestRepository.java @@ -1,7 +1,7 @@ // // $Id$ -package com.samskivert.jdbc.tests; +package com.samskivert.jdbc.depot.tests; import java.sql.Date; import java.sql.Timestamp;