Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 99552 invoked from network); 28 Oct 2008 06:04:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Oct 2008 06:04:40 -0000 Received: (qmail 69850 invoked by uid 500); 28 Oct 2008 06:04:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 69802 invoked by uid 500); 28 Oct 2008 06:04:37 -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 69791 invoked by uid 99); 28 Oct 2008 06:04:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Oct 2008 23:04:37 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [193.109.238.66] (HELO dnsinet.rzf-nrw.de) (193.109.238.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Oct 2008 06:03:23 +0000 Received: from z011100.bk.fin.local (z011100.bk.fin.local [172.18.101.140]) by dnsinet.rzf-nrw.de (8.14.0/8.14.0) with ESMTP id m9S641nF008201 for ; Tue, 28 Oct 2008 07:04:01 +0100 Received: from z011102.bk.fin.local ([130.11.7.102]) by z011100.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 28 Oct 2008 07:04:01 +0100 Received: from z011021.bk.fin.local ([130.11.7.21]) by z011102.bk.fin.local with Microsoft SMTPSVC(6.0.3790.1830); Tue, 28 Oct 2008 07:04:01 +0100 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: How to access the basedir of ANOTHER project in Eclipse? Date: Tue, 28 Oct 2008 07:04:01 +0100 Message-ID: <9EE86F1965E19E499C80DE52AC807B5501B6F5A2@z011021.bk.fin.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: How to access the basedir of ANOTHER project in Eclipse? Thread-Index: Ack4g3WIHzpDzlWnRlq9uMSTXZjrPwAPzqVQ References: <14806.21334.bm@omp215.mail.ukl.yahoo.com> From: To: X-OriginalArrivalTime: 28 Oct 2008 06:04:01.0633 (UTC) FILETIME=[F96E3510:01C938C2] X-Virus-Checked: Checked by ClamAV on apache.org AFAIK you cant: - Ant doesnt know anything about Eclipse.=20 - An Eclipse workspace knows its projects but a project does not know = its workspace. Therefore parsing the .classpath and .project files wouldnt help. =20 Jan >-----Urspr=FCngliche Nachricht----- >Von: Ben Stover [mailto:bxstover@yahoo.co.uk]=20 >Gesendet: Montag, 27. Oktober 2008 23:27 >An: user@ant.apache.org >Betreff: How to access the basedir of ANOTHER project in Eclipse? > >Assume I use a build.xml in Project AAA. >As part of a property definition I want to define a folder from=20 >ANOTHER project BBB within the same Eclipse installation. > >However the actual path should NOT be entered directly (=3Dabsolute) = but=20 >relative to the current workspace. It should go similar like: > >value=3D"${basedirofcurrentworkspace}/projectBBB/src" /> > >How can I refer this external dir with Ant? =20 > =20 > >Ben > > > > >--------------------------------------------------------------------- >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