您的位置:首页 > 其它

classpath

2015-11-03 14:15 288 查看
<!-- classpath 为程序指明了执行路径如编译,默认会到系统中找,找不到,则执行classpath指定的。遇到第一个,只执行第一个 -->

<?xml version="1.0" encoding="UTF-8"?>

<!-- 对应buildpath -->

<classpath>

<!-- path 源文件路径。output 执行如编译查找路径 king src 源文件信息-->

<classpathentry including="**/*.java" kind="src" output="target/classes" path="src/main/java">

<attributes>

<attribute name="optional" value="true"/>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources/develop">

<attributes>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">

<attributes>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<classpathentry kind="src" output="target/test-classes" path="src/test/java">

<attributes>

<attribute name="optional" value="true"/>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources">

<attributes>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<!-- kind con 执行程序的系统环境 -->

<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.7.0_60">

<attributes>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">

<attributes>

<attribute name="maven.pomderived" value="true"/>

</attributes>

</classpathentry>

<!-- kind output 编译目标路径 -->

<classpathentry kind="output" path="target/classes"/>

</classpath>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: