28 |
30 Mar 06 |
gregory |
1 |
@echo off |
441 |
10 Aug 06 |
jari |
REM $Id$ |
28 |
30 Mar 06 |
gregory |
3 |
REM |
1916 |
31 Aug 07 |
jari |
REM Copyright (C) 2006 Gregory Vincic, Jari Hakkinen |
1916 |
31 Aug 07 |
jari |
REM Copyright (C) 2007 Olle Mansson |
28 |
30 Mar 06 |
gregory |
6 |
REM |
441 |
10 Aug 06 |
jari |
REM This file is part of Proteios. |
441 |
10 Aug 06 |
jari |
REM Available at http://www.proteios.org/ |
28 |
30 Mar 06 |
gregory |
9 |
REM |
441 |
10 Aug 06 |
jari |
REM Proteios is free software; you can redistribute it and/or |
28 |
30 Mar 06 |
gregory |
REM modify it under the terms of the GNU General Public License |
28 |
30 Mar 06 |
gregory |
REM as published by the Free Software Foundation; either version 2 |
28 |
30 Mar 06 |
gregory |
REM of the License, or (at your option) any later version. |
28 |
30 Mar 06 |
gregory |
14 |
REM |
441 |
10 Aug 06 |
jari |
REM Proteios is distributed in the hope that it will be useful, |
28 |
30 Mar 06 |
gregory |
REM but WITHOUT ANY WARRANTY; without even the implied warranty of |
28 |
30 Mar 06 |
gregory |
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
28 |
30 Mar 06 |
gregory |
REM GNU General Public License for more details. |
28 |
30 Mar 06 |
gregory |
19 |
REM |
28 |
30 Mar 06 |
gregory |
REM You should have received a copy of the GNU General Public License |
28 |
30 Mar 06 |
gregory |
REM along with this program; if not, write to the Free Software |
28 |
30 Mar 06 |
gregory |
REM Foundation, Inc., 59 Temple Place - Suite 330, |
28 |
30 Mar 06 |
gregory |
REM Boston, MA 02111-1307, USA. |
28 |
30 Mar 06 |
gregory |
24 |
REM ---------------------------------------- |
28 |
30 Mar 06 |
gregory |
25 |
|
1214 |
16 Feb 07 |
olle |
REM Check input arguments |
1214 |
16 Feb 07 |
olle |
27 |
if not "%1"=="" goto arguments_ok |
1214 |
16 Feb 07 |
olle |
28 |
echo "Usage: updatedb.bat root_password" |
1214 |
16 Feb 07 |
olle |
29 |
goto end |
1214 |
16 Feb 07 |
olle |
30 |
:arguments_ok |
28 |
30 Mar 06 |
gregory |
31 |
|
1214 |
16 Feb 07 |
olle |
REM Set classpath |
1214 |
16 Feb 07 |
olle |
33 |
call set_classpath.bat |
28 |
30 Mar 06 |
gregory |
34 |
|
28 |
30 Mar 06 |
gregory |
REM Execute install class |
1214 |
16 Feb 07 |
olle |
36 |
java -server -cp %CP% org.proteios.install.InitDB update %1 %2 %3 %4 %5 %6 %7 %8 %9 |
1214 |
16 Feb 07 |
olle |
37 |
:end |