Return-Path: Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 36972 invoked from network); 24 Oct 2000 19:45:05 -0000 Received: from web108.mail.yahoo.com (HELO web108.yahoomail.com) (205.180.60.75) by locus.apache.org with SMTP; 24 Oct 2000 19:45:05 -0000 Received: (qmail 2961 invoked by uid 60001); 24 Oct 2000 19:44:55 -0000 Message-ID: <20001024194455.2960.qmail@web108.yahoomail.com> Received: from [64.163.67.114] by web108.yahoomail.com; Tue, 24 Oct 2000 12:44:55 PDT Date: Tue, 24 Oct 2000 12:44:55 -0700 (PDT) From: Diane Holt Subject: RE: javac task and classpath attribute To: ant-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I don't think "bootclasspath" is what you want -- doesn't that associate with a specific java flag (-bootclasspath) and have some special meaning? (Sorry, I should look it up, but...) Also, whatever problem you're having shouldn't be related to jikes v. javac, since I use jikes. Diane --- Dave Inskeep wrote: > Alan, Diane, thanks for the reference points. At least I know it's > something I'm doing wrong. I have found that if I use the bootclasspath > attribute of javac it works. I also wonder if it's a jikes vs javac > compiler thing. Anyway, since I know that it works for other people, > I'll > keep plugging away. > > Thanks, > Dave > > At 12:48 PM 10/24/00 -0400, you wrote: > >Dave - > > > >I have been able to use it successful, as Diane. Here's how I've set it > up > >on one build ... > >(ANT version 1.1, Java 1.2.2, NT 4.0 sp5 ) > >******************* > > > > > > > destdir="${classes}" > > deprecation="${deprecationValue}" > > optimize="${optimizeValue}" > > target="${targetValue}" > > debug="${debugValue}" > > > > > > > > > > location="${lib}/fast.jar"/> > > > location="${lib}/lotusxsl.jar"/> > > > location="${lib}/xml4j.jar"/> > > > location="${lib}/ldapjdk.jar"/> > > > location="${lib}/ldapfilt.jar"/> > > > location="${lib}/ldapsp.jar"/> > > > location="${lib}/mail.jar"/> > > > location="${lib}/activation.jar"/> > > > > > > > >******************* > > > >-----Original Message----- > >From: Dave Inskeep [mailto:dave.inskeep@bea.com] > >Sent: Tuesday, October 24, 2000 11:54 AM > >To: ant-user@jakarta.apache.org > >Subject: javac task and classpath attribute > > > > > >Does anyone else have problems with using the classpath attribute, > >classpath nested element, or classpathref attribute with the javac > task? No > >matter what I try, javac seems to ignore the classpath and use what ant > ran > >with. In desperation I even just tried: > > > > > > > >hoping to see my classpath as foo. However, this is what I get with > "ant > >-verbose": > > > >[javac] Compilation args: jikes -d C:\Projects\beast\classes -classpath > >"C:\Program > >Files\JavaSoft\JRE\1.2\lib\ext\iiimp.jar;C:\Projects\beast\classes;C:\java\ant\lib\ant.jar;C:\java\ant\lib\jaxp.jar;C:\java\ant\lib\parser.jar;C:\java\jdk1.2.2\lib\tools.jar;C:\Program > > > > >Files\JavaSoft\JRE\1.2\lib\rt.jar;C:\Projects\beast\src" > > > >It appears to be just the classpath that the ant batch file uses plus > my > >srcdir and destdir. Am I missing something obvious? I'm using version > ant 1.2. > > > >Thanks, > >Dave > ===== (holtdl@yahoo.com) __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/