make/build.xml

changeset 463
96c56220dcc2
parent 450
4011f49b4af8
child 554
9d9f26857129
equal deleted inserted replaced
462:aa06467be3a2 463:96c56220dcc2
105 filepath="${import.jdk}/src/share/classes" file="java/nio/file/Path.java"/> 105 filepath="${import.jdk}/src/share/classes" file="java/nio/file/Path.java"/>
106 <available property="import.jdk.jar" value="${import.jdk}/jre/lib/rt.jar" 106 <available property="import.jdk.jar" value="${import.jdk}/jre/lib/rt.jar"
107 ignoresystemclasses="true" 107 ignoresystemclasses="true"
108 classpath="${import.jdk}/jre/lib/rt.jar" classname="java.nio.file.Path"/> 108 classpath="${import.jdk}/jre/lib/rt.jar" classname="java.nio.file.Path"/>
109 109
110 <!-- Set the default value of the sourcepath used for javac. -->
110 <condition property="javac.sourcepath" value="${build.genstubs.dir}" else=""> 111 <condition property="javac.sourcepath" value="${build.genstubs.dir}" else="">
111 <isset property="import.jdk.src.dir"/> 112 <isset property="import.jdk.src.dir"/>
112 </condition> 113 </condition>
113 114
115 <!-- Set the default value of the classpath used for javac. -->
114 <property name="javac.classpath" value=""/> 116 <property name="javac.classpath" value=""/>
115 117
118 <!-- Set the default bootclasspath option used for javac.
119 Note that different variants of the option are used, meaning we can't just
120 define the value for the option.
121 Note the explicit use of the standard property ${path.separator} in the following.
122 This is because Ant is not clever enough to handle direct use of : or ; -->
116 <condition property="javac.bootclasspath.opt" 123 <condition property="javac.bootclasspath.opt"
117 value="-Xbootclasspath:${build.classes.dir}:${import.jdk.jar}" 124 value="-Xbootclasspath:${build.classes.dir}${path.separator}${import.jdk.jar}"
118 else="-Xbootclasspath/p:${build.classes.dir}"> 125 else="-Xbootclasspath/p:${build.classes.dir}">
119 <isset property="import.jdk.jar"/> 126 <isset property="import.jdk.jar"/>
120 </condition> 127 </condition>
121 128
122 <condition property="exclude.files" value="" else="${require.import.jdk.files}"> 129 <condition property="exclude.files" value="" else="${require.import.jdk.files}">

mercurial