myeclipse 转 eclipse 项目
jeecg检出来是myeclipse的项目,平时使用eclipse习惯了,转一下,说一下我的解决方法,很简单1.新建一个web项目 ,找到项目下的project文件
.project 文件内容如下
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>webTest</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>
</projectDescription>
2. 将 jeecg_framework_base下的.project替换为上面的 唯一要换的地方是 <name></name>
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>jeecg_framework_base</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
</natures>
</projectDescription>
3.重启eclipse 右键项目-属性 看到多了下面的
4.modify project
5.下一步 Content Directory 改为WebRoot
6.finishok了
这个得学习一下,我也习惯用eclipse!
页:
[1]