[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[dsdp-tml-dev] BUG 221733 / persistency
|
Hi guys,
I was assigned to work on bug 221733
(https://bugs.eclipse.org/bugs/show_bug.cgi?id=221733).
Follows an example of the XML format that I propose to be used in
device/instances data persistency.
I would be stored in the workspace root, so the data would be available per
workspace. The file will be called tml_devices.xml .
This example contains the minimal set of device and instance properties.
Additional ones would go under <properties> elements.
As you can see there are <device> and <instance> entries. The data contained
in a given <device> would be part of all <instance> with matching
<device_id>.
Please, comment the text below and/or the text above.
Regards,
Otávio
<?xml version="1.0" encoding="UTF-8"?>
<tml>
<devices>
<device id="qemuarmDevice00">
<plugin>org.eclipse.tml.device.qemuarm.qemuarmDevice</plugin>
<other_properties></other_properties>
</device>
<device id="qemureactDevice00">
<plugin>org.eclipse.tml.device.qemureact.qemureactDevice</plugin>
<other_properties></other_properties>
</device>
</devices>
<instances>
<instance name="Emulator1" device_id="qemuarmDevice00">
<host>127.0.0.1</host>
<display>0.0</display>
<port>5900</port>
<properties></properties>
</instance>
<instance name="Emulator2" device_id="qemureactDevice00">
<host>127.0.0.2</host>
<display>0.0</display>
<port>5900</port>
<properties></properties>
</instance>
<instance name="Emulator3" device_id="qemuarmDevice00">
<host>127.0.0.3</host>
<display>1.0</display>
<port>5901</port>
<properties></properties>
</instance>
<instance name="Emulator4" device_id="qemuarmDevice00">
<host>127.0.0.4</host>
<display>1.0</display>
<port>5901</port>
<properties></properties>
</instance>
<instance name="Emulator5" device_id="qemureactDevice00">
<host>127.0.0.5</host>
<display>2.0</display>
<port>5902</port>
<properties></properties>
</instance>
<instance name="Emulator6" device_id="qemureactDevice00">
<host>127.0.0.6</host>
<display>2.0</display>
<port>5902</port>
<properties></properties>
</instance>
</instances>
</tml>