[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: SVN com objects

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-04-04 00:34:19 CEST

Max Bowsher wrote:
> Gary Lusso wrote:
>> Are there com objects for the Windows version od svn?
>
> No.
>

It would be nice to have Subversion's interface exposed through COM;
it would allow ASP code to interact with Subversion without relying
on wrapping the commandline.

(For those who aren't familiar with COM, it's a "language independent"
Microsoft Windows technology for component-oriented development, like
CORBA. Providing a COM interface would be much the same as providing
bindings for VBScript, JScript, etc)

Exposing Subversion's interface through COM would be (as far as I know)
non-trivial, though, so I don't really expect anyone to put the time
and effort in for this -- I imagine that for most projects, wrapping
the command line or using a different platform are more obvious options.

I don't think that SWIG supports COM IDL as a target, or even if it
would be practical to add that sort of support. If I was to attempt
something like this, I'd probably use the SWIG-generated Python bindings
together with Python's win32all COM support. It would be an extra
layer, though, and probably not an ideal long-term solution.

Just thinking out loud :-)

-- 
Robert Hunter
*****************************************************************************
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Apr 4 00:37:25 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.