此模板属性文件相当简单,只是一个希望在筛选操作期间替换的属性列表。
The template properties file is pretty simple. Just a list of properties that you want to be replaced during the filter operation.
为了自动生成portlet,您可以使用清单1中的脚本,同时通过自定义ant任务检查portlet . xml并使用一些模板属性对其进行更新。
You can use the script in Listing 1 to generate a portlet automatically by using a custom Ant task that examines the portlet.xml and updates it with some template properties.
该项目可以得到下载,并上传至其他的项目中以覆盖模板和属性组。
This project can be downloaded and uploaded to the other projects to copy over the templates and attribute groups.
应用推荐