3675 |
16 Aug 07 |
jari |
1 |
@echo off |
3675 |
16 Aug 07 |
jari |
REM $Id: run.bat 2474 2006-07-31 13:52:51Z nicklas $ |
3675 |
16 Aug 07 |
jari |
3 |
REM |
3675 |
16 Aug 07 |
jari |
REM Copyright (C) 2006, 2007 Nicklas Nordborg |
3675 |
16 Aug 07 |
jari |
5 |
REM |
3675 |
16 Aug 07 |
jari |
REM This file is part of BASE - BioArray Software Environment. |
3675 |
16 Aug 07 |
jari |
REM Available at http://base.thep.lu.se/ |
3675 |
16 Aug 07 |
jari |
8 |
REM |
3675 |
16 Aug 07 |
jari |
REM BASE is free software; you can redistribute it and/or |
3675 |
16 Aug 07 |
jari |
REM modify it under the terms of the GNU General Public License |
4480 |
05 Sep 08 |
jari |
REM as published by the Free Software Foundation; either version 3 |
3675 |
16 Aug 07 |
jari |
REM of the License, or (at your option) any later version. |
3675 |
16 Aug 07 |
jari |
13 |
REM |
3675 |
16 Aug 07 |
jari |
REM BASE is distributed in the hope that it will be useful, |
3675 |
16 Aug 07 |
jari |
REM but WITHOUT ANY WARRANTY; without even the implied warranty of |
3675 |
16 Aug 07 |
jari |
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
3675 |
16 Aug 07 |
jari |
REM GNU General Public License for more details. |
3675 |
16 Aug 07 |
jari |
18 |
REM |
3675 |
16 Aug 07 |
jari |
REM You should have received a copy of the GNU General Public License |
4514 |
11 Sep 08 |
jari |
REM along with BASE. If not, see <http://www.gnu.org/licenses/>. |
3675 |
16 Aug 07 |
jari |
21 |
REM ---------------------------------------- |
3675 |
16 Aug 07 |
jari |
22 |
|
3675 |
16 Aug 07 |
jari |
REM Set up the classpath |
3675 |
16 Aug 07 |
jari |
24 |
SET CP=. |
4396 |
18 Aug 08 |
nicklas |
25 |
SET CP=%CP%;..\..\config\local |
4396 |
18 Aug 08 |
nicklas |
26 |
SET CP=%CP%;..\..\config\dist |
4396 |
18 Aug 08 |
nicklas |
27 |
SET CP=%CP%;..\..\config\test |
3675 |
16 Aug 07 |
jari |
28 |
|
3675 |
16 Aug 07 |
jari |
REM Testdata |
3675 |
16 Aug 07 |
jari |
30 |
SET CP=%CP%;data |
4396 |
18 Aug 08 |
nicklas |
31 |
SET CP=%CP%;..\..\data |
4396 |
18 Aug 08 |
nicklas |
32 |
SET CP=%CP%;..\..\testdata |
3675 |
16 Aug 07 |
jari |
33 |
|
3675 |
16 Aug 07 |
jari |
REM Base2 core |
4396 |
18 Aug 08 |
nicklas |
35 |
SET CP=%CP%;..\info |
4396 |
18 Aug 08 |
nicklas |
36 |
SET CP=%CP%;..\core |
4396 |
18 Aug 08 |
nicklas |
37 |
SET CP=%CP%;..\plugins\core |
4396 |
18 Aug 08 |
nicklas |
38 |
SET CP=%CP%;..\clients\jobagent |
4396 |
18 Aug 08 |
nicklas |
39 |
SET CP=%CP%;..\webservices\client |
4396 |
18 Aug 08 |
nicklas |
40 |
SET CP=%CP%;..\webservices\server |
3675 |
16 Aug 07 |
jari |
41 |
|
4396 |
18 Aug 08 |
nicklas |
REM All JAR file in lib/dist |
4396 |
18 Aug 08 |
nicklas |
43 |
SET LIB=..\..\lib |
4396 |
18 Aug 08 |
nicklas |
44 |
FOR %%i IN (%LIB%\dist\*.jar) DO (CALL :addtocp %%i) |
3675 |
16 Aug 07 |
jari |
45 |
|
4396 |
18 Aug 08 |
nicklas |
REM All JAR file in lib/webservices |
4396 |
18 Aug 08 |
nicklas |
47 |
FOR %%i IN (%LIB%\webservices\*.jar) DO (CALL :addtocp %%i) |
3675 |
16 Aug 07 |
jari |
48 |
|
4396 |
18 Aug 08 |
nicklas |
49 |
GOTO :eof |
4396 |
18 Aug 08 |
nicklas |
REM End main program |
3675 |
16 Aug 07 |
jari |
51 |
|
4396 |
18 Aug 08 |
nicklas |
REM Subroutine for adding an entry to CP |
4396 |
18 Aug 08 |
nicklas |
53 |
:addtocp |
4396 |
18 Aug 08 |
nicklas |
54 |
SET CP=%CP%;%1 |
4396 |
18 Aug 08 |
nicklas |
55 |
GOTO :eof |
3675 |
16 Aug 07 |
jari |
56 |
|