Commit 1b3436b7 authored by Maxime Perrotin's avatar Maxime Perrotin

Don't call taste-update-daview each time

Instead, check if an ASN.1 file cannot be found.
Otherwise if there are more than one ASN.1 files in the project they
would be lost.
parent 3ae8c88f
......@@ -127,7 +127,7 @@ void Create_script()
fprintf (script, "if [ -z \"$DEPLOYMENTVIEW\" ]\n"
"then\n"
" DEPLOYMENTVIEW=DeploymentView.aadl\n"
"fi\n\n"
"fi\n\n"
"# Detect models from Ellidiss tools v2, and convert them to 1.3\n"
"grep \"version => \\\"2\" \"$DEPLOYMENTVIEW\" >/dev/null && {\n"
" echo -e \"${INFO} Converting deployment view from V2 to V1.3\"\n"
......@@ -138,8 +138,9 @@ void Create_script()
fprintf (script, "SKELS=\"%s\"\n\n", OUTPUT_PATH);
fprintf (script, "# Update the data view with local paths\n"
"taste-update-data-view\n\n");
fprintf (script, "# Check if Dataview references existing files \n"
"taste-extract-asn-from-design.exe -i \"$INTERFACEVIEW\" -j /tmp/dv.asn\n\n");
//"taste-update-data-view\n\n");
/* OpenGEODE-specific: call code generator on the fly */
FOREACH (fv, FV, get_system_ast()->functions, {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment