Invoking PMD with a custom ruleset file in Ant requires providing a path to the custom file through the rulesetfiles attribute of the PMD task as shown in in Listing 2.
用Ant工具调用带有定制规则集文件的PMD需要通过PMD任务的rulesetfiles属性提供一条到该定制文件的路径,如清单2中所示。
You use the value of the id attribute to reference a task — when declaring dependencies between tasks or task groups, for example.
您使用id属性的值引用一个任务,例如,当声明任务或任务组间的依赖项时。
A Sort Attribute was also defined based on the importance of the task and was a parameter received when the task was created and saved in the supplemental data table.
当任务被创建且保存在补充数据中时,根据任务重要性定义一个Sort Attribute,这是一个接收的参数。
应用推荐