diff options
Diffstat (limited to 'dev-java/swt/runtest.sh')
-rw-r--r-- | dev-java/swt/runtest.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-java/swt/runtest.sh b/dev-java/swt/runtest.sh new file mode 100644 index 0000000..d212ecf --- /dev/null +++ b/dev-java/swt/runtest.sh @@ -0,0 +1,7 @@ +moz="${1}" +[[ -z ${moz} ]] && moz=xulrunner +[[ ! -e Snippet128.class ]] && javac -classpath $(java-config -p swt-3) Snippet128.java +#LD_PRELOAD="/usr/lib/${moz}/libxul.so" \ +MOZILLA_FIVE_HOME="/usr/lib/${moz}/" \ +LD_LIBRARY_PATH="$(java-config -i swt-3):${MOZILLA_FIVE_HOME}" \ + java -Djava-library.path=$(java-config -i swt-3) -cp $(java-config -p swt-3):. Snippet128 |