To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Revision:

root / bin / yetilab @ 116:44d745823a75

History | View | Annotate | Download (914 Bytes)

1
#!/bin/sh
2

    
3
ARCH=linux32
4

    
5
YLDIR=`dirname $0`/..
6

    
7
EXTDIR=$YLDIR/ext
8
JARDIR=$EXTDIR/jar
9
SODIR=$EXTDIR/native/$ARCH
10

    
11
YETI_LIBDIR=${YETI_LIBDIR:=$YLDIR/../yeti}
12
if [ ! -d "$YETI_LIBDIR" ]; then 
13
    YETI_LIBDIR=$YLDIR/../other/yeti
14
fi
15

    
16
AYR_DIR=${AYR_DIR:=$YLDIR/../ayr}
17
JVAMP_DIR=${JVAMP_DIR:=$YLDIR/../jvamp}
18
YERTLE_DIR=${YERTLE_DIR:=$YLDIR/../yertle}
19

    
20
CLASSPATH=$YLDIR/yetilab.jar:$AYR_DIR/ayr.jar:$AYR_DIR/libreadline-java.jar:$YETI_LIBDIR/yeti.jar:$YETI_LIBDIR/yeti-lib.jar:$JVAMP_DIR/jvamp.jar:$YERTLE_DIR/yertle.jar:$JARDIR/jtransforms-2.4.jar:$JARDIR/org.jzy3d-0.9.jar:$JARDIR/jogl-all.jar:$JARDIR/gluegen.jar:$JARDIR/gluegen-rt.jar:$JARDIR/misc/opencsv-2.1.jar:$JARDIR/misc/org.convexhull.jar:$JARDIR/misc/swt.jar
21

    
22
YETI_MODULE_SOURCE_PATH=${YETI_LIBDIR}/modules \
23
    LD_LIBRARY_PATH=$AYR_DIR:$JVAMP_DIR:$SODIR:$LD_LIBRARY_PATH \
24
    $JAVA_HOME/bin/java -classpath "$CLASSPATH" com.particularprograms.ayr "$@"
25