1 | @echo off |
---|
2 | REM $Id: run.bat,v 1.6 2004/10/27 15:39:47 nicklas Exp $ |
---|
3 | REM |
---|
4 | REM BioArray Software Environment (BASE) - http://base.thep.lu.se/ |
---|
5 | REM Copyright (C) 2002-2004 Lao Saal, Carl Troein, |
---|
6 | REM Johan Vallon-Christersson, Jari Häkkinen, Nicklas Nordborg |
---|
7 | REM |
---|
8 | REM This file is part of BASE. |
---|
9 | REM |
---|
10 | REM BASE is free software; you can redistribute it and/or |
---|
11 | REM modify it under the terms of the GNU General Public License |
---|
12 | REM as published by the Free Software Foundation; either version 2 |
---|
13 | REM of the License, or (at your option) any later version. |
---|
14 | REM |
---|
15 | REM BASE is distributed in the hope that it will be useful, |
---|
16 | REM but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
17 | REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
18 | REM GNU General Public License for more details. |
---|
19 | REM |
---|
20 | REM You should have received a copy of the GNU General Public License |
---|
21 | REM along with this program; if not, write to the Free Software |
---|
22 | REM Foundation, Inc., 59 Temple Place - Suite 330, |
---|
23 | REM Boston, MA 02111-1307, USA. |
---|
24 | REM ---------------------------------------- |
---|
25 | |
---|
26 | REM Set up the classpath |
---|
27 | SET CP=. |
---|
28 | |
---|
29 | REM Base2 core |
---|
30 | SET CP=%CP%;../core |
---|
31 | |
---|
32 | REM Hibernate |
---|
33 | SET CP=%CP%;../../lib/compile/hibernate3.jar |
---|
34 | SET CP=%CP%;../../lib/dist/cglib-full-2.0.2.jar |
---|
35 | SET CP=%CP%;../../lib/dist/commons-collections-2.1.1.jar |
---|
36 | SET CP=%CP%;../../lib/dist/commons-logging-1.0.4.jar |
---|
37 | SET CP=%CP%;../../lib/dist/dom4j-1.5.2.jar |
---|
38 | SET CP=%CP%;../../lib/dist/ehcache-1.1.jar |
---|
39 | SET CP=%CP%;../../lib/dist/jta.jar |
---|
40 | SET CP=%CP%;../../lib/dist/odmg.jar |
---|
41 | SET CP=%CP%;../../lib/dist/log4j-1.2.9.jar |
---|
42 | SET CP=%CP%;../../lib/dist/antlr-2.7.4.jar |
---|
43 | |
---|
44 | REM MySQL JDBC driver |
---|
45 | SET CP=%CP%;../../lib/dist/mysql-connector-java-3.0.15-ga-bin.jar |
---|
46 | |
---|
47 | REM SQL Server JDBC driver |
---|
48 | REM SET CP=%CP%;../../lib/dist/jtds-0.8.1.jar |
---|
49 | |
---|
50 | REM Postgres JDBC driver |
---|
51 | REM SET CP=%CP%;../../lib/dist/postgresql.jar |
---|
52 | |
---|
53 | REM JDOM and Xerces XML parser |
---|
54 | SET CP=%CP%;../../lib/compile/jdom.jar |
---|
55 | SET CP=%CP%;../../lib/dist/jaxen-core.jar |
---|
56 | SET CP=%CP%;../../lib/dist/jaxen-jdom.jar |
---|
57 | SET CP=%CP%;../../lib/dist/saxpath.jar |
---|
58 | SET CP=%CP%;../../lib/dist/xerces-2.6.2.jar |
---|
59 | SET CP=%CP%;../../lib/dist/xml-apis.jar |
---|
60 | |
---|
61 | REM Java Advanced Imaging |
---|
62 | SET CP=%CP%;../../lib/compile/jai_codec.jar |
---|
63 | SET CP=%CP%;../../lib/compile/jai_core.jar |
---|
64 | SET CP=%CP%;../../lib/compile/mlibwrapper_jai.jar |
---|
65 | |
---|
66 | REM Execute test class |
---|
67 | java -ea -cp %CP% %1 %2 %3 %4 %5 %6 %7 %8 %9 |
---|