Commit 0dd65363 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

First step of moving back to relative paths (avoiding taste-update-data-view)

parent de836303
......@@ -21,9 +21,6 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
# Generate code for OpenGEODE function orchestrator
cd "$SKELS"/orchestrator || exit 1
opengeode --toAda orchestrator.pr system_structure.pr || exit 1
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f lift_model.zip
zip lift_model lift_model/*
[ ! -z "$CLEANUP" ] && rm -rf binary
......
......@@ -27,7 +27,6 @@ zip a a/*
rm -f b.zip
zip b b/*
cd "$OLDPWD"
taste-update-data-view
[ ! -z "$CLEANUP" ] && rm -rf binary
if [ -f ConcurrencyView.pro ]
......
......@@ -21,9 +21,6 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
cd "$SKELS" && rm -f router.zip && zip router router/* && cd $OLDPWD
cd "$SKELS" && rm -f displayer.zip && zip displayer displayer/* && cd $OLDPWD
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -4,7 +4,6 @@ rm -f simple_c_function.zip
zip simple_c_function simple_c_function/*
[ ! -z "$CLEANUP" ] && rm -rf binary.*
taste-update-data-view || exit 1
# Ada runtime
assert-builder-ocarina.py \
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -42,9 +42,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
cd "$SKELS" && rm -f simple_c_function.zip && zip simple_c_function simple_c_function/* && cd $OLDPWD
[ ! -z "$CLEANUP" ] && rm -rf binary
......
......@@ -42,9 +42,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
cd "$SKELS" && rm -f simple_c_function.zip && zip simple_c_function simple_c_function/* && cd $OLDPWD
[ ! -z "$CLEANUP" ] && rm -rf binary
......
--------------------------------------------------------
--! File generated by asn2aadl v2.1.10: DO NOT EDIT !
--------------------------------------------------------
--! InputASN1FileChecksum:c4cca3f50df525b08cac54f4b04c5297:/home/taste/tool-src/testSuites/Demo_ContextParams/DataView.asn:
--! InputASN1FileChecksum:ee8a7e01f29874c0d50f437d5abb9599:/home/taste/tool-inst/share/taste-types/taste-types.asn:
--! InputASN1FileChecksum:c4cca3f50df525b08cac54f4b04c5297:DataView.asn:
--! InputASN1FileChecksum:ee8a7e01f29874c0d50f437d5abb9599: ../misc/taste-common-types/taste-types.asn:
--------------------------------------------------------
package DataView
......@@ -46,7 +46,7 @@ end Stream_Element_Buffer;
DATA T_SEQUENCE
PROPERTIES
-- name of the ASN.1 source file:
Source_Text => ("/home/taste/tool-src/testSuites/Demo_ContextParams/DataView.asn");
Source_Text => ("DataView.asn");
TASTE::Ada_Package_Name => "DataView";
Deployment::ASN1_Module_Name => "DataView";
Source_Language => ASN1;
......
......@@ -53,9 +53,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view
# Generate code for OpenGEODE function function1
cd "$SKELS"/function1 && opengeode --toAda function1.pr system_structure.pr && cd $OLDPWD
......
......@@ -54,9 +54,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view
cd "$SKELS" && rm -f copter_imu.zip && zip copter_imu copter_imu/* && cd $OLDPWD
cd "$SKELS" && rm -f control_laws.zip && zip control_laws control_laws/* && cd $OLDPWD
......
......@@ -9,8 +9,6 @@ cd ..
[ ! -z "$CLEANUP" ] && rm -rf binary.linux.pohic/
taste-update-data-view || exit 1
assert-builder-ocarina.py \
-f \
-p \
......
......@@ -21,9 +21,6 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
# Generate code for OpenGEODE function flight
cd "$SKELS"/flight && opengeode --toAda flight.pr system_structure.pr && cd $OLDPWD
......
......@@ -24,9 +24,6 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
cd "$SKELS" && rm -f function1.zip && zip function1 function1/* && cd $OLDPWD
[ ! -z "$CLEANUP" ] && rm -rf binary
......
#!/bin/bash
taste-update-data-view || exit 1
rm -f a.zip
zip a a/*
rm -f b.zip
......
#!/bin/bash
taste-update-data-view || exit 1
rm -f hello.zip
zip hello hello/*
rm -f world.zip
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f f1.zip
zip f1 f1/*
rm -f f2.zip
......
......@@ -21,9 +21,6 @@ fi
SKELS="Inputs/code/"
# Update the data view with local paths
taste-update-data-view || exit 1
cd "$SKELS" && rm -f a.zip && zip a a/* && cd $OLDPWD
cd "$SKELS" && rm -f b.zip && zip b b/* && cd $OLDPWD
......
#!/bin/bash
taste-update-data-view dataview.asn || exit 1
cd skels
rm -f pinger.zip
zip pinger pinger/*
......
......@@ -45,7 +45,6 @@ then
else
OUTPUTDIR=binary
fi
taste-update-data-view || exit 1
assert-builder-ocarina.py \
--fast \
-p \
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f function0.zip
zip function0 function0/*
rm -f function1.zip
......
#!/bin/bash
taste-update-data-view TPOS_Dataview.asn || exit 0
rm -f a.zip
zip a a/*
rm -f b.zip
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view TPOS_Dataview.asn || exit 1
rm -f mysyncfunction.zip
zip mysyncfunction mysyncfunction/*
[ ! -z "$CLEANUP" ] && rm -rf binary
......
......@@ -11,8 +11,6 @@
# C_INCLUDE_PATH=/usr/include/xenomai/analogy/:$C_INCLUDE_PATH
# unset USE_POHIC
taste-update-data-view || exit 1
if [ -f user_init_pre.sh ]
then
echo [INFO] Executing user-defined init script
......@@ -44,12 +42,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
if [ "$(hostname)" != "taste-build" ] ; then
# There is no X server in CI
taste-update-data-view || exit 1
fi
cd "$SKELS" && rm -f myadablock.zip && zip myadablock myadablock/* && cd $OLDPWD
[ ! -z "$CLEANUP" ] && rm -rf binary
......
......@@ -19,8 +19,6 @@ then
DEPLOYMENTVIEW=DeploymentView.aadl
fi
taste-update-data-view || exit 1
SKELS="./"
cd "$SKELS"
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f my_c_function.zip
zip my_c_function my_c_function/*
rm -f my_simulink_function.zip
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f my_c_function.zip
zip my_c_function my_c_function/*
rm -f my_simulink_function.zip
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f function0.zip
zip function0 function0/*
rm -f function1.zip
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created file.
taste-update-data-view || exit 1
if [ -z "$DEPLOYMENTVIEW" ]
then
DEPLOYMENTVIEW=DeploymentView.aadl
......
......@@ -14,8 +14,6 @@
# Note: TASTE will not overwrite your changes - if you need to update some parts
# you will have to merge the changes with the newly-created "build-script.new.sh" file.
taste-update-data-view || exit 1
rm -f a.zip
zip a a/*
rm -f b.zip
......
......@@ -53,9 +53,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view
cd "$SKELS" && rm -f pingee1.zip && zip pingee1 pingee1/* && cd $OLDPWD
cd "$SKELS" && rm -f pingee2.zip && zip pingee2 pingee2/* && cd $OLDPWD
......
......@@ -44,9 +44,6 @@ grep "version => \"2" "$DEPLOYMENTVIEW" >/dev/null && {
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
# Generate code for OpenGEODE function sdl_fct
cd "$SKELS"/sdl_fct && opengeode --toAda sdl_fct.pr system_structure.pr && cd $OLDPWD
......
......@@ -21,9 +21,6 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
# Generate code for OpenGEODE function function1
cd "$SKELS"/function1 && opengeode --toAda function1.pr system_structure.pr && cd $OLDPWD
......
......@@ -21,9 +21,6 @@ fi
SKELS="./"
# Update the data view with local paths
taste-update-data-view || exit 1
# Generate code for OpenGEODE function producer1
cd "$SKELS"/producer1 && opengeode --toAda producer1.pr system_structure.pr && cd $OLDPWD
......
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