added example of building a new IDL object
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Oct 2007 15:37:33 +0000 (15:37 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 23 Oct 2007 15:37:33 +0000 (15:37 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7921 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/java/org/open_ils/test/TestIDL.java

index e32ba8b..de778a9 100644 (file)
@@ -1,11 +1,19 @@
 package org.open_ils.test;
 import org.open_ils.idl.*;
+import org.opensrf.*;
+import org.opensrf.util.*;
 
 public class TestIDL {
     public static void main(String args[]) throws Exception {
         String idlFile = args[0];
         IDLParser parser = new IDLParser(idlFile);
         parser.parse();
-        System.out.print(parser.toXML());
+        //System.out.print(parser.toXML());
+
+        /*
+        OSRFObject bre = new OSRFObject("bre");
+        bre.put("id", new Integer(1));
+        System.out.println(bre);
+        */
     }
 }