File: run.sh

package info (click to toggle)
libkml 1.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 28,708 kB
  • ctags: 18,811
  • sloc: cpp: 132,311; ansic: 13,333; sh: 10,062; python: 5,626; makefile: 2,300; xml: 1,806; java: 106
file content (27 lines) | stat: -rwxr-xr-x 1,023 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# The relative path to the directory that holds the build shared libraries.
BUILT_LIB_DIR=../../build/src/swig/.libs
echo "=== setting shared library path to built libraries dir: $BUILT_LIB_DIR"
export LD_LIBRARY_PATH=$BUILT_LIB_DIR  # For Linux.
export DYLD_LIBRARY_PATH=$BUILT_LIB_DIR  # For Mac OS X.

rm -f *.class

echo "... compiling CreateFolder"
javac -classpath .:../../build/src/swig CreateFolder.java
echo "... running CreateFolder"
java -classpath .:../../build/src/swig CreateFolder

echo "... compiling CreatePlacemark"
javac -classpath .:../../build/src/swig CreatePlacemark.java
echo "... running CreatePlacemark"
java -classpath .:../../build/src/swig CreatePlacemark

echo "... compiling ParseKml"
javac -classpath .:../../build/src/swig ParseKml.java
echo "... running ParseKml"
java -classpath .:../../build/src/swig ParseKml

echo "... compiling WalkFeatures"
javac -classpath .:../../build/src/swig WalkFeatures.java
echo "... running WalkFeatures"
java -classpath .:../../build/src/swig WalkFeatures