Overview
Comment:Corrected error handling.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 23a7b088270b305f67b045643eba8e9ec2b5cf1a0c8bccc91fe9fc68f8ab873d
User & Date: gawthrop@users.sourceforge.net on 1996-08-26 13:25:07
Other Links: branch diff | manifest | tags
Context
1996-08-27
08:04:52
Handles complex components and repetative components. check-in: a42aee795c user: gawthrop@users.sourceforge.net tags: origin/master, trunk
1996-08-26
13:25:07
Corrected error handling. check-in: 23a7b08827 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
13:04:43
Changed $() to ``. check-in: ed61e72feb user: gawthrop@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/bin/trans/cbg2ese_m2r from [b03ad55bb6] to [d53b30499c].

12
13
14
15
16
17
18



19
20
21
22
23
24
25
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28







+
+
+








###############################################################
## Version control history
###############################################################
## $Id$
##
## $Log$
# Revision 1.5  1996/08/24  14:38:11  peter
# Error handling included.
#
## Revision 1.4  1996/08/19 09:02:12  peter
## Errors go to user - not log.
##
## Revision 1.3  1996/08/18 20:05:55  peter
## Included zero outputs.
##
## Revision 1.2  1996/08/08 18:08:37  peter
56
57
58
59
60
61
62
63
64
65
66

67
68

69
70
71
72
73
74
75
59
60
61
62
63
64
65




66


67




68
69
70







-
-
-
-
+
-
-
+
-
-
-
-



structure = cbg2ese(system_name,'','',infofile)
makedef(structure,deffile);
  
EOF

cat $infofile

# Test for errors and print if any
err_length=$(wc -c <mtt_error)
if [ $err_length != "0" ]
then
# Now invoke the standard error handling.
  echo MTT has failed with the following errors '...'
  cat mtt_error
mtt_error_r cbg2ese_m2r.log
  exit 1
else
  exit 0
fi




MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]