多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# C.79 PropertyCopy Copies the value of a named property to another property. This is useful when you need to plug in the value of another property in order to get a property name and then want to get the value of that property name. Table C.108:聽Attributes NameTypeDescriptionDefaultRequired`property``String`The name of the property to set.n/aYes`override``Boolean`If the property is already set, should we change it's value.falseNo`from``String`The name of the property you wish to copy the value from.n/aYes`silent``Boolean`Do you want to suppress the error if the "from" property does not exist, and just not set the property "name".falseNo C.79.1 Example ``` <property name="org" value="MyOrg" /> <property name="org.MyOrg.DisplayName" value="My Organiziation" /> <propertycopy name="displayName" from="org.${org}.DisplayName" /> ``` Sets displayName to "My Organiziation".