四、New Feature
1、more flexible for resigned framework
2、support for more task
3、support for more customization
五、Installation Guide
1、find %Eclipse_Home%\plugins directory,locate sub-directory starts with
org.vivianj.eclipse.plugin.buildfile
2、if there has, delete it
3、uncompress what you downloaded,copy plunins directory to home directory of eclipse
installation 六、User Guide
1、clik File->New->Other,open popup window of Winzard,select BuildFileDesigner Winzard->buildfile for ant to create a new build.xml
2、then you can set default editor of build.xml to BuildFileDesigner,follow me:
A)click Window->Preferences
B)select Workbench->File Assosiations
C)set default editor of build.xml to BuildFileDesigner
3、update property of Project
a)select project node of buildfile tree:
b)update property of project on right panel
c)click “update” button to save your change
4、create a new Property
a)select project node of buildfile tree:
b)open the context popup menu
c)click “增加新的属性(Property)”
d)then you can see
e)update property of project on right panel,click “update” button to save your change
5、update Property
a)click some "property" node
b)update property of "property" node
c)click “update” button to save your change
6、delete Property
a)click some "property" node
b)click “delete” button to delete what you selected
7、create a new Target
a)select project node of buildfile tree
b)open context menu
c)单击“增加新的目标(Target)”单选按钮
d)系统界面将变更为如下图所示:
e)在右边的节点属性显示区修改相应属性,单击“保存”按钮保存所作修改
8、Target的属性更新
a)在buildfile树上选择Target节点,如下图所示:
b)在右边的节点属性显示区修改相关属性
c)单击“更新”按钮保存所作修改
9、Target的删除
a)在buildfile树上选择Target节点,如下图所示:
b)单击“删除”按钮删除所选择目标
10、新增加Task
a)在buildfile树上选择Target节点,如下图所示:
b)单击右键,系统弹出选择框
c)单击“增加新的任务(javac)”单选按钮
d)系统界面将变更为如下图所示:
e)在右边的节点属性显示区修改相应属性,单击“保存”按钮保存所作修改
11、Task的属性更新
a)在buildfile树上选择Task节点,如下图所示:
b)在右边的节点属性显示区修改相关属性
c)单击“更新”按钮保存所作修改
12、Task的删除
a)在buildfile树上选择Task节点,如下图所示:
b)单击“删除”按钮删除所选择Task
七、用户定制
1、定制多国语言支持
项目中的多国语言支持通过ResourceBundle实现,资源文件位于%Eclipse_Home%\plugins
\org.vivianj.eclipse.plugin.buildfile_1.0.0\BuildFileDesigner.jar\org\vivianj\eclipse
\plugin\buildfile\util目录下
A) 如果需要修改其中的内容,请将resource.properties或者resouce_cn.properties文件解压缩
出来,修改后再更新BuildFileDesigner.jar
B) 如果需要新增加语言支持,请再该目录下增加resource_xx.properties文件,它的内容中关键
词部分和resource.properties相同,内容部分请根据特殊语言修改 [注] xx是使用Locale.getDefault().getLanguage()获得的字符串