annotate bin/may.bat @ 587:b50912d6d72b
Make paths in batch file relative to file location
author |
Chris Cannam |
date |
Mon, 28 Jul 2014 21:18:19 +0100 |
parents |
8c26ccf36416 |
children |
|
rev |
line source |
Chris@388
|
1 @echo off
|
Chris@587
|
2
|
Chris@587
|
3 set maypath=%~dp0..
|
Chris@587
|
4 set jarpath=%maypath%\ext\jar
|
Chris@587
|
5 set nativepath=%maypath%\ext\native\win64
|
Chris@587
|
6 set yetipath=%maypath%\..\yeti
|
Chris@587
|
7
|
Chris@388
|
8 set MAY_INIT_MODULES=may.vector;may.matrix;may.complex;may.plot;may.vamp
|
Chris@587
|
9 set YETI_MODULE_SOURCE_PATH=%yetipath%\modules
|
Chris@587
|
10
|
Chris@587
|
11 java -classpath "%maypath%\may.jar;%jarpath%\ayr.jar;%yetipath%\yeti.jar;%jarpath%\jline-2.11-SNAPSHOT.jar;%jarpath%\jvamp.jar;%jarpath%\yertle.jar;%jarpath%\jtransforms-2.4.jar;%jarpath%\jzy3d-swt-0.9.1.jar;%jarpath%\jzy3d-api-0.9.1.jar;%jarpath%\jogl-all.jar;%jarpath%\gluegen.jar;%jarpath%\opencsv-2.1.jar;%jarpath%\org.convexhull.jar" -Djava.library.path=%nativepath% com.particularprograms.ayr -init "%MAY_INIT_MODULES%"
|