Last change
on this file since 19253 was 19253, checked in by davidb, 15 years ago |
Establishing a source code repository for Veronica's Realistic Book's software
|
File size:
649 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | REM This script check the antinstall-config.xml configuration in the current directory
|
---|
4 |
|
---|
5 |
|
---|
6 | REM Installer requires Java
|
---|
7 | if "%JAVA_HOME%" == "" goto setjava
|
---|
8 |
|
---|
9 | set CLASSPATH=..\..\..\lib\xercesImpl.jar
|
---|
10 | set CLASSPATH=%CLASSPATH%;..\..\..\lib\xml-apis.jar
|
---|
11 | set CLASSPATH=%CLASSPATH%;..\..\..\lib\ant-installer.jar
|
---|
12 | set CLASSPATH=%CLASSPATH%;..\..\..\antlib\ant.jar
|
---|
13 |
|
---|
14 |
|
---|
15 | %JAVA_HOME%\bin\java -classpath %CLASSPATH% org.tp23.antinstaller.runtime.ConfigurationLoader installer
|
---|
16 | goto end
|
---|
17 |
|
---|
18 | :setjava
|
---|
19 | echo Installer requires Java available from http://java.sun.com
|
---|
20 | echo If you have Java installed you may just need to set the variable JAVA_HOME
|
---|
21 |
|
---|
22 | :end
|
---|
23 | pause |
---|
Note:
See
TracBrowser
for help on using the repository browser.