Skip to content

Commit

Permalink
Merge pull request #399 from SAP/doc_migration
Browse files Browse the repository at this point in the history
update migration
  • Loading branch information
ShimiT committed May 26, 2019
2 parents f409358 + 7c8180f commit dff46c9
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions docs/docs/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ If you have previously used the [Multitarget Application Archive Builder](https:

<li> The Cloud MTA build Tool uses `GNU Make` technology for building an MTA project. Therefore, you should have `GNU Make` installed in your build environmnet.

For more information, see sections [GNU Make installation](makefile.md) and [commands for building a project](usage.md#how-to-build-an-mta-archive-from-the-project-sources).


</li>
For more information, see sections [`GNU Make` installation](makefile.md) and [commands for building a project](usage.md#how-to-build-an-mta-archive-from-the-project-sources).
&nbsp;

<li> Packaging of HTML5 modules in `deploy_mode=html5-repo`
You need to update your `mta.yaml` file to exclude `html5` modules from the resulting MTA archive. In order to do that, add the following to the `build-parameters` section for each module of this type:
Expand All @@ -20,20 +18,21 @@ You need to update your `mta.yaml` file to exclude `html5` modules from the resu
supported-platforms: []
```
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; For more information about the `supported-platforms` build parameter, see [Configuring and Packaging Modules According to Target Platforms](configuration.md#configuring-and-packaging-modules-according-to-target-platforms).

&nbsp;&nbsp;

<li> The following `build-parameters` are not supported by the Cloud MTA Build Tool: <ul><li>`npm-opts`<li>`grunt-opt`<li>`maven-opts`</ul>

If you need to change the default build behavior defined for the corresponding builder, see [configure `custom` builder](configuration.md#configuring-the-custom-builder). For a complete list of available builders and their default behaviors, see [Builders execution commands](https://github.com/SAP/cloud-mta-build-tool/blob/master/configs/builder_type_cfg.yaml).
&nbsp;

#### New features in the Cloud MTA Build Tool

* In addition to configuring the build behaviour in `mta.yaml`, you can configure build process of the specific module or the whole project in the `Makefile.mta` file, which you can generate the file using [`mbt init` command](usage.md#cloud-mta-build-tool-commands). The generated file contains the default configurations for buidling the MTA project according to our best practices.

&nbsp;&nbsp;
* If you want to run a builder process before running builders of the specific modules, define it using [global `before-all` build parameters](configuration.md#configuring-global-build).
&nbsp;
* You can define your own build commands as described here: [configuring `custom` builder](configuration.md#configuring-the-custom-builder).

&nbsp;

#### Features that are temporarily not available in the Cloud MTA Build Tool

Expand Down

0 comments on commit dff46c9

Please sign in to comment.