# File addon/buildr/jibx.rb, line 40
      def bind(options)
        rake_check_options options, :classpath, :output, :binding, :target, :verbose, :load
        artifacts = Buildr.artifacts(options[:classpath]).each { |a| a.invoke }.map(&:to_s) + [options[:output].to_s]
        binding = file(options[:binding]).tap { |task| task.invoke }.to_s

        Buildr.ant 'jibx' do |ant|
          ant.taskdef :name=>'bind', :classname=>'org.jibx.binding.ant.CompileTask',
            :classpath => requires.join(File::PATH_SEPARATOR)
          ant.bind :verbose => options[:verbose].to_s, :load => options[:load].to_s, :binding=>options[:binding].to_s do
            ant.classpath :path => artifacts.join(File::PATH_SEPARATOR)
          end
        end
      end