Domanda

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?

È stato utile?

Soluzione

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.

Altri suggerimenti

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/

the easiest way is run external svn commands

task :checkout do
    system 'svn checkout ..'
end
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top