Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10830

Re: ant and -bootclasspath

From Lew <lewbloch@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: ant and -bootclasspath
Date 2011-12-17 10:05 -0800
Organization http://groups.google.com
Message-ID <2967834.3.1324145122641.JavaMail.geo-discussion-forums@prlu4> (permalink)
References <22kpe7101nsmla202cj4tomosqi2brhu9l@4ax.com> <jcikj4$slq$1@dont-email.me>

Show all headers | View raw


markspace wrote:
> Roedy Green wrote:
>> What is the trick is passing a -bootclasspath parm to ANT?

Reading the Ant documentation?
http://ant.apache.org/manual/Tasks/javac.html

The <javac> task element has a "bootclasspath" attribute and the documentation 
also explains how to use the "-X" option.
http://ant.apache.org/manual/Tasks/javac.html#bootstrap

>> <compilerarg value="-Xbootclasspath E:/Program
>> Files/Java/jdk1.7.0_02/jre/lib/rt.jar" />
>>
>> It does not ilke this, presumably because fo the space in
>> Program_Files.

Or presumably because you haven't read the documentation and specified the 
option correctly.  It's amazing what you can accomplish when you read the 
manual.

> Don't use a space?
> 
>    <javac srcdir="src" destdir="classes">
>      <compilerarg arg="-Xbootclasspath/e:/some/windows/path"/>
>    </javac>

-- 
Lew

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

ant and -bootclasspath Roedy Green <see_website@mindprod.com.invalid> - 2011-12-17 09:26 -0800
  Re: ant and -bootclasspath markspace <-@.> - 2011-12-17 09:47 -0800
    Re: ant and -bootclasspath Lew <lewbloch@gmail.com> - 2011-12-17 10:05 -0800
      Re: ant and -bootclasspath Roedy Green <see_website@mindprod.com.invalid> - 2011-12-17 12:23 -0800
      Re: ant and -bootclasspath Roedy Green <see_website@mindprod.com.invalid> - 2011-12-17 12:24 -0800
        Re: ant and -bootclasspath Lew <lewbloch@gmail.com> - 2011-12-17 19:24 -0800

csiph-web