82 <property name="build.bin" location="${build.dir}/bin"/>
83 <property name="build.jtreg" location="${build.dir}/jtreg"/>
84 <property name="build.prevsrc" location="${build.dir}/prevsrc"/>
85
86 <dirset id="src.module.dirset" dir="${src.dir}" includes="${module.names}"/>
87
88 <pathconvert pathsep="," property="src.module.dirs" refid="src.module.dirset"/>
89
90 <pathconvert property="xpatch.rest" pathsep=" --patch-module=" refid="src.module.dirset">
91 <regexpmapper from="^.*(/|\\)([^/\\]*)$" to='\2="${build.modules}\1\2"' />
92 </pathconvert>
93
94 <pathconvert property="xpatch.noquotes.rest" pathsep=" --patch-module=" refid="src.module.dirset">
95 <regexpmapper from="^([^/\\]*)(/|\\).*" to="\1=${build.modules}\2\1" />
96 </pathconvert>
97
98 <property name="xpatch.cmd" value="--patch-module=${xpatch.rest}"/>
99 <property name="xpatch.noquotes.cmd" value="--patch-module=${xpatch.noquotes.rest}"/>
100
101 <!-- java.marker is set to a marker file to check for within a Java install dir.
102 The best file to check for across Solaris/Linux/Windows/MacOS is one of the
103 executables; regrettably, that is OS-specific. -->
104 <condition property="java.marker" value="bin/java">
105 <os family="unix"/>
106 </condition>
107 <condition property="java.marker" value="bin/java.exe">
108 <os family="windows"/>
109 </condition>
110
111 <!-- Standard property values, if not overriden by earlier settings. -->
112 <property file="${make.dir}/build.properties"/>
113
114 <condition property="langtools.jdk.home" value="${jdk.home}">
115 <isset property="jdk.home" />
116 </condition>
117
118 <!-- launcher.java is used in the launcher scripts provided to run
119 the tools' jar files. If it has not already been set, then
120 default it to use ${langtools.jdk.home}, if available, otherwise
121 quietly default to simply use "java". -->
122 <condition property="launcher.java"
|
82 <property name="build.bin" location="${build.dir}/bin"/>
83 <property name="build.jtreg" location="${build.dir}/jtreg"/>
84 <property name="build.prevsrc" location="${build.dir}/prevsrc"/>
85
86 <dirset id="src.module.dirset" dir="${src.dir}" includes="${module.names}"/>
87
88 <pathconvert pathsep="," property="src.module.dirs" refid="src.module.dirset"/>
89
90 <pathconvert property="xpatch.rest" pathsep=" --patch-module=" refid="src.module.dirset">
91 <regexpmapper from="^.*(/|\\)([^/\\]*)$" to='\2="${build.modules}\1\2"' />
92 </pathconvert>
93
94 <pathconvert property="xpatch.noquotes.rest" pathsep=" --patch-module=" refid="src.module.dirset">
95 <regexpmapper from="^([^/\\]*)(/|\\).*" to="\1=${build.modules}\2\1" />
96 </pathconvert>
97
98 <property name="xpatch.cmd" value="--patch-module=${xpatch.rest}"/>
99 <property name="xpatch.noquotes.cmd" value="--patch-module=${xpatch.noquotes.rest}"/>
100
101 <!-- java.marker is set to a marker file to check for within a Java install dir.
102 The best file to check for across Linux/Windows/MacOS is one of the
103 executables; regrettably, that is OS-specific. -->
104 <condition property="java.marker" value="bin/java">
105 <os family="unix"/>
106 </condition>
107 <condition property="java.marker" value="bin/java.exe">
108 <os family="windows"/>
109 </condition>
110
111 <!-- Standard property values, if not overriden by earlier settings. -->
112 <property file="${make.dir}/build.properties"/>
113
114 <condition property="langtools.jdk.home" value="${jdk.home}">
115 <isset property="jdk.home" />
116 </condition>
117
118 <!-- launcher.java is used in the launcher scripts provided to run
119 the tools' jar files. If it has not already been set, then
120 default it to use ${langtools.jdk.home}, if available, otherwise
121 quietly default to simply use "java". -->
122 <condition property="launcher.java"
|