We are using cfexecute to run an ant script (the build file uses
ant4cf, if that matters) via a batch file.  If the build succeeds, we
get all of the output returned (BUILD FILE SUCCESSFUL).  However, if
the build fails, we don't get "BUILD FILE FAILED" followed by the
failure reason.  I've verified that if we run the batch file directly
(not using ColdFusion), the output does show up.

Is there something we need to do to get the failure output to return?
We'd like to store the failure reason when our builds run.

Here's our batch file code:

@ECHO OFF
REM Create environment variables

SET JAVA_HOME = C:\Program Files\Java\jdk1.6.0_16
SET ANT_HOME = C:\apache-ant-1.7.1

REM Run build.xml

C:\apache-ant-1.7.1\bin\ant -buildfile
d:\web_roots\ant4cf\builds\build.xml -quiet
@ECHO ON


Scott
-- 
-----------------------------------------
Scott Brady
http://www.scottbrady.net/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327497
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to