jlabbe-processia / mxupdate

Automatically exported from code.google.com/p/mxupdate
1 stars 1 forks source link

Post-Update Script must be also defined within Source Code #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
E.g. if for a XML file which is created as  program in MX some properties must 
be defined than this is only possible via a separate MQL script.

Because the syntax itself depends on the language (XML, TCL, MQL), the line 
prefixes must be defined for each file suffix. e.g.:
In XML the same syntax than in JPOs is possible, because they can embedded in a 
comment:
<!--
################################################################################
# START NEEDED MQL UPDATE FOR THIS JPO PROGRAM                                 #
################################################################################

SOME TCL / MQL CODE

################################################################################
# END NEEDED MQL UPDATE FOR THIS JPO PROGRAM                                 #
################################################################################

-->

In TCL this is not possible because there no TCL start and end comment exists. 
Instead a line prefix '#' should be defined:
################################################################################
#
## START NEEDED MQL UPDATE FOR THIS JPO PROGRAM                                 
#
################################################################################
#
## comment
# SOME TCL / MQL CODE
#
################################################################################
#
## END NEEDED MQL UPDATE FOR THIS JPO PROGRAM                                 #
################################################################################
#
if a comment is wanted than two ## must be defined.

Original issue reported on code.google.com by tim.mox...@googlemail.com on 25 May 2009 at 10:19

GoogleCodeExporter commented 8 years ago
solved by r352, r353 and r354

For further information the new parameters are documented in the wiki.

Original comment by tim.mox...@googlemail.com on 25 May 2009 at 5:00

GoogleCodeExporter commented 8 years ago
new MxUpdate Update Deployment Tool version V0.4.0 released with r379

Original comment by tim.mox...@googlemail.com on 31 May 2009 at 9:52

GoogleCodeExporter commented 8 years ago

Original comment by tim.mox...@googlemail.com on 18 Jul 2009 at 6:50

GoogleCodeExporter commented 8 years ago

Original comment by tim.mox...@innobix.com on 7 Feb 2014 at 8:27

GoogleCodeExporter commented 8 years ago

Original comment by tim.mox...@innobix.com on 7 Feb 2014 at 8:28