Rather than re-invent a build system and hope for the best, we're evolving Buildr alongside the Ode build. So although you can use Buildr as a Gem anywhere else, the Ode Rakefile assumes you have Buildr installed locally:
cd ode svn co svn://www.intalio.org/usr/local/svn/repos/buildr/trunk buildr rake clean package And as a general rule, svn update Buildr whenever you see an update to the Rakefile. Often a patch to one depends on the other. Assaf On 3/26/07, Alex Boisvert <[EMAIL PROTECTED]> wrote:
This is perhaps a good opportunity to provide some contextual explanation for those you haven't noticed the Rakefile yet :) We've been exploring the possibility of switching the current Maven2 build system to something less fragile and easier to customize to our purpose. This experiment led us to "buildr", which is a library/layer on top of Ruby Rake. Buildr: http://buildr.rubyforge.org/ Ruby Rake: http://rake.rubyforge.org/ If you want to try this experimental build system, you should install buildr as a Ruby Gem, assuming you have Ruby 1.8.4+ and Gem installed: gem install rake (if you don't have Rake installed already) gem install buildr and run "rake package" to build Ode. Before you rush out to try buildr, there are a few important considerations. First, buildr doesn't run on JRuby yet, so you'll need a native Ruby installation. Second, we haven't tested on Windows platforms yet but you're welcome to try it and report any issues. Third, the current Rakefile doesn't generate the Hibernate bits and doesn't generate the JBI component installer. If you need those, stick with Maven2 for the time being or, better, send in your patches. We'll put this information on the wiki soon... for the time being, we're focused on the incubator release! cheers, alex On 3/26/07, Paul R Brown <[EMAIL PROTECTED]> wrote: > > > All -- > > There's a dependency on tools.jar in the current Rakefile, but > tools.jar doesn't really exist. It's a figment of SUN's JDK > structure, and it's not present in Apple, IBM, or potentially other > JDKs. As is, Ode builds via rake on MacOS without issue if line 375 > is commented out. > > Implementing JDK detection magic in Ode's build file doesn't make > sense, so this is more of an enhancement suggestion for buildr. For > the moment, wrapping it with if !PLATFORM.index('darwin') is enough > to keep me happy. > > Any objections? > > -- Paul >
-- CTO, Intalio http://www.intalio.com
