Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 51300 invoked from network); 1 Nov 2005 15:26:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 15:26:41 -0000 Received: (qmail 14375 invoked by uid 500); 1 Nov 2005 15:26:32 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 14320 invoked by uid 500); 1 Nov 2005 15:26:32 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 14292 invoked by uid 99); 1 Nov 2005 15:26:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 07:26:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.179.62.12] (HELO excraa02.rwn.com) (212.179.62.12) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 01 Nov 2005 07:26:24 -0800 Received: from excraa01.rwn.com ([10.168.2.34]) by excraa02.rwn.com with Microsoft SMTPSVC(6.0.3790.211); Tue, 1 Nov 2005 17:26:05 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Classpath in external file Date: Tue, 1 Nov 2005 17:26:05 +0200 Message-ID: <677156CC6F06514CADDFCA8015C76A77021F2ADB@excraa01.RWN.Com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Classpath in external file Thread-Index: AcXe9NdneckbwU/gTVqPQdMbeLk9nQAAdOywAABsHdA= From: "Uri Zeituni" To: "Ant Users List" X-OriginalArrivalTime: 01 Nov 2005 15:26:05.0259 (UTC) FILETIME=[933029B0:01C5DEF8] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N That's a good idea (how didn't I think about it?). Thanks! -----Original Message----- From: Jon Skeet [mailto:Jon.Skeet@clearswift.com] Sent: Tuesday, November 01, 2005 5:13 PM To: Ant Users List Subject: RE: Classpath in external file > I have a situation where I have a few projects, each one have=20 > its own build, but all use the same classpath reference for=20 > compilation. > I have a huge classpath defined, and I don't want to repeat=20 > it in every single script. What I did so far is to define the=20 > classpath in a certain project and then import it in every=20 > other project. This is not possible for me anymore, as the=20 > projects structure is about to change. I can not use the=20 > classapth alone in a file, because ANT requires a target=20 > within a script.=20 > Does anyone have any idea how to solve this issue? Just have a "help" target (with the filename in it or something similar to stop it from overriding anything else) which is the default, and just echoes something like "This file is designed to be imported from other projects". Jon Clearswift monitors, controls and protects all its messaging traffic in = compliance with its corporate email policy using Clearswift products. Find out more about Clearswift, its solutions and services at = http://www.clearswift.com This communication is confidential and may contain privileged = information intended solely for the named addressee(s). It may not be = used or disclosed except for the purpose for which it has been sent. If = you are not the intended recipient, you must not copy, distribute or = take any action in reliance on it. Unless expressly stated, opinions in = this message are those of the individual sender and not of Clearswift. = If you have received this communication in error, please notify = Clearswift by emailing support@clearswift.com quoting the sender and = delete the message and any attached documents. Clearswift accepts no = liability or responsibility for any onward transmission or use of emails = and attachments having left the Clearswift domain. This footnote confirms that this email message has been swept by = MIMEsweeper for Content Security threats, including computer viruses. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org