source: trunk/src/install/initdb.bat @ 1478

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

Added c3p0 connection pool and updated license information
for 3rd-party components.

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