diff options
Diffstat (limited to 'DAnCE/bin/PythonDAnCE/generator/comp_inst.py')
-rwxr-xr-x | DAnCE/bin/PythonDAnCE/generator/comp_inst.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/DAnCE/bin/PythonDAnCE/generator/comp_inst.py b/DAnCE/bin/PythonDAnCE/generator/comp_inst.py deleted file mode 100755 index a235501d12e..00000000000 --- a/DAnCE/bin/PythonDAnCE/generator/comp_inst.py +++ /dev/null @@ -1,25 +0,0 @@ -from templet import stringfunction - -@stringfunction -def template (component_name, config_values, impl, node) : - """ - ${{ - if impl == "": - impl = component_name + "ComponentImplementation" - - if node == "": - node = "NodeOne" - - }} - - <instance xmi:id="${component_name}ComponentInstance"> - <name>${component_name}Component</name> - <node>${node}</node> - <!-- hostname --> - <source/> - <implementation xmi:idref="${impl}" /> - - ${config_values} - </instance> - - """ |