Hi, I asked this question http://www.ruby-forum.com/topic/178661 in main ruby forums, because its about MRI ruby and it''s gem, but maybe here I can find someone who will know the answer or at least can provide some useful information. I''m really looking forward to start using IronRuby after it''s first stable release, before this I''m stuck with MRI. :-/ Thanks -- Posted via http://www.ruby-forum.com/.
Subversion already has MRI ruby bindings.You may want to look into those instead of interop with .NET http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/ http://www.oneofthewolves.com/2007/12/22/ruby-subversion-bindings-better-documentation/ http://agylen.com/2006/07/14/using-the-ruby-bindings-for-subversion/ http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/ruby/ On Mon, Feb 16, 2009 at 3:36 PM, Roman Zawada <lists at ruby-forum.com> wrote:> Hi, > I asked this question > http://www.ruby-forum.com/topic/178661 > in main ruby forums, because its about MRI ruby and it''s gem, but maybe > here I can find someone who will know the answer or at least can provide > some useful information. > > I''m really looking forward to start using IronRuby after it''s first > stable release, before this I''m stuck with MRI. :-/ > > Thanks > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090216/742bf769/attachment.html>
Doh. Last time I looked at svn ruby bindigs a found somewhere that they are not compilable under windows. I must look at at this more often, since now there is nice distribution of svn ruby bindings for windows on http://subversion.tigris.org site. Thank you very much! But I still want to know how to solve .NET interop with SharpSVN or with some other .NET library with similar usage. Or if only way how to use it, is to wirte some wrapper class around it to be able to use it from RubyCLR or even from IR.. Thanks. Ivan Porto Carrero napsal(a):> Subversion already has MRI ruby bindings. > You may want to look into those instead of interop with .NET > > http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/ > http://www.oneofthewolves.com/2007/12/22/ruby-subversion-bindings-better-documentation/ > http://agylen.com/2006/07/14/using-the-ruby-bindings-for-subversion/ > http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/ruby/ > > > On Mon, Feb 16, 2009 at 3:36 PM, Roman Zawada <lists at ruby-forum.com > <mailto:lists at ruby-forum.com>> wrote: > > Hi, > I asked this question > http://www.ruby-forum.com/topic/178661 > in main ruby forums, because its about MRI ruby and it''s gem, but > maybe > here I can find someone who will know the answer or at least can > provide > some useful information. > > I''m really looking forward to start using IronRuby after it''s first > stable release, before this I''m stuck with MRI. :-/ > > Thanks > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org <mailto:Ironruby-core at rubyforge.org> > http://rubyforge.org/mailman/listinfo/ironruby-core > > > ------------------------------------------------------------------------ > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >
You should be able to do it with ironruby and your example ported would look like require ''SharpSVN.dll'' target_path = "C:/dev/experiments/silverlight'' target = SvnTarget.parse target_path client = SvnClient.new begin client.log target, Action.new(&lambda { |sender, args| .... } finally client.dispose end I''m not sure about the parse method.. I just translated it in gmail Cheers Ivan On Mon, Feb 16, 2009 at 8:57 PM, Roman Zawada <info at zwadar.net> wrote:> Doh. Last time I looked at svn ruby bindigs a found somewhere that they are > not compilable under windows. I must look at at this more often, since now > there is nice distribution of svn ruby bindings for windows on > http://subversion.tigris.org site. > Thank you very much! > > But I still want to know how to solve .NET interop with SharpSVN or with > some other .NET library with similar usage. Or if only way how to use it, is > to wirte some wrapper class around it to be able to use it from RubyCLR or > even from IR.. > > Thanks. > > Ivan Porto Carrero napsal(a): > >> Subversion already has MRI ruby bindings. >> You may want to look into those instead of interop with .NET >> >> >> http://www.oneofthewolves.com/2007/03/06/ruby-subversion-bindings-finally-some-documentation/ >> >> http://www.oneofthewolves.com/2007/12/22/ruby-subversion-bindings-better-documentation/ >> http://agylen.com/2006/07/14/using-the-ruby-bindings-for-subversion/ >> http://svn.collab.net/repos/svn/trunk/subversion/bindings/swig/ruby/ >> >> >> On Mon, Feb 16, 2009 at 3:36 PM, Roman Zawada <lists at ruby-forum.com<mailto: >> lists at ruby-forum.com>> wrote: >> >> Hi, >> I asked this question >> http://www.ruby-forum.com/topic/178661 >> in main ruby forums, because its about MRI ruby and it''s gem, but >> maybe >> here I can find someone who will know the answer or at least can >> provide >> some useful information. >> >> I''m really looking forward to start using IronRuby after it''s first >> stable release, before this I''m stuck with MRI. :-/ >> >> Thanks >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org <mailto:Ironruby-core at rubyforge.org> >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Ironruby-core mailing list >> Ironruby-core at rubyforge.org >> http://rubyforge.org/mailman/listinfo/ironruby-core >> >> > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090216/f8270f12/attachment.html>