首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

【转载】解析Myeclipse项目上的.classpath文件

2012-12-21 
【转载】解析Myeclipse项目下的.classpath文件2. classpathentry kindlib pathwebroot/web-inf/lib/an

【转载】解析Myeclipse项目下的.classpath文件
2. <classpathentry kind="lib" path="webroot/web-inf/lib/antlr.jar"/>指定了该项表示库文件或目录,并指明了相应的存放路径
3. <classpathentry kind="output" path="webroot/web-inf/classes"/>指定了该项表示编译路径,指明了*.java文件被编译成*.class文件后的存放路径。该项为默认存放路径,也意味着在.classpath文件中只能存在一项kind="output"
4. <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.jre_container"/>和
??? <classpathentry exported="true" kind="con"? path="com.genuitec.eclipse.j2eedt.core.j2ee14_container"/>为每个project的必有项。


以上分别对应java build path相对应的source 和 library项,可以根据需要进行调整

?

?

来源地址:http://www.dnbcw.com/biancheng/java/gado85086.html

热点排行