The Build Automator Forums
September 06, 2010, 03:48:56 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: SMF - Just Installed!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How i can stop the build when there is an error ?  (Read 1151 times)
jobou
Newbie
*
Posts: 14


View Profile
« on: August 08, 2008, 09:08:38 am »

I don't have the last release rigth now.

If there is an compilation error for one app, i don't want to continue and compile all the other apps in the project. It must stop and show the log file.

I have try the option "stop with message on fatal error" but it doesn't work how I thought.

I want to stop the build in the following case : app not found, path not valid, clarion syntax error, clarion compilation error, and probably other cases not seen now.

Time         Status      Information
--------------------------------------------------------------------------------
09:59:56.000 Debug       E_Compile_Multiple_Clarion_Applications Starts
09:59:58.766 INFO        Compiling 25 Clarion apps.
10:00:00.922 INFO        Compile Started:  C:\ATMS-Projects\trunk\ChronoSteril.Clarion\glochro.app
10:01:08.795 INFO        Compile Finished: C:\ATMS-Projects\trunk\ChronoSteril.Clarion\glochro.app
10:01:09.279 INFO        Compile Started:  C:\ATMS-Projects\trunk\ChronoSteril.Clarion\menuchro.app
10:01:14.795 INFO        Compile Finished: C:\ATMS-Projects\trunk\ChronoSteril.Clarion\menuchro.app
10:01:15.060 INFO        Compile Started: \ATMS-Projects\trunk\ChronoSteril.Clarion\atmsErrorManager.app
10:01:15.795 ERROR       Compile failed: MS-Projects\trunk\ChronoSteril.Clarion\atmsErrorManager.app
10:01:16.013 INFO        Compile Started:  C:\ATMS-Projects\trunk\ChronoSteril.Clarion\chacces.app
10:01:16.795 ERROR       Compile failed: C:\ATMS-Projects\trunk\ChronoSteril.Clarion\chacces.app
10:01:17.295 INFO        Compile Started:  C:\ATMS-Projects\trunk\ChronoSteril.Clarion\chrono.app
Logged
Arnor Baldvinsson
Administrator
Jr. Member
*****
Posts: 64


View Profile Email
« Reply #1 on: August 08, 2008, 09:15:42 am »

Hi,

If there is an compilation error for one app, i don't want to continue and compile all the other apps in the project. It must stop and show the log file.

I have try the option "stop with message on fatal error" but it doesn't work how I thought.

Hmm...  I think there may be  a bug in the "Stop with ..." option. 

Right now the execution process runs in a pretty tight loop so it's not so easy to break into it.  I will be changing this, probably for next release (September) so that clicking on the "Cancel" button on the execution progress window will terminate the execution immediately (or as immediately as it can be since it may still be waiting for another process to finish). 

Best regards,
Logged

Arnor Baldvinsson - Icetips Alta LLC
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!