Select a VEE Port
Note
This page is releated to the version 5 and lower of the SDK. If you use the SDK 6, please refer to the page Select a VEE Port.
Building or running an Application or a Test Suite with MMM requires a VEE Port.
There are 4 different ways to provide a VEE Port for a module project:
Set the build option
platform-loader.target.platform.file
to the path of a VEE Port file (.zip
,.jpf
or.vde
).Set the build option
platform-loader.target.platform.dir
to the path of thesource
folder of an already imported Source VEE Port.Declare a module dependency with the conf
platform
:<dependency org="myorg" name="myname" rev="1.0.0" conf="platform->default" transitive="false"/>
Copy a VEE Port file to the dropins folder. The default dropins folder location is
[module_project_dir]/dropins
. It can be changed using the build optionplatform-loader.target.platform.dropins
.
Note
Using a VEE Port in the .zip
format requires at least the version 5.4.0
of the SDK.
At least 1 of these 4 ways is required to build an Application with a VEE Port. If several ways are used, the following rules are applied:
If
platform-loader.target.platform.file
orplatform-loader.target.platform.dir
is set, the other options are ignored.If the the module project defined several VEE Ports, the build fails. For example the following cases are not allowed:
Setting a VEE Port with the option
platform-loader.target.platform.file
and another one with the optionplatform-loader.target.platform.dir
Declaring a VEE Port as a dependency and adding a platform in the
dropins
folderDeclaring 2 VEE Ports as Dependencies
Adding 2 VEE Ports in the
dropins
folder
Refer to the Platform Loader section for a complete list of options.