Return-Path: Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 59479 invoked from network); 16 Jun 2000 15:57:06 -0000 Received: from mail.rpi.edu (root@128.113.100.7) by locus.apache.org with SMTP; 16 Jun 2000 15:57:06 -0000 Received: from cortez.sss.rpi.edu (rooneg@cortez.sss.rpi.edu [128.113.113.33]) by mail.rpi.edu (8.9.3/8.9.3) with ESMTP id LAA342198 for ; Fri, 16 Jun 2000 11:57:05 -0400 Received: from localhost (rooneg@localhost) by cortez.sss.rpi.edu (8.8.5/8.8.6) with SMTP id LAA134406 for ; Fri, 16 Jun 2000 11:57:20 -0400 X-Authentication-Warning: cortez.sss.rpi.edu: rooneg owned process doing -bs Date: Fri, 16 Jun 2000 11:57:20 -0400 (EDT) From: Garrett Rooney X-Sender: rooneg@cortez.sss.rpi.edu To: ant-dev@jakarta.apache.org Subject: stupid newbie questions Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N so in an attempt to free my project from the hell that is make, i'm trying to get a build system setup using ant. first problem: we use jdk1.3, and in the 3.1 release of ant, the doModernCompile method in Javac.java is empty except for a logging message that leads you to believe that more is being done than actually is. as a stopgap measure, i copied the doClassicCompile method into the doModernCompile method, and it seems to function. is there any good reason not to do this? in retrospect, i'm assuming this is probably fixed in the cvs version, but that didn't occur to me at the time. second problem. now that i'm able to get ant to compile things, the srcdir and destdir portions of the tag seem to be acting weird. srcdir is pointing to the root of our development tree (a directory called rcn), and destdir is pointing to the build directory. when i run ant, it places all the compiled classes in build/rcn (rcn is the name of the project, and the name of the srcdir), and then copies all non .java files into build. so the class files end up in a different directory structure than the other files. is there any way to simply have ant compile the .java files in place, and refrain from copying anything anywhere? that's how our current makefile system works, and we're fine with that. here's the build.xml file i've been playing with... (you know, i've got this feeling i'll figure out my stupid mistake as soon as i send this mail, but oh well) thanks, -garrett x----------------------------------------------------------------------x | rooneg@rpi.edu garrett rooney | | http://www.rpi.edu/~rooneg unix geek | |----------------------------------------------------------------------| | unrequited love is neat because it lasts so much longer - w. t. c. | x----------------------------------------------------------------------x