reenable XML snapshots
authoradam <adam@megacz.com>
Sat, 30 Oct 2004 08:48:02 +0000 (08:48 +0000)
committeradam <adam@megacz.com>
Sat, 30 Oct 2004 08:48:02 +0000 (08:48 +0000)
darcs-hash:20041030084802-5007d-8195002aa973a1aa9ca37e1b1acb62703abd45cf.gz

src/org/ibex/xt/Prevalence.java

index 2057f23..b237619 100644 (file)
@@ -46,7 +46,6 @@ public class Prevalence {
                     String base = cx.getRealPath("/") + "WEB-INF" + File.separatorChar + "prevalent";
                     System.err.println("prevayling to " + base);
                     pf.configurePrevalenceBase(base);
-                    /*
                     XStreamSnapshotManager manager = new XStreamSnapshotManager(new JS(), base, null) {
                             protected XStream createXStream() {
                                 XStream xstream = new XStream();
@@ -57,8 +56,7 @@ public class Prevalence {
                         };
                     System.err.println("configuring with " + manager);
                     pf.configureSnapshotManager(manager);
-                    */
-                    pf.configureSnapshotManager(new SnapshotManager(new JS(), base));
+                    //pf.configureSnapshotManager(new SnapshotManager(new JS(), base));
                     //pf.configureClassLoader(JSTransaction.class.getClassLoader());
                     prevayler = pf.create();
                     prevaylers.put(cx, prevayler);