| 1 |
@ECHO OFF |
|---|
| 2 |
rem ************* <auto-copyright.pl BEGIN do not edit this line> ************* |
|---|
| 3 |
rem |
|---|
| 4 |
rem VR Juggler is (C) Copyright 1998-2007 by Iowa State University |
|---|
| 5 |
rem |
|---|
| 6 |
rem Original Authors: |
|---|
| 7 |
rem Allen Bierbaum, Christopher Just, |
|---|
| 8 |
rem Patrick Hartling, Kevin Meinert, |
|---|
| 9 |
rem Carolina Cruz-Neira, Albert Baker |
|---|
| 10 |
rem |
|---|
| 11 |
rem This library is free software; you can redistribute it and/or |
|---|
| 12 |
rem modify it under the terms of the GNU Library General Public |
|---|
| 13 |
rem License as published by the Free Software Foundation; either |
|---|
| 14 |
rem version 2 of the License, or (at your option) any later version. |
|---|
| 15 |
rem |
|---|
| 16 |
rem This library is distributed in the hope that it will be useful, |
|---|
| 17 |
rem but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 18 |
rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 19 |
rem Library General Public License for more details. |
|---|
| 20 |
rem |
|---|
| 21 |
rem You should have received a copy of the GNU Library General Public |
|---|
| 22 |
rem License along with this library; if not, write to the |
|---|
| 23 |
rem Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|---|
| 24 |
rem Boston, MA 02111-1307, USA. |
|---|
| 25 |
rem |
|---|
| 26 |
rem ************** <auto-copyright.pl END do not edit this line> ************** |
|---|
| 27 |
|
|---|
| 28 |
IF NOT "%TWEEK_BASE_DIR%"=="" GOTO ELSE3 |
|---|
| 29 |
ECHO [ERR] TWEEK_BASE_DIR unset; please set the environment variable |
|---|
| 30 |
ECHO [ERR] TWEEK_BASE_DIR to point to your Tweek installation. For more |
|---|
| 31 |
ECHO [ERR] information, please see INSTALL.html |
|---|
| 32 |
GOTO ERREXIT |
|---|
| 33 |
:ELSE3 |
|---|
| 34 |
IF EXIST "%TWEEK_BASE_DIR%" GOTO RUNJAVA |
|---|
| 35 |
ECHO [ERR] The TWEEK_BASE_DIR %TWEEK_BASE_DIR% does not appear to exist. |
|---|
| 36 |
ECHO [ERR] Please check the path and try again. |
|---|
| 37 |
GOTO ERREXIT |
|---|
| 38 |
:RUNJAVA |
|---|
| 39 |
set TWEEK_CLASSPATH=%TWEEK_BASE_DIR%\share\tweek\java\jaxen-core.jar;%TWEEK_BASE_DIR%\share\tweek\java\jaxen-jdom.jar;%TWEEK_BASE_DIR%\share\tweek\java\jdom.jar;%TWEEK_BASE_DIR%\share\tweek\java\saxpath.jar;%TWEEK_BASE_DIR%\share\tweek\java\xalan.jar;%TWEEK_BASE_DIR%\share\tweek\java\xerces.jar;%TWEEK_BASE_DIR%\share\tweek\java\xml-apis.jar;%TWEEK_BASE_DIR%\share\tweek\java\Tweek.jar;%TWEEK_BASE_DIR%\share\tweek\java\TweekBeans.jar;%TWEEK_BASE_DIR%\share\tweek\java\TweekEvents.jar;%TWEEK_BASE_DIR%\share\tweek\java\TweekNet.jar;%TWEEK_BASE_DIR%\share\tweek\java\TweekBeanDelivery.jar;%TWEEK_BASE_DIR%\share\tweek\java\TweekServices.jar;%TWEEK_BASE_DIR%\share\tweek\java\kunststoff-mod.jar;%TWEEK_BASE_DIR%\share\tweek\java\liquidlnf.jar;%TWEEK_BASE_DIR%\share\tweek\java\metouia.jar;%TWEEK_BASE_DIR%\share\tweek\java\looks.jar |
|---|
| 40 |
|
|---|
| 41 |
java -Dsun.java2d.opengl=true -DTWEEK_BASE_DIR="%TWEEK_BASE_DIR%" -Djava.library.path="%TWEEK_BASE_DIR%\share\tweek\java\%PROCESSOR_ARCHITECTURE%" -Djava.security.policy="%TWEEK_BASE_DIR%\share\tweek\java\java.security.policy.txt" -cp "%TWEEK_CLASSPATH%" org.vrjuggler.tweek.Tweek %* |
|---|
| 42 |
GOTO DONE |
|---|
| 43 |
:ERREXIT |
|---|
| 44 |
ECHO [ERR] Tweek exiting due to previous errors. |
|---|
| 45 |
:DONE |
|---|