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

Last change on this file since 241 was 241, checked in by Nicklas Nordborg, 18 years ago

Fixed classpath to antlr

File size: 2.2 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
37
38REM Hibernate
39SET CP=%CP%;%WEBINF%/lib/hibernate3.jar
40SET CP=%CP%;%WEBINF%/lib/cglib-full-2.0.2.jar
41SET CP=%CP%;%WEBINF%/lib/commons-collections-2.1.1.jar
42SET CP=%CP%;%WEBINF%/lib/commons-logging-1.0.4.jar
43SET CP=%CP%;%WEBINF%/lib/dom4j-1.5.2.jar
44SET CP=%CP%;%WEBINF%/lib/ehcache-1.1.jar
45SET CP=%CP%;%WEBINF%/lib/jta.jar
46SET CP=%CP%;%WEBINF%/lib/odmg.jar
47SET CP=%CP%;%WEBINF%/lib/log4j-1.2.9.jar
48SET CP=%CP%;%WEBINF%/lib/antlr-2.7.4.jar
49
50REM MySQL JDBC driver
51SET CP=%CP%;%WEBINF%/lib/mysql-connector-java-3.0.15-ga-bin.jar
52
53REM SQL Server JDBC driver
54REM SET CP=%CP%;%WEBINF%/lib/jtds-0.8.1.jar
55
56REM Postgres JDBC driver
57REM SET CP=%CP%;%WEBINF%/lib/postgresql.jar
58
59REM Xerces XML parser
60SET CP=%CP%;%WEBINF%/lib/xerces-2.6.2.jar
61SET CP=%CP%;%WEBINF%/lib/xml-apis.jar
62
63REM Java Advanced Imaging
64SET CP=%CP%;%WEBINF%/lib/jai_codec.jar
65SET CP=%CP%;%WEBINF%/lib/jai_core.jar
66SET CP=%CP%;%WEBINF%/lib/mlibwrapper_jai.jar
67
68REM Execute test class
69java -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.