House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home / Groups / ColdFusion Talk (CF-Talk)

Java to ColdFusion translation

Author:
Duncan
03/09/2007 12:24 AM

I am working on a small page for our intranet, printing out a complete history of a repository history. I have been taking some leaves out of CFDIFF (Thanks to Rick Osborne for doing lots of the hard yards!) and rolling my own bits. I have had some reasonable success with SVNKit, but this bit has me stumped - I think its just my understanding of the docs and lack of ability to translate it to CF code, so I hope someone can help! I have the list of all logEntries, but I now need the files for each revision. The problem is this line: SVNLogEntry logEntry = ( SVNLogEntry ) entries.next( ); From  https://wiki.svnkit.com/Printing_Out_Repository_History I have <cfset i=ent.iterator()> <cfloop condition="i.hasNext()"> <cfset f=i.next()> <cfset fileentries = createObject("java","org.tmatesoft.svn.core.SVNLogEntry").init()> ... </cfloop> but I cant work out how to pass f into the init for SVNLogEntry which looks to be the equivalent of what they do in the Java example Here is the complete Java tutorial for this http://svnkit.com/kb/javadoc/org/tmatesoft/svn/core/SVNLogEntry.html And thanks to Rick Osborne for publishing cfdiff that has helped me get this far! Can anyone help? -- Duncan I Loxton duncan.loxton@gmail.com


Search cf-talk

March 19, 2010

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
   1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31