From f5de8ced6d8dd93eab12be19b3c35aaca3b8da13 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Sun, 11 Nov 2012 22:00:45 +0000 Subject: Update example to rc11 --- maven/trivial-test/pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maven/trivial-test/pom.xml b/maven/trivial-test/pom.xml index 1300b1c..f6d8e54 100644 --- a/maven/trivial-test/pom.xml +++ b/maven/trivial-test/pom.xml @@ -24,12 +24,12 @@ org.jogamp.gluegen gluegen-rt-main - 2.0-rc9 + 2.0-rc11 org.jogamp.jogl jogl-all-main - 2.0-rc9 + 2.0-rc11 -- cgit v1.2.3 From a58a9f8894612a10bcb03952687f8d9355af943c Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Sun, 11 Nov 2012 22:02:06 +0000 Subject: Trivial-as-possible JOAL test --- maven/trivial-joal/README.txt | 3 ++ maven/trivial-joal/pom.xml | 50 ++++++++++++++++++++++ .../java/com/io7m/example/test_joal/TestJOAL.java | 22 ++++++++++ 3 files changed, 75 insertions(+) create mode 100644 maven/trivial-joal/README.txt create mode 100644 maven/trivial-joal/pom.xml create mode 100644 maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java diff --git a/maven/trivial-joal/README.txt b/maven/trivial-joal/README.txt new file mode 100644 index 0000000..24f966a --- /dev/null +++ b/maven/trivial-joal/README.txt @@ -0,0 +1,3 @@ +Trivial example that does nothing beyond opening an AL context. This +should be sufficient to test package dependency resolution and whether +or not the binaries actually work. diff --git a/maven/trivial-joal/pom.xml b/maven/trivial-joal/pom.xml new file mode 100644 index 0000000..abc2308 --- /dev/null +++ b/maven/trivial-joal/pom.xml @@ -0,0 +1,50 @@ + + 4.0.0 + + com.io7m.example + trivial-joal + 1.0.0 + jar + + jogl-mvn-test + http://maven.apache.org + + + UTF-8 + + + + + junit + junit + 4.10 + test + + + org.jogamp.gluegen + gluegen-rt-main + 2.0-rc11 + + + org.jogamp.joal + joal-main + 2.0-rc11 + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 2.0.2 + + 1.6 + 1.6 + + + + + + diff --git a/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java b/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java new file mode 100644 index 0000000..a3f4efb --- /dev/null +++ b/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java @@ -0,0 +1,22 @@ +package com.io7m.example.test_joal; + +import org.junit.Test; + +import com.jogamp.openal.AL; +import com.jogamp.openal.ALException; +import com.jogamp.openal.ALFactory; + +public class TestJOAL +{ + @SuppressWarnings("static-method") @Test public void go() + { + try { + final AL al = ALFactory.getAL(); + al.alGetError(); + System.err.println("AL: " + al); + } catch (final ALException e) { + e.printStackTrace(); + System.exit(1); + } + } +} -- cgit v1.2.3 From 6002576df94af082f031252867891eba92a8c4ab Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Thu, 15 Nov 2012 22:23:45 +0000 Subject: Removed JOAL example (moved to JOAL demos) --- maven/trivial-joal/README.txt | 3 -- maven/trivial-joal/pom.xml | 50 ---------------------- .../java/com/io7m/example/test_joal/TestJOAL.java | 22 ---------- 3 files changed, 75 deletions(-) delete mode 100644 maven/trivial-joal/README.txt delete mode 100644 maven/trivial-joal/pom.xml delete mode 100644 maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java diff --git a/maven/trivial-joal/README.txt b/maven/trivial-joal/README.txt deleted file mode 100644 index 24f966a..0000000 --- a/maven/trivial-joal/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -Trivial example that does nothing beyond opening an AL context. This -should be sufficient to test package dependency resolution and whether -or not the binaries actually work. diff --git a/maven/trivial-joal/pom.xml b/maven/trivial-joal/pom.xml deleted file mode 100644 index abc2308..0000000 --- a/maven/trivial-joal/pom.xml +++ /dev/null @@ -1,50 +0,0 @@ - - 4.0.0 - - com.io7m.example - trivial-joal - 1.0.0 - jar - - jogl-mvn-test - http://maven.apache.org - - - UTF-8 - - - - - junit - junit - 4.10 - test - - - org.jogamp.gluegen - gluegen-rt-main - 2.0-rc11 - - - org.jogamp.joal - joal-main - 2.0-rc11 - - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 2.0.2 - - 1.6 - 1.6 - - - - - - diff --git a/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java b/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java deleted file mode 100644 index a3f4efb..0000000 --- a/maven/trivial-joal/src/test/java/com/io7m/example/test_joal/TestJOAL.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.io7m.example.test_joal; - -import org.junit.Test; - -import com.jogamp.openal.AL; -import com.jogamp.openal.ALException; -import com.jogamp.openal.ALFactory; - -public class TestJOAL -{ - @SuppressWarnings("static-method") @Test public void go() - { - try { - final AL al = ALFactory.getAL(); - al.alGetError(); - System.err.println("AL: " + al); - } catch (final ALException e) { - e.printStackTrace(); - System.exit(1); - } - } -} -- cgit v1.2.3