diff options
authorVlastimil Babka <>2007-06-17 23:12:19 +0000
committerVlastimil Babka <>2007-06-17 23:12:19 +0000
commit698d0d3c5dbd9facaf88a849a5370a0f29a027c5 (patch)
parentAdd jabref example bibliography. (diff)
New script to test swt integration with >=3.2.2-r1 immitating gjl launcher.
svn path=/testcases/; revision=5147
2 files changed, 36 insertions, 1 deletions
diff --git a/dev-java/swt/README b/dev-java/swt/README
index 9a7c4be..4426c2c 100644
--- a/dev-java/swt/README
+++ b/dev-java/swt/README
@@ -1,3 +1,30 @@
+======== Instructions for >=dev-java-swt-3.2.2-r1 =========
+To run the test, execute
+The test should load to a window. This window does not
+seem to close properly so just pkill -9 java if you don't have anything else
+java running.
+You should test swt built agains firefox, seamonkey and xulrunner (if applicable)
+by remerging with various USE flags. It can be built and only against one of the
+three, so specifying multiple flags will result in effectively one, with this
+xulrunner > firefox > seamonkey
+So the test scenario for version that supports all three could look like this:
+USE="seamonkey -firefox -xulrunner" emerge swt
+pkill -9 java
+USE="firefox -xulrunner" emerge swt
+pkill -9 java
+USE="xulrunner" emerge swt
+pkill -9 java
+======== Instructions for <=dev-java-swt-3.2.2 =========
+ takes one argument that is the browser implementation swt was built
against. So for examples: xulrunner
@@ -16,4 +43,5 @@ USE="xulrunner -seamonkey" emerge swt xulrunner
pkill -9 java
-(if you put both in USE, it builds against xulrunner) \ No newline at end of file
+(if you put both in USE, it builds against xulrunner)
diff --git a/dev-java/swt/ b/dev-java/swt/
new file mode 100755
index 0000000..857d38e
--- /dev/null
+++ b/dev-java/swt/
@@ -0,0 +1,7 @@
+[[ ! -e Snippet128.class ]] && javac -classpath $(java-config -p swt-3)
+export CLASSPATH="."
+source /usr/share/java-config-2/launcher/launcher.bash