From user-return-45342-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Aug 26 13:39:12 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 72240 invoked from network); 26 Aug 2004 13:39:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 26 Aug 2004 13:39:12 -0000 Received: (qmail 6431 invoked by uid 500); 26 Aug 2004 13:38:59 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 6398 invoked by uid 500); 26 Aug 2004 13:38:59 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 6385 invoked by uid 99); 26 Aug 2004 13:38:59 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received: from [66.218.78.124] (HELO web40507.mail.yahoo.com) (66.218.78.124) by apache.org (qpsmtpd/0.27.1) with SMTP; Thu, 26 Aug 2004 06:38:55 -0700 Message-ID: <20040826133854.8452.qmail@web40507.mail.yahoo.com> Received: from [141.113.101.22] by web40507.mail.yahoo.com via HTTP; Thu, 26 Aug 2004 06:38:54 PDT Date: Thu, 26 Aug 2004 06:38:54 -0700 (PDT) From: Angeshwar Deepak Subject: Re: "classpath" attribute in the "javac" task To: Ant Users List In-Reply-To: <287065666@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, It is something like typing SET CLASSPATH=D:\abcd\ant-1.5\lib\Tidy.jar; in the command prompt and then running javac to get the class file. bye, with regards, Deepak. --- Samar Hossam wrote: > Hi everyone, > > I am new to Ant and I would like to ask you for > help. > > I was reading in the Ant's manual when I encountered > this example: > > destdir="${build}" > classpath="xyz.jar" > debug="on"/> > > This task compiles all .java files under the ${src} > directory, and stores the .class files in the > ${build} directory. The classpath used includes > xyz.jar, and compiling with debug information is on. > > My question is: Why do I need to point to a .jar > file using the classpath, when I have all my sources > in the ${src} directory and after the compilation > I'll get all the classes in the ${build} directory? > > I'd appreciate your help. > > Regards, > Samar Hossam > > _______________________________________________________ > WEB.DE Video-Mail - Sagen Sie mehr mit bewegten > Bildern > Informationen unter: > http://freemail.web.de/?mc=021199 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@ant.apache.org > For additional commands, e-mail: > user-help@ant.apache.org > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org