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


Groups > comp.lang.java.programmer > #10827 > unrolled thread

ant and -bootclasspath

Started byRoedy Green <see_website@mindprod.com.invalid>
First post2011-12-17 09:26 -0800
Last post2011-12-17 19:24 -0800
Articles 6 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  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

#10827 — ant and -bootclasspath

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-12-17 09:26 -0800
Subjectant and -bootclasspath
Message-ID<22kpe7101nsmla202cj4tomosqi2brhu9l@4ax.com>
What is the trick is passing a -bootclasspath parm to ANT?

<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.
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer programming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.
 

[toc] | [next] | [standalone]


#10829

Frommarkspace <-@.>
Date2011-12-17 09:47 -0800
Message-ID<jcikj4$slq$1@dont-email.me>
In reply to#10827
On 12/17/2011 9:26 AM, Roedy Green wrote:
> What is the trick is passing a -bootclasspath parm to ANT?
>
> <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.


Don't use a space?

   <javac srcdir="src" destdir="classes">
     <compilerarg arg="-Xbootclasspath/e:/some/windows/path"/>
   </javac>

[toc] | [prev] | [next] | [standalone]


#10830

FromLew <lewbloch@gmail.com>
Date2011-12-17 10:05 -0800
Message-ID<2967834.3.1324145122641.JavaMail.geo-discussion-forums@prlu4>
In reply to#10829
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

[toc] | [prev] | [next] | [standalone]


#10840

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-12-17 12:23 -0800
Message-ID<heupe71ioa5d4ec6ba9rvgl8emnhubcr5a@4ax.com>
In reply to#10830
On Sat, 17 Dec 2011 10:05:22 -0800 (PST), Lew <lewbloch@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>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.

You presumed incorrectly.  I read at least ten different explanations,
somewith the X some without, some with examples some without. 

None showed what do do when your file name has a space in it, much
less when you are trying to do it with ant.

You don't know the answer, do you. You your just bluffing, so you can
have fun belittling me.

-- 
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer programming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.
 

[toc] | [prev] | [next] | [standalone]


#10841

FromRoedy Green <see_website@mindprod.com.invalid>
Date2011-12-17 12:24 -0800
Message-ID<2jupe7toeqgrj9mvrkj11j9jpkvib4p2lq@4ax.com>
In reply to#10830
On Sat, 17 Dec 2011 10:05:22 -0800 (PST), Lew <lewbloch@gmail.com>
wrote, quoted or indirectly quoted someone who said :

>
>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.
 
This is not useful information to anyone.  Why do you bother?
-- 
Roedy Green Canadian Mind Products
http://mindprod.com
For me, the appeal of computer programming is that
even though I am quite a klutz,
I can still produce something, in a sense
perfect, because the computer gives me as many
chances as I please to get it right.
 

[toc] | [prev] | [next] | [standalone]


#10844

FromLew <lewbloch@gmail.com>
Date2011-12-17 19:24 -0800
Message-ID<26386146.732.1324178650861.JavaMail.geo-discussion-forums@prkz16>
In reply to#10841
On Saturday, December 17, 2011 12:24:42 PM UTC-8, Roedy Green wrote:
> On Sat, 17 Dec 2011 10:05:22 -0800 (PST), Lew <lewb...@gmail.com>
> wrote, quoted or indirectly quoted someone who said :
> 
>>
>> 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.
>  
> This is not useful information to anyone.  Why do you bother?

Since you ask, because you set yourself up as some sort of authority and 
champion of the newbie, but how can anyone trust the information you post when 
you so adamantly refuse to use even the most elementary documentation?  I call 
shenanigans on you for that.

Whence do you derive the authority to speak of Java matters?  You act so very 
offended whenever I suggest that one read the documents.  "You have to be a 
'language lawyer'."  "That information isn't useful."

Well, if the documentation for the product that contains in the obvious place 
the very answer to the question you ask is not useful, then what, pray tell, 
O Wise Champion of the Newbie, is?

-- 
Lew

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web