Hi all, We're using JiBX (http://jibx.sourceforge.net) here to do Java <-> XML bindings. JiBX requires compile-time class generation and binding compilation. Details of the ant binding model are at:
http://jibx.sourceforge.net/bindcomp.html Based on the openjpa bytecode enhancer (openjpa.rb) in the buildr tree, I've written a JiBX bind task. Please find it attached to this post. Review or comments most appreciated. Here's a snippet of buildr rakefile that invokes the JiBX compiler: ... require 'buildr/jibx' JIBX_RUNTIME = group("jibx-run", "jibx-extras", :under => "org.jibx", :version => "1.1.5") desc "jibx-core" define "jibx-core" do JIBX_CORE_DEPS = COMMONS.logging, LOG4J, JIBX_RUNTIME compile.with JIBX_CORE_DEPS package :jar compile { jibx_bind :verbose => true, :load => true } end ... (A simple "compile { jibx_bind }" is sufficient, of course.) I would be very happy to see it integrated into the buildr tree. Do I need to JIRA it for licence reasons? - please advise the next step. Dave http://www.nabble.com/file/p15198768/jibx.rb jibx.rb -- View this message in context: http://www.nabble.com/JiBX-binding-generator-tp15198768p15198768.html Sent from the Buildr - User mailing list archive at Nabble.com.
