Skip to main content
New Participant
June 17, 2010
Question

Coldfusion Communication with SVN

  • June 17, 2010
  • 1 reply
  • 958 views

My tool has a front end as cold fusion and back end as oracle.My tool should be able to talk with SVN for the following purpose the user should be able to search,upload and download components from SVN from the local system which he is using through my tool is this kind of communication possible between coldfusion & SVN.If not is there anyother alternative available with cold fusion as my front end.

This topic has been closed for replies.

1 reply

Inspiring
June 17, 2010

Communicating with SVN in a meaningful way requires some WebDav HTTP extensions that CFHTTP doesn't support.  I'm not sure there's another approach to try here (but if you find one, please share, as I've been wanting to do this for a while).

You might want to vote for this:

http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=74045

--

Adam

June 17, 2010

I don't know how meaningful it should be, but you can communicate directly with SVN via command line client. In one of our projects we extract log entries from SVN to our database:

<cfset svnexe = "svn.exe">
<cfset svncommand="log file:///#url.repos# -r #url.rev# -v --xml">      
<cfexecute name="#svnexe#" arguments="#svncommand#" variable="result" timeout="30" />
<cfset resultXML = xmlparse(result)>

It should be possible to use checkout or export command, too. Checkout/export to a folder and then use e.g. cffile.