org.apache.tools.ant.Project.copyUserProperties()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(0.8k)|赞(0)|评价(0)|浏览(92)

本文整理了Java中org.apache.tools.ant.Project.copyUserProperties()方法的一些代码示例,展示了Project.copyUserProperties()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.copyUserProperties()方法的具体详情如下:
包路径:org.apache.tools.ant.Project
类名称:Project
方法名:copyUserProperties

Project.copyUserProperties介绍

[英]Copy all user properties that have been set on the command line or a GUI tool from this instance to the Project instance given as the argument.

To copy all "user" properties, you will also have to call #copyInheritedProperties.
[中]

代码示例

代码示例来源:origin: org.apache.ant/ant

addAlmostAll(getProject().getUserProperties(), PropertyType.USER);
} else {
  getProject().copyUserProperties(newProject);

代码示例来源:origin: Ant-Grand/Grand

loader.parse(antProject, buildFile);
getProject().copyUserProperties(antProject);

相关文章