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 |
---|
26 | CP=. |
---|
27 | |
---|
28 | # Base2 core |
---|
29 | CP=$CP:../core |
---|
30 | |
---|
31 | # Hibernate |
---|
32 | CP=$CP:../../lib/compile/hibernate3.jar |
---|
33 | CP=$CP:../../lib/dist/cglib-full-2.0.2.jar |
---|
34 | CP=$CP:../../lib/dist/commons-collections-2.1.1.jar |
---|
35 | CP=$CP:../../lib/dist/commons-logging-1.0.4.jar |
---|
36 | CP=$CP:../../lib/dist/dom4j-1.5.2.jar |
---|
37 | CP=$CP:../../lib/dist/ehcache-1.1.jar |
---|
38 | CP=$CP:../../lib/dist/jta.jar |
---|
39 | CP=$CP:../../lib/dist/log4j-1.2.9.jar |
---|
40 | CP=$CP:../../lib/dist/antlr-2.7.4.jar |
---|
41 | |
---|
42 | # MySQL JDBC driver |
---|
43 | CP=$CP:../../lib/dist/mysql-connector-java-3.0.15-ga-bin.jar |
---|
44 | |
---|
45 | # SQL Server JDBC driver |
---|
46 | # CP=$CP:../../lib/dist/jtds-0.8.1.jar |
---|
47 | |
---|
48 | # Postgres JDBC driver |
---|
49 | # CP=$CP:../../lib/dist/postgresql.jar |
---|
50 | |
---|
51 | # Xerces XML parser |
---|
52 | CP=$CP:../../lib/dist/xerces-2.6.2.jar |
---|
53 | CP=$CP:../../lib/dist/xml-apis.jar |
---|
54 | |
---|
55 | # Java Advanced Imaging |
---|
56 | CP=$CP:../../lib/compile/jai_codec.jar |
---|
57 | CP=$CP:../../lib/compile/jai_core.jar |
---|
58 | CP=$CP:../../lib/compile/mlibwrapper_jai.jar |
---|
59 | |
---|
60 | # Execute test class |
---|
61 | java -ea -cp $CP $* |
---|