Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 14733 invoked from network); 28 Dec 2001 23:28:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 28 Dec 2001 23:28:36 -0000 Received: (qmail 9131 invoked by uid 97); 28 Dec 2001 23:28:26 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 9085 invoked by uid 97); 28 Dec 2001 23:28:25 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 9069 invoked from network); 28 Dec 2001 23:28:24 -0000 X-WM-Posted-At: MailAndNews.com; Fri, 28 Dec 01 18:28:20 -0500 X-WebMail-UserID: sdgoldst Date: Fri, 28 Dec 2001 18:28:20 -0500 Sender: Scott Goldstein From: Scott Goldstein To: "Ant Users List" X-EXP32-SerialNo: 50000000 Subject: RE: compiling current directory Message-ID: <3C2EEEC5@MailAndNews.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.62 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N This means the srcdir shouldn't contain the relative path of the package. So, for instance, in the your source is in C:\src and the file you want to compile is C:\src\com\foo\A.java, you should have Instead, you need something like (Note: I haven't tested this, but it should give you the general idea.) Scott >===== Original Message From "Ant Users List" ===== >I am trying to set up a target that will compile the directory I ran ant >from along with any subdirectories. For instance if c:\dev is in my >classpath and I am in the c:\dev\foo directory, I want to compile all of >the .java files in foo and all of it's subdirectories. > > > > > ------------------------------------------------------------ "Just a mirror for the sun... My smiling eyes are just a mirror for the sun." ------------------------------------------------------------ -- To unsubscribe, e-mail: For additional commands, e-mail: