[TYPO3-extbase-kickstarter] Lost modifications when resaving extension in roundtrip mode (0.9.0)
Christian Sonntag
christian.sonntag at fti.de
Thu May 12 09:06:58 CEST 2011
Hi.
After some manual modifications in the tca and fluid files
i have resaved my extension and the modifications are lost.
Have i a wrong overwrite settings configuration?
Ciao
Christian
#
# Extension Builder settings for extension {extension.extensionKey}
# generated <f:format.date>now</f:format.date>
#
# See http://www.yaml.org/spec/1.2/spec.html
#
---
########### Overwrite settings ###########
#
# These settings only apply, if the roundtrip feature of the extension builder
# is enabled in the extension manager
#
# Usage:
# nesting reflects the file structure
# a setting applies to a file or recursive to all files and subfolders
#
# merge:
# means for classes: All properties ,methods and method bodies
# of the existing class will be modified according to the new settings
# but not overwritten
#
# for locallang xml files: Existing keys and labels are always
# preserved (renaming in the GUI has only influence on the property and method names)
#
# for other files: You will find a Split token at the end of the file
# After this token you can write whatever you want and it will be appended
# everytime the code is generated
#
# keep:
# files are never overwritten
# These settings may break the functionality of the extension builder!
# Handle with care!
#
#
############ extension settings ##############
emConf:
dependencies: cms,extbase,fluid
overwriteSettings:
Classes:
Controller: merge
Domain:
Model: merge
Repository: merge
Configuration:
TCA: merge
Typoscript: keep
Resources:
Private:
Language:
locallang.xml: merge
Templates: merge
ext_icon.gif: keep
ext_localconf.php: merge
ext_tables.php: merge
ext_tables.sql: merge
## ext_autoload.php is only needed in special cases ##
createAutoloadRegistry: false
######### settings for classBuilder #############################
#
# here you may define default parent classes for your classes
# these settings only apply for new generated classes
# you may also just change the parent class in the generated class file.
# It will be kept on next code generation, if the overwrite settings
# are configured to merge it
#
# Experimental!!
#################################################################
classBuilder:
Controller:
parentClass: Tx_ExtensionBuilder_Scaffolding_AbstractScaffoldingController
Model:
AbstractEntity:
parentClass: Tx_Extbase_DomainObject_AbstractEntity
AbstractValueObject:
parentClass: Tx_Extbase_DomainObject_AbstractValueObject
Repository:
parentClass: Tx_Extbase_Persistence_Repository
More information about the TYPO3-project-extbase-kickstarter
mailing list