Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coldfusion Communication with SVN

New Here ,
Jun 16, 2010 Jun 16, 2010

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.

TOPICS
Advanced techniques
931
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 17, 2010 Jun 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 17, 2010 Jun 17, 2010
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources