- 下载一个较高级版的eclipse。
- 在eclipse中安装c2studio的插件,从help—》install news software ,在我work with地址栏中输入http://172.16.25.142/c2studio(内网)直接按回车,搜索出c2studio的插件,全选所有插件安装,安装时最好是去掉
指向的选框,安装会比较快。
- 重启eclipse
- 配置c2studio的编码格式为UTF-8,方法是:window-》preference,General下的workspace内的text file encode,为UTF-8.
- 配置c2studio maven插件,设置自己的setting.xml文件的位置
- 安装jetty插件
- 与安装c2studio的插件相同,
- 安装好了,之间新建一个c2project 项目,选中项目之间右键,启动jetty,配置jetty,把overlay.xml和configure.dtd文件cpoy到test目录下,把license文件cpy到java的main资源包下。删除一个未使用的工作流运行项目:clean maven和install maven
- debug as-》debug的配置,把overlay.xml文件添加到jetty context configure 中
- 运用jetty。