[o:XML] BSF
Martin Klang <[email protected]> Tue, 6 May 2003 23:09:40 +0000 (GMT)
| Newsgroups | gmane.text.xml.o-xml |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hi all, i've created a wrapper for the ObjectBox to run inside the Apache Bean Scripting Framework, BSF. If you want to check it out it's in CVS: http://cvs.pingdynasty.com/cgi-bin/cvsweb.cgi/ObjectBox/src/org/oXML/extras/bsf/ or you can download a prebuilt jar: http://www.o-xml.org/download/obox-bsf.jar you can run programs by invoking a simple main that registers the engine with the BSFManager: java org.oXML.extras.bsf.EngineInitialiser -in hello.oml to run it with BSF you need to edit the file org/apache/bsf/Languages.properties which you'll find in bsf.jar add this line oXML = org.oXML.extras.bsf.oXMLEngine, oml or pick up a fixed jar from here: http://www.o-xml.org/download/bsf.jar with those two in your classpath you can run .oml files using BSF directly: java org.apache.bsf.Main -in hello.oml i haven't tested it from within other processors eg XSLT or JSP, but it should work sort of automagically if you specify the language as "oXML". let me know if you try it and it does/doesn't work - cheers, /m Martin Klang http://www.o-xml.org - the object-oriented XML programming language -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE+uEC2U02Ml0598n4RArf1AJ4kRO3o08IOhAVxzM36a3MegAB7PgCgmZhR UBGjp+FcBbtYLpB6vuJpysc= =QOYs -----END PGP SIGNATURE-----