source: release-kits/lirk3/bin/ant-installer/examples/buildtypes/script-laf/installer/install.cmd@ 14982

Last change on this file since 14982 was 14982, checked in by oranfry, 16 years ago

initial import of LiRK3

File size: 1.8 KB
Line 
1@echo off
2REM #!/bin/sh
3
4REM # This install script runs the installer in the development directory
5REM # To create you own installers it is best to copy the structure
6REM # and scripts in the ./demo directoy
7
8REM # The default case runs the installer in an X session if it can
9REM # falling back to text if the Graphics environment is not available
10REM # This can be changed by uncommenting the if statement and the default
11REM # can be changed by replacing "text" with "swing" below
12REM # or passing the required option on the command line
13
14if "%JAVA_HOME%" == "" goto nojava
15
16set INTERFACE=default
17set COMMAND=%JAVA_HOME%\bin\java
18if "%1" == "text" goto settext
19if "%1" == "swing" goto setswing
20goto install
21
22:settext
23set COMMAND=%JAVA_HOME%\bin\java
24set INTERFACE=text
25goto install
26
27:setswing
28set COMMAND=start %JAVA_HOME%\bin\javaw
29set INTERFACE=swing
30goto install
31
32:install
33
34
35REM # Installer from command line classpath
36set CLASSPATH=..\..\..\..\lib\xercesImpl.jar
37set CLASSPATH=%CLASSPATH%;..\..\..\..\lib\xml-apis.jar
38set CLASSPATH=%CLASSPATH%;..\..\..\..\lib\ant-installer.jar
39set CLASSPATH=%CLASSPATH%;..\..\..\..\lib\ai-icons-eclipse.jar
40
41REM # JGoodies Look And Feel
42set CLASSPATH=%CLASSPATH%;..\..\..\..\lib\jgoodies-edited-1_2_2.jar
43REM # Image resources
44set CLASSPATH=%CLASSPATH%;..\..\..\..\classes
45REM # Metouia (default) Look And Feel
46REM set CLASSPATH=%CLASSPATH%;..\..\..\..\lib\metouia.jar
47
48REM # minimal ANT classpath requirements
49set CLASSPATH=%CLASSPATH%;..\..\..\..\antlib\ant.jar
50set CLASSPATH=%CLASSPATH%;..\..\..\..\antlib\ant-launcher.jar
51
52REM ### add other ant jars required here
53REM #CLASSPATH=$CLASSPATH;.\antlib\ant-weblogic.jar;.\antlib\ant-javamail.jar
54
55%COMMAND% -classpath %CLASSPATH% org.tp23.antinstaller.runtime.ExecInstall %INTERFACE% .
56
57goto end
58
59:nojava
60echo you must install java to run this applicaiton
61goto end
62
63
64:end
Note: See TracBrowser for help on using the repository browser.