diff --git a/java/build.xml b/java/build.xml
index baecd01d..52c5218c 100644
--- a/java/build.xml
+++ b/java/build.xml
@@ -5,25 +5,18 @@
-
-
-
-
-
+
-
-
-
@@ -65,13 +58,9 @@
-
-
-
-
@@ -80,10 +69,10 @@
+
-
@@ -145,12 +134,12 @@
-
-
-
+
+
+
-
+
@@ -166,8 +155,6 @@
errorProperty="tests.failed" failureProperty="tests.failed">
-
-
@@ -182,7 +169,7 @@
Tests Failed!
-
+
diff --git a/java/ivy.xml b/java/ivy.xml
index 6d987568..a6942142 100644
--- a/java/ivy.xml
+++ b/java/ivy.xml
@@ -1,7 +1,7 @@
-
MessagePack
diff --git a/java/test/org/msgpack/TestPackUnpack.java b/java/test/org/msgpack/TestPackUnpack.java
index f8eeae7a..68778539 100644
--- a/java/test/org/msgpack/TestPackUnpack.java
+++ b/java/test/org/msgpack/TestPackUnpack.java
@@ -8,9 +8,14 @@ import org.junit.Test;
import static org.junit.Assert.*;
public class TestPackUnpack {
- public Object unpackOne(ByteArrayOutputStream out) {
+ protected Object unpackOne(ByteArrayOutputStream out) {
+ return unpackOne(out, null);
+ }
+ protected Object unpackOne(ByteArrayOutputStream out, Schema schema) {
ByteArrayInputStream in = new ByteArrayInputStream(out.toByteArray());
Unpacker upk = new Unpacker(in);
+ if (schema != null)
+ upk = upk.useSchema(schema);
Iterator