# File addon/buildr/jibx.rb, line 62
    def jibx_bind(options = nil)
      
      # FIXME - add support for :bindingfileset and :classpathset

      # Note: either :binding or :bindingfileset should be set, and either

      # :classpath or :classpathset should be set, and options passed to

      # ant.bind should be adjusted accordingly. At present, only :binding

      # and :classpath are supported (which should be fine for most!)

      jibx_options = { :output => compile.target,
        :classpath => compile.classpath,
        :binding => path_to(:source, :main, :resources, 'META-INF/binding.xml'),
        :target => compile.target,
        :load => false,
        :verbose => false
      }

      JiBX.bind jibx_options.merge(options || {})
    end