Virtual Device
This chapter describes the structure of a Virtual Device.
Structure
A Virtual Device is structured as follows:
|- virtualDevice
| |- installed-applications
| |- javaLibs
| |- MICROJVM
| |- main-application
| |- mocks
| |- options
| | |- target.properties
| |- resources
| |- S3
| |- scripts
| | |- init-vd
| | | |- vd-init.xml
| |- tools
| |- architecture.properties
| |- release.properties
| |- veePort.properties
| |- workbenchExtension*.jar
The Virtual Device contains the Simulation part files of the VEE Port used to build it:
the
javaLibs/
folder, that contains the Foundation Libraries which are common to MICROJVM and S3the
linker/
folder, that contains the Linker jar files. This folder is not embedded in the Virtual Device if an Architecture8.0.0
is usedthe
MICROJVM/
folder, that contains the VEE Port’s files required to build a Feature file (.fo
)the
mocks/
folder, that contains the Jar files of the mocks for Foundation Librariesthe
resources/
folder, that contains the OS specific librariesthe
S3/
folder, that contains the Simulator, HIL and Foundation Libraries specific to the Simulatorthe
scripts/
folder, that contains launch and initialization scriptsthe
tools/
folderthe
workbenchExtension*.jar
files
The following elements are also embedded in the Virtual Device:
a Kernel Application, whose WPK file is extracted in the
main-application
folder of the Virtual Devicethe WPK files of pre-installed Applications that are extracted in their own folder, in the
installed-applications/
folder that is empty by default
Note
Applications can only be pre-installed in a Multi-Sandbox Virtual Device.
In case of a Mono-Sandbox Virtual Device, the installed-applications/
folder is always empty.
the
options/target.properties
, that contains the properties of the VEE Port used to build the Virtual Devicethe
scripts/init-vd/vd-init.xml
script, that allows to enable or not the Virtual Device. If the Virtual Device is not enabled, the Application main class specified by the user is launched on the VEE Port
You can refer to the Build a Virtual Device page to know how to build a Virtual Device.