overrive bootclasspath using ant

D

Dzikus

Hello,
I need to add some cross-compilation options to my ant buildfiles.
One of them is use another foundation classes.
There is possibility to override (not append) bootclasspath in javac:
-Xbootclasspath/:path

But if I add to my ant script
<bootclasspath><pathelement location="..."/></bootclasspath>
my path is appended to instead of override JDK classes. I cannot find
options that specifies if my path is appended, prepended or overrides.

How build.xml should look like to override bootclasspath?

Thanks in advance
Dominik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top