.classPath文件:
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="resources"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_5_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
/com.springsource.org.codehaus.jackson.mapper-1.0.0.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/spring/org.springframework.oxm-3.0.5.RELEASE.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts/commons-logging-api-1.1.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts/ezmorph-1.0.3.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts/freemarker-2.3.16.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts/json-lib-2.1-jdk15.jar"/>
。。。。。。
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/struts/commons-fileupload-1.2.2.jar"/>
<classpathentry kind="lib" path="WebRoot/WEB-INF/lib/MD5-0.1.jar"/>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>
解释:
- 源文件的具体位置(kind="src")
- 运行的系统环境(kind="con")
- 工程的library的具体位置信息(kind="lib")
- 在每个lib的xml子节点中,有关于它的其它配置信息(例如我配置的那个"javadoc_location")
- 项目的输出目录(kind="output")
.project文件内容:
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>logistics</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
。。。。
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
。。。。。
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>com.genuitec.eclipse.cross.easystruts.eclipse.easystrutsnature</nature>
</natures>
- 工程名<name></name>
- 工程注释描述<comment></comment>
- 运行时需要的额外Eclipse插件<natures></natures>,及其具体加载方式信息<buildSpec></buildSpec>