summaryrefslogtreecommitdiff
path: root/modules/CIAO/DAnCE/bin/PythonDAnCE/generator/header.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/DAnCE/bin/PythonDAnCE/generator/header.py')
-rwxr-xr-xmodules/CIAO/DAnCE/bin/PythonDAnCE/generator/header.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/CIAO/DAnCE/bin/PythonDAnCE/generator/header.py b/modules/CIAO/DAnCE/bin/PythonDAnCE/generator/header.py
new file mode 100755
index 00000000000..c16146ae028
--- /dev/null
+++ b/modules/CIAO/DAnCE/bin/PythonDAnCE/generator/header.py
@@ -0,0 +1,14 @@
+from templet import stringfunction
+
+@stringfunction
+def template (uuid):
+ """
+<Deployment:DeploymentPlan
+ xmlns:Deployment="http://www.omg.org/Deployment"
+ xmlns:xmi="http://www.omg.org/XMI"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.omg.org/Deployment Deployment.xsd">
+ <label>${uuid}</label>
+ <UUID>${uuid}</UUID>
+
+"""