Presto Administration : Presto Server Administration : Upgrade to New Versions of Presto and Migrate Artifacts : Migrating Extensions to Presto : Migrating Macro Libraries and Custom Macros for Mashups
Migrating Macro Libraries and Custom Macros for Mashups
Macros are user-defined statements that you can use in mashups. Macros can be shared, and thus accessible to many mashups, in macro libraries or in the built-in global macro library for the Presto Server. In version 2.7.0 and earlier, these macro libraries were either:
**.emml-macros files deployed in existing-web-apps-home/presto/WEB-INF/classes
*JAR files deployed in existing-web-apps-home/presto/WEB-INF/lib
With version 3.0, macros are registered in the Presto Repository. You can also register your custom macros in domains to keep macros organized. This is very useful for macros used as custom action blocks in Wires as each macro domain appears as a separate category of action blocks.
To migrate macros to the target
1. If you want to use macro domains to organize your existing macros:
a. Move any custom macros from global.emml-macros into separate macro library files for each domain you want to create.
b. Update the namespace of your custom macro libraries to the EMML namespace for this release.
c. Add domain names to your custom macro libraries.
d. Save your changes.
2. Register your custom macros using the mashup command utilities.
Copyright © 2013-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback