Skip to main content
Inspiring
May 10, 2006
Answered

cfexecute / ant script not returning results in CF

I've got a batch script that runs an ant script that executes "cvs log -h application.cfm" on the cvs server.

When I execute the batch script manually on the command line, everything works fine.

When I execute the batch script via CFEXECUTE, the batch works fine, the ant script works fine, but the cvs command doesn't appear to do anything. The results from the tag are:
[echo] before
[echo] after

As you'll see from the attached ant script (unchanged except for the cvsroot attribute), those echos are either side of the cvs command.
When running via the command line, I get the results from the cvs log command in between those lines, but with CF I get nothing.

Any ideas at all on how to get this working will be greatly appreciated.


This topic is closed to new replies. Start a new post to keep the conversation going.
boughtonpCorrect answer
Inspiring
May 11, 2006
I'm using 7.01, but I fixed the CFEXECUTE tag by restarting the CF service twice.

I've also managed to finally get the CVS bit to work - by changing :ext: to :ssh: - which I'm sure I tried before and it wouldn't work, but it's working now so I'm delighted.

4 replies

Known Participant
May 10, 2006
what version of CF are you on? Think I remember there being a bug in 6 or 6.1 where cfexecute was all messed up and wouldn't return anything and the timeout didn't work...
Translate
boughtonpAuthorCorrect answer
Inspiring
May 11, 2006
I'm using 7.01, but I fixed the CFEXECUTE tag by restarting the CF service twice.

I've also managed to finally get the CVS bit to work - by changing :ext: to :ssh: - which I'm sure I tried before and it wouldn't work, but it's working now so I'm delighted.
Translate
boughtonpAuthor
Inspiring
May 10, 2006
Argh! Now CFEXECUTE isn't returning /anything/ regardless of what I'm trying to execute. :'(
Translate
boughtonpAuthor
Inspiring
May 10, 2006
Oh and if anyone has any other ways to solve the problem (getting a list of CVS tags/branches using ColdFusion), I'm open to suggestions.
Translate