.classPath及.project文件

.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>
解释:

  1. 源文件的具体位置(kind="src")
  2. 运行的系统环境(kind="con")
  3. 工程的library的具体位置信息(kind="lib")
  4. 在每个lib的xml子节点中,有关于它的其它配置信息(例如我配置的那个"javadoc_location")
  5. 项目的输出目录(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>

  1. 工程名<name></name>
  2. 工程注释描述<comment></comment>
  3. 运行时需要的额外Eclipse插件<natures></natures>,及其具体加载方式信息<buildSpec></buildSpec>

.classPath及.project文件_第1张图片

.settings文件:

里面存放各种插件的配置文件(此图没有画好,请高手指点)

.classPath及.project文件_第2张图片


你可能感兴趣的:(classpath)