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


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

Re: the classes in rt.jar cannot be found during ant build

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Roedy Green <see_website@mindprod.com.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: the classes in rt.jar cannot be found during ant build
Date Mon, 02 Apr 2012 16:00:18 -0700
Organization Canadian Mind Products
Lines 21
Message-ID <nobkn719a2a7qudguhi2913bgrn01u4fjm@4ax.com> (permalink)
References <21704562.1053.1333400837411.JavaMail.geo-discussion-forums@ynlt15>
Reply-To Roedy Green <see_website@mindprod.com.invalid>
NNTP-Posting-Host Z2l1DcCELS0rATq8NqV4Sw.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
X-Complaints-To abuse@aioe.org
X-Notice Filtered by postfilter v. 0.8.2
X-Newsreader Forte Agent 6.00/32.1186
Xref csiph.com comp.lang.java.programmer:13325

Show key headers only | View raw


On Mon, 2 Apr 2012 14:07:17 -0700 (PDT), zyng <xsli2@yahoo.com> wrote,
quoted or indirectly quoted someone who said :

>	<path id="project.classpath">
>            <fileset dir="${env.JAVA_HOME}">
>                <include name="jre/lib/rt.jar"/>
>            </fileset>

Why would you do this? Javac is a built-in ant task.  It finds files
in rt.jar all by itself.

  <javac source="1.6" target="1.6" srcdir="com/mindprod/replicator"
sourcepath="${basedir}" classpath="${basedir}" debug="on"
includeAntRuntime="false">

-- 
Roedy Green Canadian Mind Products
http://mindprod.com
When you were a child, if you did your own experiment
to see if it was better to put to cocoa into your cup first
or the hot milk first, then you likely have the programmer gene..

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


Thread

the classes in rt.jar cannot be found during ant build zyng <xsli2@yahoo.com> - 2012-04-02 14:07 -0700
  Re: the classes in rt.jar cannot be found during ant build Lew <lewbloch@gmail.com> - 2012-04-02 15:53 -0700
  Re: the classes in rt.jar cannot be found during ant build Roedy Green <see_website@mindprod.com.invalid> - 2012-04-02 16:00 -0700
  Re: the classes in rt.jar cannot be found during ant build Arne Vajhøj <arne@vajhoej.dk> - 2012-04-02 19:44 -0400
  Re: the classes in rt.jar cannot be found during ant build zyng <xsli2@yahoo.com> - 2012-04-02 17:16 -0700
    Re: the classes in rt.jar cannot be found during ant build Arne Vajhøj <arne@vajhoej.dk> - 2012-04-02 20:53 -0400
    Re: the classes in rt.jar cannot be found during ant build Roedy Green <see_website@mindprod.com.invalid> - 2012-04-03 10:49 -0700
      Re: the classes in rt.jar cannot be found during ant build Arne Vajhøj <arne@vajhoej.dk> - 2012-04-03 19:15 -0400
    Re: the classes in rt.jar cannot be found during ant build Roedy Green <see_website@mindprod.com.invalid> - 2012-04-03 16:29 -0700

csiph-web