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 9562 invoked from network); 24 Sep 2000 16:01:24 -0000 Received: from web219.mail.yahoo.com (128.11.68.119) by locus.apache.org with SMTP; 24 Sep 2000 16:01:24 -0000 Message-ID: <20000924160123.30969.qmail@web219.mail.yahoo.com> Received: from [24.25.9.60] by web219.mail.yahoo.com; Sun, 24 Sep 2000 09:01:23 PDT Date: Sun, 24 Sep 2000 09:01:23 -0700 (PDT) From: J Kary Subject: RE: Newbie Question To: ant-dev@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Thank you! JK --- Conor MacNeill wrote: > Jason, > > > > -----Original Message----- > > From: J Kary [mailto:jkary_98@yahoo.com] > > Sent: Sunday, 24 September 2000 6:01 > > To: ANT MAILING LIST > > Subject: Newbie Question > > > > > > app/corefile1.java > > app/corefile2.java > > app/pkg1/file1.java > > app/pkg1/file2.java > > > > > > How do I tell ANT to just build the core files? Does ANT take care > of > > depends like: > > Add an include element to the javac task like this > > > > > This will only include those files in the unnamed package. > > > > > corefile1.java depends on pkg1/file1.java AND > > pkg1/file1.java depends on corefile1.java > > > > In the above case you need to do a 'javac corefile1.java > > pkg1/file1.java > > ' > > ant won't take care of it but the underlying compiler used by ant > should. By > that I mean the compiler will find pkg1/file.java when compiling > corefile1.java and compile it if necessary. It will not, however, > necessarily recompile corefile1.java if pkg1/file.java is updated. > > I should also add that the Java language spec does not encourage the > use of > the unamed package. > > "Unnamed packages are provided by the Java platform principally for > convenience when developing small or temporary applications or when > just > beginning development. " > > Good Luck > Conor > __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/