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 88506 invoked from network); 12 Oct 2000 15:16:12 -0000 Received: from internix.rkdnet.de (HELO mail.rkdnet.de) (194.112.89.193) by locus.apache.org with SMTP; 12 Oct 2000 15:16:12 -0000 Received: from ultrastation (unverified [192.168.1.111]) by mail.rkdnet.de (EMWAC SMTPRS 0.83) with SMTP id ; Thu, 12 Oct 2000 17:12:58 +0200 Message-ID: <002f01c0345f$49b48a40$6f01a8c0@ultrastation> From: "Andreas Schildbach" To: References: <018e01c0345a$ad0b8c10$6f01a8c0@ultrastation> Subject: Re: directory problem with ant Date: Thu, 12 Oct 2000 17:15:42 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Stefan Bodewig" To: Sent: Thursday, October 12, 2000 5:05 PM Subject: Re: directory problem with ant > AS> package test; > AS> public class Hello ... > > AS> > > AS> MY PROBLEM: > > AS> ant generates a "test"-subdirectory for the .class-files ==> > AS> d:\classes\test\test\Hello.class > > This is expected behavior, it is not Ant that is creating the > subdirectory but javac/jikes. The class resides in the package test, > destdir is the root of the hierarchy so the resulting class gets into > destdir/test/. > > AS> I tried to use destdir="d:\classes", but in this case ant decides > AS> to _not_ use that "test"-directory ==> d:\classes\Hello.class > > Well, this is something I've never seen - and I can't reproduce it > either (maybe because I don't have a Windows box at hand). Does it > work if you use destdir=".."? In this case, ant generates the .class file at the right place, but the dependancy check does not work (the class is compiled each time I invoke ant)... Strange behaviour! - Andreas