buildr from svn repository

147 Views Asked by At

I would to run buildr on my svn repository - to build the files from \src\main\java in the subversion repository with username and password and save it to anther location on my disc.

How can I do it?

3

There are 3 best solutions below

2
phoet On BEST ANSWER

if i understand your question correctly, you are trying to setup a contiuous build system. checking out source code is the responsibility of your CI system. it would poll your svn, git or whatever cvs you use for changes and then build it on the configuration you provide.

a free build-server is jenkins (aka hudson). if you want a hosted solution you can go for travis-ci (it's free). or something expensive like atlassian bamboo.

1
Ujjwal Singh On

You will have to write an Ruby build script - that when you execute will:

  1. Checkout the source
  2. do the 'buildr'
  3. Commit the built file(s)

http://www.markdeepwell.com/2010/06/ruby-subversion-bindings/ http://blog.carlossanchez.eu/2009/08/18/using-subversion-ruby-bindings/

0
Ted Shaw On

the easiest way is run external svn commands

task :checkout do
    system 'svn checkout ..'
end