|
@@ -173,7 +173,11 @@ invoking the compiler.</p> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
|
<td valign="top">bootclasspath</td> |
|
|
<td valign="top">bootclasspath</td> |
|
|
<td valign="top">Location of bootstrap class files.</td> |
|
|
|
|
|
|
|
|
<td valign="top"> |
|
|
|
|
|
Location of bootstrap class files. (See <a href="#bootstrap">below</a> |
|
|
|
|
|
for using the -X and -J-X parameters for specifing |
|
|
|
|
|
the bootstrap classpath). |
|
|
|
|
|
</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
<td align="center" valign="top">No</td> |
|
|
</tr> |
|
|
</tr> |
|
|
<tr> |
|
|
<tr> |
|
@@ -684,6 +688,29 @@ while all others are <code>false</code>.</p> |
|
|
<code>build.compiler.jvc.extensions</code> to false before invoking |
|
|
<code>build.compiler.jvc.extensions</code> to false before invoking |
|
|
<code><javac></code>.</p> |
|
|
<code><javac></code>.</p> |
|
|
|
|
|
|
|
|
|
|
|
<h3><a name="bootstrap">Bootstrap Options</h3> |
|
|
|
|
|
<p> |
|
|
|
|
|
The Sun javac compiler has a <em>bootclasspath</em> command |
|
|
|
|
|
line option - this corresponds to the "bootclasspath" attribute/element |
|
|
|
|
|
of the <javac> task. The Sun compiler also allows more |
|
|
|
|
|
control over the boot classpath using the -X and -J-X attributes. |
|
|
|
|
|
One can set these by using the <compilerarg>. Since Ant 1.6.0, |
|
|
|
|
|
there is a shortcut to convert path references to strings that |
|
|
|
|
|
can by used in an OS independent fashion (see |
|
|
|
|
|
<a href="../using.html#pathshortcut">pathshortcut</a>). For example: |
|
|
|
|
|
</p> |
|
|
|
|
|
<pre> |
|
|
|
|
|
<path id="lib.path.ref"> |
|
|
|
|
|
<fileset dir="lib" includes="*.jar"/> |
|
|
|
|
|
</path> |
|
|
|
|
|
<javac srcdir="src" destdir="classes"> |
|
|
|
|
|
<compilerarg arg="-Xbootstrap/p:${toString:lib.path.ref}"/> |
|
|
|
|
|
</javac> |
|
|
|
|
|
</pre> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</p> |
|
|
|
|
|
|
|
|
<h3>OpenJDK Notes</h3> |
|
|
<h3>OpenJDK Notes</h3> |
|
|
<p> |
|
|
<p> |
|
|
The <a href="https://openjdk.dev.java.net/">openjdk</a> |
|
|
The <a href="https://openjdk.dev.java.net/">openjdk</a> |
|
|