Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 28751 invoked from network); 2 Sep 2002 13:55:34 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Sep 2002 13:55:34 -0000 Received: (qmail 28145 invoked by uid 97); 2 Sep 2002 13:55:49 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 28028 invoked by uid 97); 2 Sep 2002 13:55:47 -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 27886 invoked by uid 98); 2 Sep 2002 13:55:46 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-user@jakarta.apache.org Subject: Re: javac and src tags References: <2D6ADFE4D17AD411B96600D0B790EF4002265EE9@salem.placeware.com> From: Stefan Bodewig Date: 02 Sep 2002 15:55:07 +0200 In-Reply-To: <2D6ADFE4D17AD411B96600D0B790EF4002265EE9@salem.placeware.com> Message-ID: Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 23 Aug 2002, Glenn Kidd wrote: > I am compiling some classes in a folder call it src, the JUnit test > classes are in a folder called test. I want to be able to compile > both using the same javac. That is all fine, I accomplished this by > using 2 src tags inside the javac task. The alternative: ... This may look more complicated, but ... > We are trying to use this build script for multiple projects, the > problem is that in some projects the test directory does not exist > and this causes the target to fail. If either of both directories is not there, it will not be included in the dirset and thus not show up in the path (requires Ant 1.5). Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: