source: trunk/src/test/run.sh @ 1974

Last change on this file since 1974 was 1974, checked in by Nicklas Nordborg, 17 years ago

Updated to Hibernate 3.1.2
Moved all Hibernate options from hibernate.properties to hibernate.cfg.xml

File size: 2.4 KB
Line 
1# $Id: run.sh,v 1.6 2004/10/27 15:39:47 nicklas Exp $
2#
3# BioArray Software Environment (BASE) - http://base.thep.lu.se/
4# Copyright (C) 2002-2004 Lao Saal, Carl Troein,
5# Johan Vallon-Christersson, Jari H�kkinen, Nicklas Nordborg
6#
7# This file is part of BASE.
8#
9# BASE is free software; you can redistribute it and/or
10# modify it under the terms of the GNU General Public License
11# as published by the Free Software Foundation; either version 2
12# of the License, or (at your option) any later version.
13#
14# BASE is distributed in the hope that it will be useful,
15# but WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17# GNU General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330,
22# Boston, MA  02111-1307, USA.
23# ----------------------------------------
24
25# Set up the classpath
26CP=.
27
28# Base2 core
29CP=$CP:../core
30
31# Hibernate
32CP=$CP:../../lib/compile/hibernate3.jar
33CP=$CP:../../lib/dist/cglib-2.1.3.jar
34CP=$CP:../../lib/dist/asm.jar
35CP=$CP:../../lib/dist/asm-attrs.jar
36CP=$CP:../../lib/dist/commons-collections-2.1.1.jar
37CP=$CP:../../lib/dist/commons-logging-1.0.4.jar
38CP=$CP:../../lib/dist/dom4j-1.6.1.jar
39CP=$CP:../../lib/dist/ehcache-1.1.jar
40CP=$CP:../../lib/dist/jta.jar
41CP=$CP:../../lib/dist/antlr-2.7.6rc1.jar
42
43# Log4j logging system (also used by Hibernate)
44CP=$CP:../../lib/compile/log4j-1.2.11.jar
45
46# C3P0 Connection pool manager
47CP=$CP:../../lib/dist/c3p0-0.9.0.jar
48
49# MySQL JDBC driver
50CP=$CP:../../lib/dist/mysql-connector-java-3.1.12-bin.jar
51
52# Postgres JDBC driver
53CP=$CP:../../lib/dist/postgresql-8.0-313.jdbc3.jar
54
55# Oracle JDBC driver (experimental)
56CP=$CP:../../lib/dist/ojdbc14.jar
57
58# JDOM and Xerces XML parser
59CP=$CP:../../lib/compile/jdom.jar
60CP=$CP:../../lib/dist/jaxen-1.1-beta-7.jar
61CP=$CP:../../lib/dist/saxpath.jar
62CP=$CP:../../lib/dist/xerces-2.6.2.jar
63CP=$CP:../../lib/dist/xml-apis.jar
64
65# Java Advanced Imaging
66CP=$CP:../../lib/compile/jai_codec.jar
67CP=$CP:../../lib/compile/jai_core.jar
68CP=$CP:../../lib/compile/mlibwrapper_jai.jar
69
70# Java Math Expression Parser
71CP=$CP:../../lib/compile/jep-2.3.0.jar
72
73# JFreeChart
74CP=$CP:../../lib/compile/jfreechart-1.0.0.jar
75CP=$CP:../../lib/compile/jcommon-1.0.0.jar
76
77
78# Execute test class
79java -ea -server -cp $CP $*
Note: See TracBrowser for help on using the repository browser.