当前页面: 开发资料首页 → Eclipse 专题 → eclipse自动编译的问题
eclipse自动编译的问题
摘要: eclipse自动编译的问题
1、eclipse编译时候自动清除WEB-INF里面的除了classes文件夹外面的所有文件,有办法解决么??
2、有个struts的站点,在myeclipse怎么做才能让这个站点变成一个struts工程,如果我用J2EE-WEB Project建立时候,不能打开struts-config.xml,提示我:Project 'agent_platform' is not configured as a MyEclipse Web-Struts Project. Therefore the MyEclipse Struts Editor may not be used with struts-config.xml. The default XML Editor has been used to open the file instead.
2、有个struts的站点,在myeclipse怎么做才能让这个站点变成一个struts工程,如果我用J2EE-WEB Project建立时候,不能打开struts-config.xml,提示我:Project 'agent_platform' is not config
************************
创建了web工程之后, 选中package explorer中的项目根目录,右击鼠标,在myeclipse菜单项里选择add struts capability
eclipse 好像也是用的ant编译,所以可以找到一个或者是自己建立一个build.xml,
在里面设置就可以了------以上仅我猜想