eclipse的工程配置(.classpath和.project)文件的作用
.classpath文件:
|
1
2
3
4
|
<classpathentry kind="src" path=""/>
<classpathentry kind="con" path=""/>
<classpathentry kind="lib" path=""/>
<classpathentry kind="output" path="bin"/>
|
上面参数的含义为:
源文件的具体位置(kind="src")
运行的系统环境(kind="con")
工程的library的具体位置信息(kind="lib")
项目的输出目录(kind="output")
.project 文件:
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>myibatis</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<linkedResources>
<link>
<name>mybatis</name>
<type>2</type>
<location></location>
</link>
</linkedResources>
</projectDescription>
|
上面参数的含义为:
工程名<name></name>
工程注释描述<comment></comment>
运行时需要的额外Eclipse插件<natures></natures>,及其具体加载信息<buildSpec></buildSpec>。
工程中的文件连接使用<linkedResources>进行说明

浙公网安备 33010602011771号