Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@jakarta.apache.org Received: (qmail 4140 invoked by uid 500); 8 Oct 2001 09:16:00 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: ant-user@jakarta.apache.org Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 4131 invoked from network); 8 Oct 2001 09:15:59 -0000 X-Server-Uuid: c1a1d5b0-241c-11d4-9250-00c04f0af475 Message-ID: From: "=?utf-8?B?UmljaGFyZCBXaWxraW5zb24=?=" To: "=?utf-8?B?J2FudC11c2VyQGpha2FydGEuYXBhY2hlLm9yZyc=?=" Subject: =?utf-8?B?UkU6IENpcmN1bGFyIGJ1aWxkIHByb2JsZW0u?= Date: Mon, 8 Oct 2001 09:59:23 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2448.0) X-WSS-ID: 17DFACFE278517-01-02 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thanks for that Peter. To be truthful I didn't know you could do that (I'm no Ant expert). I'll give that a shot. Thanks again. Richard -----Original Message----- From: Peter Donald [mailto:donaldp@apache.org] Sent: Monday, October 08, 2001 9:57 AM To: ant-user@jakarta.apache.org Subject: Re: Circular build problem. Question - why on earth do you have multiple javacs? Why don't you put it in one big javac element if you want to build them together. ;) On Mon, 8 Oct 2001 18:29, Richard Wilkinson wrote: > I'm having trouble with a circle dependency in a package. > > Package A > Package B > > L-------Package C > > Package A contains base classes for both package B and C. > Package B contains class B. > Package C contains class C. > > Class B aggregates class C, but class C has a back pointer to class A. > > An extract of the build.xml is as follows. > > > debug="${javacdebug}"> > > > > > > debug="${javacdebug}" > > > > > Package B depends on C so Ant builds C, but C cannot because B hasn't > built. The only solution I can think of is to merge C into B, but this > muddies the water as to what the new package does. Package B and C perform > distinctly different functions, but are tightly coupled. Anyone have any > suggestions? > > Thanks > > Richard > > > --------------------------------------------------------------------------- >-------------- This message is for the named persons use only. It may > contain confidential, proprietary or legally privileged information. No > confidentiality or privilege is waived or lost by any mistransmission. If > you receive this message in error, please immediately delete it and all > copies of it from your system, destroy any hard copies of it and notify the > sender. You must not, directly or indirectly, use, disclose, distribute, > print, or copy any part of this message if you are not the intended > recipient. PROTEK Network Management Group and each of its subsidiaries > reserve the right to monitor all e-mail communications through its > networks. Any views expressed in this message are those of the individual > sender, except where the message states otherwise and the sender is > authorised to state them to be the views of any such entity. -- Cheers, Pete "The fact that a believer is happier than a skeptic is no more to the point than the fact that a drunken man is happier than a sober one. The happiness of credulity is a cheap and dangerous quality." -- George Bernard Shaw ----------------------------------------------------------------------------------------- This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. PROTEK Network Management Group and each of its subsidiaries reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity.