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-2.1.3.jar |
---|
34 | CP=$CP:../../lib/dist/asm.jar |
---|
35 | CP=$CP:../../lib/dist/asm-attrs.jar |
---|
36 | CP=$CP:../../lib/dist/commons-collections-2.1.1.jar |
---|
37 | CP=$CP:../../lib/dist/commons-logging-1.0.4.jar |
---|
38 | CP=$CP:../../lib/dist/dom4j-1.6.1.jar |
---|
39 | CP=$CP:../../lib/dist/ehcache-1.1.jar |
---|
40 | CP=$CP:../../lib/dist/jta.jar |
---|
41 | CP=$CP:../../lib/dist/antlr-2.7.6rc1.jar |
---|
42 | |
---|
43 | # Log4j logging system (also used by Hibernate) |
---|
44 | CP=$CP:../../lib/compile/log4j-1.2.11.jar |
---|
45 | |
---|
46 | # C3P0 Connection pool manager |
---|
47 | CP=$CP:../../lib/dist/c3p0-0.9.0.jar |
---|
48 | |
---|
49 | # MySQL JDBC driver |
---|
50 | CP=$CP:../../lib/dist/mysql-connector-java-3.1.12-bin.jar |
---|
51 | |
---|
52 | # Postgres JDBC driver |
---|
53 | CP=$CP:../../lib/dist/postgresql-8.0-313.jdbc3.jar |
---|
54 | |
---|
55 | # Oracle JDBC driver (experimental) |
---|
56 | CP=$CP:../../lib/dist/ojdbc14.jar |
---|
57 | |
---|
58 | # JDOM and Xerces XML parser |
---|
59 | CP=$CP:../../lib/compile/jdom.jar |
---|
60 | CP=$CP:../../lib/dist/jaxen-1.1-beta-7.jar |
---|
61 | CP=$CP:../../lib/dist/saxpath.jar |
---|
62 | CP=$CP:../../lib/dist/xerces-2.6.2.jar |
---|
63 | CP=$CP:../../lib/dist/xml-apis.jar |
---|
64 | |
---|
65 | # Java Advanced Imaging |
---|
66 | CP=$CP:../../lib/compile/jai_codec.jar |
---|
67 | CP=$CP:../../lib/compile/jai_core.jar |
---|
68 | CP=$CP:../../lib/compile/mlibwrapper_jai.jar |
---|
69 | |
---|
70 | # Java Math Expression Parser |
---|
71 | CP=$CP:../../lib/compile/jep-2.3.0.jar |
---|
72 | |
---|
73 | # JFreeChart |
---|
74 | CP=$CP:../../lib/compile/jfreechart-1.0.0.jar |
---|
75 | CP=$CP:../../lib/compile/jcommon-1.0.0.jar |
---|
76 | |
---|
77 | |
---|
78 | # Execute test class |
---|
79 | java -ea -server -cp $CP $* |
---|