From cbe8908430182f696b2f41a9848fab4db62a4187 Mon Sep 17 00:00:00 2001 From: Patrick Linskey Date: Thu, 30 Aug 2007 15:33:13 +0000 Subject: [PATCH] OPENJPA-344. Moved temporary files into the target dir. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@571210 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/conf/TestCacheMarshaller.java | 3 ++- .../apache/openjpa/conf/TestCacheMarshallerEndToEnd.java | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshaller.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshaller.java index ebe863e0a..d7a8611b7 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshaller.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshaller.java @@ -31,7 +31,8 @@ public class TestCacheMarshaller "default(Id=" + getClass().getName() + ", ValidationPolicy=" + OpenJPAVersionAndConfigurationTypeValidationPolicy.class .getName() - + ", InputURL=file:" + getClass().getName() + ".ser, OutputFile=" + + ", InputURL=file:target/" + getClass().getName() + ".ser" + + ", OutputFile=target/" + getClass().getName() + ".ser)" }); emf.createEntityManager().close(); diff --git a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshallerEndToEnd.java b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshallerEndToEnd.java index b73908617..8982d436b 100644 --- a/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshallerEndToEnd.java +++ b/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/conf/TestCacheMarshallerEndToEnd.java @@ -38,7 +38,8 @@ public class TestCacheMarshallerEndToEnd private static final Object[] STORE_PROPS = new Object[] { "openjpa.CacheMarshallers", "default(Id=" + MetaDataCacheMaintenance.class.getName() - + ", OutputFile=" + MetaDataCacheMaintenance.class.getName() +".ser" + + ", OutputFile=target/" + + MetaDataCacheMaintenance.class.getName() +".ser" + ", ConsumeSerializationErrors=false" + ", ValidationPolicy=" + OpenJPAVersionAndConfigurationTypeValidationPolicy.class.getName() @@ -53,8 +54,8 @@ public class TestCacheMarshallerEndToEnd private static final Object[] LOAD_PROPS = new Object[] { "openjpa.CacheMarshallers", "default(Id=" + MetaDataCacheMaintenance.class.getName() - + ", InputURL=file:" + MetaDataCacheMaintenance.class.getName() - + ".ser" + + ", InputURL=file:target/" + + MetaDataCacheMaintenance.class.getName() + ".ser" + ", ConsumeSerializationErrors=false" + ", ValidationPolicy=" + OpenJPAVersionAndConfigurationTypeValidationPolicy.class.getName()