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 Sat, 17 Dec 2011 10:05:22 -0800 (PST)
Organization http://groups.google.com
Lines 29
Message-ID <2967834.3.1324145122641.JavaMail.geo-discussion-forums@prlu4> (permalink)
References <22kpe7101nsmla202cj4tomosqi2brhu9l@4ax.com> <jcikj4$slq$1@dont-email.me>
Reply-To comp.lang.java.programmer@googlegroups.com
NNTP-Posting-Host 173.164.137.213
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1324145123 7202 127.0.0.1 (17 Dec 2011 18:05:23 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Sat, 17 Dec 2011 18:05:23 +0000 (UTC)
In-Reply-To <jcikj4$slq$1@dont-email.me>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.213; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T
User-Agent G2/1.0
X-Google-Web-Client true
Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.stben.net!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10830

Show key headers only | 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