Re: [taste-users] Deployment views with more than one node does not work using "taste-edit-deployment-view" |
[ Thread Index | Date Index | More lists.tuxfamily.org/taste-users Archives ]
Dear Pedro,
This problem arises because the testsuite projects you have opened were created with an old version of the graphical editors and were kept as is to verify non-regression.
They build properly if you don't change anything because the toolchain is backward compatible, but if you open with the new GUI there is a slight update to apply.
In the Test suite there is a couple of distributed systems which were done with the new version and that work and can be edited (check for example Demo_Sockets_SDL_GUI).
The new versions allow (impose, in fact) to explicitly bind messages that are exchanged in a distributed system on a bus. In the previous versions, this was done automatically, but it was therefore lacking flexibility: if you put two busses between two nodes, you could not decide which message would go on which bus. Now you can.
The old versions also had naming issues, it was not retrieving the proper names from the interface view, and all messages were named "objXXX".
If you open an old system with the new GUI and save it back without adding the missing binding, then the build will fail, this is what you saw when you tried to save Demo_Distrib.
To fix it on an existing system that was developed with the old tools: example Demo_Distrib, open the deployment view and add the bindings of the two messages on the bus. Then save and build.
Sorry for the inconvenience. We should update all the demo projects to avoid this kind of issues.
Kind regards,
Maxime
ESA - European Space Agency
Maxime Perrotin
Proba 3 & Cheops Software Engineer
System, Software and Technology Department
ESTEC
Keplerlaan 1, PO Box 299
NL-2200 AG Noordwijk, The Netherlands
maxime.perrotin@xxxxxxx | www.esa.int
T +31 71 565 4923 | F +31 71 565 5420
From: "pedro.palomo" <pedro.palomo@xxxxxxxxxxxxxxxx>
To: taste-users@xxxxxxxxxxxxxxxxxxx
Date: 06/03/2015 09:19
Subject: [taste-users] Deployment views with more than one node does not work using "taste-edit-deployment-view"
Hello, I have problems compiling some of the examples distributed with the Virtual Machine, specifically the examples which contains more than one node (e.g: ~/tool-src/testSuites/Regression_AADLv2/Demo_Distrib). In the next bullets I am going to summarize the steps I have followed.
1. I have downloaded and installed the http://download.tuxfamily.org/taste/taste-vm.tar.gz. After that I have updated tool to the latest version, running Update-TASTE.sh
2. I go to one of the examples with more than one node: e.g: ~/tool-src/testSuites/Regression_AADLv2/Demo_Distrib .. (the problems are the same in Demo_Sockets_x86 and Demo_Sockets). Without editing no one of the files (i.e: dataview.aadl, interfaceview.aadl, deploymentview.aadl) If I execute the script build-script.sh, the example is built and compiled correctly.
But If the file deploymentview.aadl is opened with the tool taste-edit-deployment-view, and saved without performing changes in the deployment view, but the file deploymentview.aadl is re-generated. When the script build-script.sh is executed the following errors are dump:
[INFO] Invoking Ocarina
Rebuilding because of /home/assert/tool-src/testSuites/Regression_AADLv2/Demo_Distrib/deploymentview.aadl
interfaceview.aadl:53:07: Warning: Source_Language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list.
interfaceview.aadl:53:07: Warning: The value of Source_Language has been converted into a list.
interfaceview.aadl:84:07: Warning: Source_Language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list.
interfaceview.aadl:84:07: Warning: The value of Source_Language has been converted into a list.
D_view.aadl:51:05: Warning: Source_Language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list.
D_view.aadl:51:05: Warning: The value of Source_Language has been converted into a list.
D_view.aadl:87:05: Warning: Source_Language is not a list while the corresponding property name at programming_properties.aadl:61:02 is a list.
D_view.aadl:87:05: Warning: The value of Source_Language has been converted into a list.
D_view.aadl:79:05: warning: Length references a component type
ocarina: Total: 0 error and 1 warning
vt_a_ping_CV_Thread.aadl:18:02 Backends: fatal error : This OUT port is not connected to any destination
Failed while executing:
ocarina -x main.aadl
- References:
- Messages sorted by: [ date | thread ]
- Prev by Date: [no subject]
- Next by Date: [no subject]
- Previous by thread: Re: [taste-users] Deployment views with more than one node does not work using "taste-edit-deployment-view"
- Next by thread: [no subject]
Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/