Checking return code to determine if "studio-tools.exe -op generateDTClass ..." has created a class file sucessfully.

Checking return code to determine if "studio-tools.exe -op generateDTClass ..." has created a class file sucessfully.

book

Article ID: KB0086508

calendar_today

Updated On:

Products Versions
TIBCO BusinessEvents Enterprise Edition -
Not Applicable -

Description

Resolution:
Description:
===========
How to check if "studio-tools.exe -op generateDTClass ..." has created the class file sucessfully.

Environment:
===========
TIBCO BusinessEvents 4.x/5.x
All Operating Systems

Symptoms:
=========
The utility studio-tools just exits after creating a class file successfully. If there are any errors, users will see those on screen. This is the expected behaviour.

Resolution:
========
The utility returns 0 for success so you are able to check the return code which is greater than 0 for failure (on Windows "%ERRORLEVEL%", on Unix "$?").

Issue/Introduction

Checking return code to determine if "studio-tools.exe -op generateDTClass ..." has created a class file sucessfully.