[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 ]



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: d
ata
​v​
iew.aadl
​,
 
​i​
nterface
​v​
iew.aadl
​,​
 
​d​
eployment
​v​
iew.aadl
​)​ 
If I execute 
​the script ​
​​
​​
build-script.sh
​, the example is built and compiled correctly.

But If the file d
eployment
​v​
iew.aadl
is opened with the tool taste-edit-deployment
-view
, and saved without performing changes in the deployment view, but the file 
d
eployment
​v​
iew.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
From this directory:
/home/assert/tool-src/testSuites/Regression_AADLv2/Demo_Distrib/binary.linux.pohic/GlueAndBuild
Press ENTER to retry...


The behavior is the same in all the examples that contents deployments with more than one node. when the tool 
taste-edit-deployment
​-view​ generates the file DeploymentView.aadl, the build does not works.

NOTE: It is observed that original deploymentview.aadl and the re-generated deploymentview.aadl are totally different
Original  
​​
deploymentview..aadl
​: ​
67799
​ bytes
Re-generated ​
deploymentview.aadl
​: 
5176
​ bytes.​

Best Regars,
Pedro.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/