由于跟JBuilder开发的人员合用一个版本控制工具...他们在版本控制中的web目录是defaultroot,所以我只好将MyEclipse的WebRoot 改掉...
.mymetadata 文件改为:
<?xml version= "1.0 " encoding= "UTF-8 "?>
<project-module
type= "WEB "
name= "DRM "
id= "myeclipse.1179981412453 "
context-root= "/DRM "
j2ee-spec= "1.4 "
archive= "DRM.war ">
<attributes>
<attribute name= "webrootdir " value= "defaultroot " />
</attributes>
</project-module>
但是还是不行 布署到tomcat时找不到...
请问我该怎么弄...谢谢....急....
------解决方案--------------------
路过
------解决方案--------------------
关注……
------解决方案--------------------
如果直接修改配置文件不行,可以新建一个MyEclipse Web Project,新建项目向导中的:
Web root folder 修改为defaultroot,然后再把CVS中的Src源码,与defaultroot下的Web文件复制一下,然后整个项目添加为版本控制共享项目~目录名称一样,应该不会影响各自的同步,落实,更新!
------解决方案--------------------
<?xml version= "1.0 " encoding= "UTF-8 "?>
<project-module
type= "WEB "
name= "ViSR "
id= "myeclipse.1188978712359 "
context-root= "/ViSR "
j2ee-spec= "1.4 "
archive= "ViSR.war ">
<attributes>
<attribute name= "webrootdir " value= "<prjroot> " />
</attributes>
</project-module>