From: caremoli Date: Fri, 28 Jan 2011 12:48:29 +0000 (+0000) Subject: CCAR: fix resources directory name in SalomeApp.xml file (always lower case) X-Git-Tag: V6_3_0a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=86b713edd35b159a5e72a30b938be1338b87eaaa;p=tools%2Fyacsgen.git CCAR: fix resources directory name in SalomeApp.xml file (always lower case) --- diff --git a/module_generator/gener.py b/module_generator/gener.py index 4fc94e5..6a85bd7 100644 --- a/module_generator/gener.py +++ b/module_generator/gener.py @@ -601,7 +601,7 @@ echo " Qt ..................... : $qt_ok" if not os.path.exists(os.path.join(namedir, "src", self.module.name+"GUI", "SalomeApp.xml")): #create a minimal SalomeApp.xml - salomeapp=pysalomeapp.substitute(module=self.module.name) + salomeapp=pysalomeapp.substitute(module=self.module.name,lmodule=self.module.name.lower()) d["SalomeApp.xml"]=salomeapp return d @@ -630,7 +630,7 @@ echo " Qt ..................... : $qt_ok" if not os.path.exists(os.path.join(namedir, "src", self.module.name+"GUI", "SalomeApp.xml")): #create a minimal SalomeApp.xml - salomeapp=cppsalomeapp.substitute(module=self.module.name) + salomeapp=cppsalomeapp.substitute(module=self.module.name,lmodule=self.module.name.lower()) d["SalomeApp.xml"]=salomeapp return d diff --git a/module_generator/gui_tmpl.py b/module_generator/gui_tmpl.py index 2cc897b..4f2b7a4 100644 --- a/module_generator/gui_tmpl.py +++ b/module_generator/gui_tmpl.py @@ -22,7 +22,7 @@ pysalomeapp="""
- +
""" @@ -58,7 +58,7 @@ cppsalomeapp="""
- +
"""