equal
deleted
inserted
replaced
1 @rem |
|
2 @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 @rem All rights reserved. |
|
4 @rem This component and the accompanying materials are made available |
|
5 @rem under the terms of "Eclipse Public License v1.0" |
|
6 @rem which accompanies this distribution, and is available |
|
7 @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 @rem |
|
9 @rem Initial Contributors: |
|
10 @rem Nokia Corporation - initial contribution. |
|
11 @rem |
|
12 @rem Contributors: |
|
13 @rem |
|
14 @rem Description: |
|
15 @rem |
|
16 |
|
17 @ECHO OFF |
|
18 |
|
19 REM Configuration |
|
20 setlocal |
|
21 set JRE_BIN_DIR="C:\APPS\j2sdk_1.6.0_02\jre\bin" |
|
22 set INSTALL_DIR="/epoc32/tools/themeinstaller" |
|
23 |
|
24 REM Verify that the JRE exists |
|
25 if not exist %JRE_BIN_DIR%\java.exe goto jrenotfound |
|
26 |
|
27 REM Verify that the theme installer exists |
|
28 if not exist %INSTALL_DIR%\themeinstaller.jar goto installernotfound |
|
29 |
|
30 REM Execute ThemeInstaller |
|
31 %JRE_BIN_DIR%\java -Dfile.encoding=ISO8859_1 -classpath %INSTALL_DIR%/themeinstaller.jar;%INSTALL_DIR%/lib/batik-util.jar;%INSTALL_DIR%/lib/xml-apis-ext.jar;%INSTALL_DIR%/lib/batik-css.jar;%INSTALL_DIR%/lib/xercesimpl.jar com.nokia.tools.themeinstaller.ui.ThemeInstaller %1 %2 %3 %4 %5 %6 |
|
32 goto exitpoint |
|
33 |
|
34 :jrenotfound |
|
35 echo. |
|
36 echo Error: Java Runtime Environment not found from the JRE_BIN_DIR: %JRE_BIN_DIR% |
|
37 echo Configure the JRE location to themeinstaller.bat file. |
|
38 goto exitpoint |
|
39 |
|
40 :installernotfound |
|
41 echo. |
|
42 echo Error: themeinstaller.jar not found from the INSTALL_DIR: %INSTALL_DIR% |
|
43 echo Configure the install location to themeinstaller.bat file. |
|
44 goto exitpoint |
|
45 |
|
46 :exitpoint |
|