NIUCLOUD是一款SaaS管理后台框架多应用插件+云编译。上千名开发者、服务商正在积极拥抱开发者生态。欢迎开发者们免费入驻。一起助力发展! 广告
# B.26 LoadFileTask The `LoadFileTask` loads the contents of a (text) file into a single property. Table B.26:聽Attributes NameTypeDescriptionDefaultRequired`property``String`The name of the property to set.n/aYesfile (or `srcFile`)`String`The file to load.n/aYes`failonerror``Boolean`Whether to halt the build on failure.trueNo`quiet``Boolean`Do not display a diagnostic message (unless Phing has been invoked with the -verbose or -debug switches) or modify the exit status to reflect an error. Setting this to `true` implies setting failonerror to `false`.falseNo B.26.1 Examples `<loadfile property="version" file="version.txt"/>` B.26.2 Supported Nested Tags: - `filterchain`