The Build Automator Forums
August 01, 2010, 02:22:47 am *
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: /NL -> Return an errorcode instead of a message?  (Read 1967 times)
pboivin
Newbie
*
Posts: 2


View Profile
« on: May 14, 2009, 09:36:23 am »

Hi

Is it possible to change the /E /NL command line option (/NL do not display the error log after batch processing) to not display an error message?  I have done a Clarion app that dynamically generate a BA Project, copy the appropriate LIBSRC and TEMPLATE for the selected software, then launch BA to do everything I want.  BUT if there is an error, BA stop with a message saying it will stop.  If it could just return an error code (Clarion HALT(1)) it would be perfect.

BTW: I'm using V1.6 Beta 3

Thanks
Logged
Arnor Baldvinsson
Administrator
Jr. Member
*****
Posts: 64


View Profile Email
« Reply #1 on: May 14, 2009, 11:37:42 am »

Hi Pascal,

Is it possible to change the /E /NL command line option (/NL do not display the error log after batch processing) to not display an error message?  I have done a Clarion app that dynamically generate a BA Project, copy the appropriate LIBSRC and TEMPLATE for the selected software, then launch BA to do everything I want.  BUT if there is an error, BA stop with a message saying it will stop.  If it could just return an error code (Clarion HALT(1)) it would be perfect.

You should only get an error message if you have the "Stop on error" checked.  Have you tested this with 1.6 Beta 3 or later?  I made some changes to how this works in Beta 3. 

Best regards,
Logged

Arnor Baldvinsson - Icetips Alta LLC
pboivin
Newbie
*
Posts: 2


View Profile
« Reply #2 on: May 14, 2009, 03:05:36 pm »

Ah, you got it!

<messageonerror>0</messageonerror>

Thanks
Logged
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!