r13651 - in ArchGenXML/trunk: . src/archgenxml src/archgenxml/templates/profiles

"Vincent Fretin" <[email protected]> Thu, 26 May 2011 09:34:16 +0000
Newsgroups gmane.comp.web.zope.plone.archetypes.cvs
Message-ID <[email protected]>
Author: vincentfretin
Date: Thu May 26 09:34:15 2011
New Revision: 13651

Modified:
   ArchGenXML/trunk/CHANGES.txt
   ArchGenXML/trunk/src/archgenxml/ArchetypesGenerator.py
   ArchGenXML/trunk/src/archgenxml/templates/profiles/type.xml
Log:
Add a protected FOOT section in type.xml.

Modified: ArchGenXML/trunk/CHANGES.txt
==============================================================================
--- ArchGenXML/trunk/CHANGES.txt	(original)
+++ ArchGenXML/trunk/CHANGES.txt	Thu May 26 09:34:15 2011
@@ -4,6 +4,9 @@
 2.7 (unreleased)
 ----------------
 
+- Add a protected FOOT section in type.xml.
+  [vincentfretin]
+
 - Add vocabulary_factory tagged value.
   [thomasdesvenain]
 

Modified: ArchGenXML/trunk/src/archgenxml/ArchetypesGenerator.py
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/ArchetypesGenerator.py	(original)
+++ ArchGenXML/trunk/src/archgenxml/ArchetypesGenerator.py	Thu May 26 09:34:15 2011
@@ -3381,6 +3381,7 @@
             filename = '%s.xml' % typedef['name']
             handleSectionedFile(['profiles', 'type.xml'],
                                 os.path.join(typesdir, filename),
+                                sectionnames=['FOOT'],
                                 templateparams={'ctype': typedef,
                                                 'target_version': self.getOption('plone_target_version',
                                                                                   package, 3.0)})

Modified: ArchGenXML/trunk/src/archgenxml/templates/profiles/type.xml
==============================================================================
--- ArchGenXML/trunk/src/archgenxml/templates/profiles/type.xml	(original)
+++ ArchGenXML/trunk/src/archgenxml/templates/profiles/type.xml	Thu May 26 09:34:15 2011
@@ -48,4 +48,6 @@
 </dtml-in>
  </action>
 </dtml-in>
+<!-- ##code-section FOOT -->
+<!-- ##/code-section FOOT -->
 </object>

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1