Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 23374 invoked from network); 6 Mar 2006 19:51:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Mar 2006 19:51:06 -0000 Received: (qmail 68668 invoked by uid 500); 6 Mar 2006 19:51:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 68630 invoked by uid 500); 6 Mar 2006 19:51:01 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 68619 invoked by uid 99); 6 Mar 2006 19:51:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 11:51:00 -0800 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_IMAGE_ONLY_20,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of carej@us.ibm.com designates 32.97.110.152 as permitted sender) Received: from [32.97.110.152] (HELO e34.co.us.ibm.com) (32.97.110.152) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2006 11:50:59 -0800 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e34.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id k26Joa64020111 for ; Mon, 6 Mar 2006 14:50:36 -0500 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay04.boulder.ibm.com (8.12.10/NCO/VER6.8) with ESMTP id k26JrOSr148790 for ; Mon, 6 Mar 2006 12:53:24 -0700 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id k26JoZUH007207 for ; Mon, 6 Mar 2006 12:50:35 -0700 Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com [9.17.195.145]) by d03av04.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id k26JoZi8007200 for ; Mon, 6 Mar 2006 12:50:35 -0700 In-Reply-To: <52F6AB54F39902489F13FEB65D9EB56D7BB93B@XMBV4801.northgrum.com> To: "Ant Users List" Subject: Re: JAVAC Classpath MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0 HF85 November 04, 2005 From: Jeffrey E Care Message-ID: Date: Mon, 6 Mar 2006 14:53:02 -0500 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.53HF654 | July 22, 2005) at 03/06/2006 12:53:08, Serialize complete at 03/06/2006 12:53:08 Content-Type: multipart/related; boundary="=_related 006CFF3985257129_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_related 006CFF3985257129_= Content-Type: multipart/alternative; boundary="=_alternative 006CFF3985257129_=" --=_alternative 006CFF3985257129_= Content-Type: text/plain; charset="US-ASCII" That's documented pretty clearly in the manual. ____________________________________________________________________________________________ Jeffrey E. (Jeff) Care carej@us.ibm.com IBM WebSphere Application Server Development WAS Pyxis Lead Release Engineer "Rosenberg, Eric" wrote on 03/06/2006 01:39:51 PM: > I am running ant 1.6.2. > > > > I just realized that the javac task is taking the classpath that I > specify and adding the classpath that I have started ant with to it. Is > there a way to make it not do that? > > > > I have junit.jar in Ant's class path so that I can use the junit task in > another target. However, I do not want to compile with junit.jar in my > classpath because I want the build to break if any dependencies on test > classes have been introduced into the code. > > > > Thanks, > > Eric Rosenberg > --=_alternative 006CFF3985257129_= Content-Type: text/html; charset="US-ASCII"
That's documented pretty clearly in the manual.
____________________________________________________________________________________________
Jeffrey E. (Jeff) Care
IBM WebSphere Application Server Development
WAS Pyxis Lead Release Engineer
WebSphere Mosiac
WebSphere Brandmark



"Rosenberg, Eric" <eric.rosenberg@ngc.com> wrote on 03/06/2006 01:39:51 PM:

> I am running ant 1.6.2.
>
>  
>
> I just realized that the javac task is taking the classpath that I
> specify and adding the classpath that I have started ant with to it. Is
> there a way to make it not do that?
>
>  
>
> I have junit.jar in Ant's class path so that I can use the junit task in
> another target. However, I do not want to compile with junit.jar in my
> classpath because I want the build to break if any dependencies on test
> classes have been introduced into the code.
>
>  
>
> Thanks,
>
> Eric Rosenberg
>
--=_alternative 006CFF3985257129_=-- --=_related 006CFF3985257129_=--