[open-ils-commits] r7921 - trunk/Open-ILS/src/java/org/open_ils/test

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Oct 23 11:51:09 EDT 2007


Author: erickson
Date: 2007-10-23 11:37:33 -0400 (Tue, 23 Oct 2007)
New Revision: 7921

Modified:
   trunk/Open-ILS/src/java/org/open_ils/test/TestIDL.java
Log:
added example of building a new IDL object

Modified: trunk/Open-ILS/src/java/org/open_ils/test/TestIDL.java
===================================================================
--- trunk/Open-ILS/src/java/org/open_ils/test/TestIDL.java	2007-10-23 13:54:56 UTC (rev 7920)
+++ trunk/Open-ILS/src/java/org/open_ils/test/TestIDL.java	2007-10-23 15:37:33 UTC (rev 7921)
@@ -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);
+        */
     }
 }



More information about the open-ils-commits mailing list