Module | Buildr::XMLBeans |
In: |
addon/buildr/xmlbeans.rb
(CVS)
|
Provides XMLBeans schema compiler. Require explicitly using require "buildr/xmlbeans".
require 'buildr/xmlbeans' define 'some_proj' do compile_xml_beans _(:source, :main, :xsd) # the directory with *.xsd end
REQUIRES | = | ArtifactNamespace.for(self) do |ns| ns.xmlbeans! 'org.apache.xmlbeans:xmlbeans:jar:2.3.0', '>2' |
You can use ArtifactNamespace to
customize the versions of :xmlbeans or :stax used by this
module:
require 'buildr/xmlbeans' Buildr::XMLBeans::REQUIRES.xmlbeans = '2.2.0' |