1 | # $Id: initdb.sh,v 1.1 2004/10/27 15:37:21 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�kinen, 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 | WEBINF=../www/WEB-INF |
---|
26 | |
---|
27 | # Set up the classpath |
---|
28 | CP=. |
---|
29 | |
---|
30 | # Base2 configuration |
---|
31 | CP=$CP:$WEBINF/classes |
---|
32 | |
---|
33 | # Base2 core & installation |
---|
34 | CP=$CP:BASE2Install.jar |
---|
35 | CP=$CP:$WEBINF/lib/BASE2Core.jar |
---|
36 | |
---|
37 | # Hibernate |
---|
38 | CP=$CP:$WEBINF/lib/hibernate3.jar |
---|
39 | CP=$CP:$WEBINF/lib/cglib-full-2.0.2.jar |
---|
40 | CP=$CP:$WEBINF/lib/commons-collections-2.1.1.jar |
---|
41 | CP=$CP:$WEBINF/lib/commons-logging-1.0.4.jar |
---|
42 | CP=$CP:$WEBINF/lib/dom4j-1.5.2.jar |
---|
43 | CP=$CP:$WEBINF/lib/ehcache-1.1.jar |
---|
44 | CP=$CP:$WEBINF/lib/jta.jar |
---|
45 | CP=$CP:$WEBINF/lib/odmg.jar |
---|
46 | CP=$CP:$WEBINF/lib/log4j-1.2.9.jar |
---|
47 | CP=$CP:$WEBINF/lib/antlr-2.7.4.jar |
---|
48 | |
---|
49 | # MySQL JDBC driver |
---|
50 | CP=$CP:$WEBINF/lib/mysql-connector-java-3.0.15-ga-bin.jar |
---|
51 | |
---|
52 | # SQL Server JDBC driver |
---|
53 | # CP=$CP:$WEBINF/lib/jtds-0.8.1.jar |
---|
54 | |
---|
55 | # Postgres JDBC driver |
---|
56 | # CP=$CP:$WEBINF/lib/postgresql.jar |
---|
57 | |
---|
58 | # Xerces XML parser |
---|
59 | CP=$CP:$WEBINF/lib/xerces-2.6.2.jar |
---|
60 | CP=$CP:$WEBINF/lib/xml-apis.jar |
---|
61 | |
---|
62 | # Java Advanced Imaging |
---|
63 | CP=$CP:$WEBINF/lib/jai_codec.jar |
---|
64 | CP=$CP:$WEBINF/lib/jai_core.jar |
---|
65 | CP=$CP:$WEBINF/lib/mlibwrapper_jai.jar |
---|
66 | |
---|
67 | # Execute install class |
---|
68 | java -cp $CP net.sf.basedb.install.InitDB $* |
---|