Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 54964 invoked from network); 20 Apr 2010 21:23:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Apr 2010 21:23:54 -0000 Received: (qmail 42532 invoked by uid 500); 20 Apr 2010 21:23:54 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 42501 invoked by uid 500); 20 Apr 2010 21:23:54 -0000 Mailing-List: contact ivy-user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@ant.apache.org Delivered-To: mailing list ivy-user@ant.apache.org Received: (qmail 42493 invoked by uid 99); 20 Apr 2010 21:23:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Apr 2010 21:23:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [68.142.200.146] (HELO web30803.mail.mud.yahoo.com) (68.142.200.146) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 20 Apr 2010 21:23:46 +0000 Received: (qmail 17266 invoked by uid 60001); 20 Apr 2010 21:23:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1271798604; bh=sHRly32bFZmEJqBOdNHuLzRWawmuMJQY70CHwkajk10=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=VcT9WUkPXsYJJNxCQz6UbbqYLN72XrWEq+FDEYieCDPVT2lH/IHmg2jOOaBKlym3ObHJB39tShFiRtpBIkTHvCuWmqVp8H831oIKNfdwpOKZJ8zFf2+gy5BNNblVo5tnDrOvTQuplgvSejXSoELCN/cSNams5BD329OamxlN44k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=sox7pyngXPHFltt1xyxtfPJZ2q4hsqNFOovq61fCqvYjlMN4W7XdA4LbxL10DMOImt2lb/I0XW6Uc7P86DDEWQpJAVW+sKG6ITuCHMOTty6Uu1L9BgYBElDroZytUPCB1Rb7lSqd9SKniwJK/Rfcuo0I8p3OhD0KPV4cPOJH2MM=; Message-ID: <829814.17242.qm@web30803.mail.mud.yahoo.com> X-YMail-OSG: hHH1T8EVM1mr7fbOBo48j_42umkWVpKRa_8IpGx8siTD5Yt zvk3na7PMc5SwMfe4Tqb87h7YFFkZjopPFOB7fHWWXgb4yxaMHGVhKVaQEKJ Sx6J4hEi3jypQNiM9ud69Xxysy8BET..VgieCjSbqH24sGD4VcWwQTI8ZjKO fExIg0YQ_9tNsVJkMRUKKJTfuwQzUNq4HUujBVRXopNBiJe.XxHz7DRcoya6 229y55ZxHt5MifOFS0Zov1KUCC9j6Fvrwik4Lhx3COvh228FviU3HZ5Wqnqj z5lQKQN3y97_z.ClT.HShYlQ9O6X4dN0xn2K89SSC7qNdkfvb6DFl2ZXtK6V kLFM- Received: from [81.240.71.250] by web30803.mail.mud.yahoo.com via HTTP; Tue, 20 Apr 2010 14:23:24 PDT X-Mailer: YahooMailRC/348.5 YahooMailWebService/0.8.102.267879 References: <006a01cadfbe$08d1ade0$1a7509a0$@com> Date: Tue, 20 Apr 2010 14:23:24 -0700 (PDT) From: Maarten Coene Subject: Re: filesystem resolver for win/mac To: ivy-user@ant.apache.org In-Reply-To: <006a01cadfbe$08d1ade0$1a7509a0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org Maybe you can work with variables and specify your pattern as "${repo.root}/[organisation]/..." in your settings.xml? In you Ant build.xml, you can give the properrty "repo.root" an appropriate value. Maarten ----- Original Message ---- From: Troy Self To: ivy-user@ant.apache.org Sent: Mon, April 19, 2010 2:44:21 PM Subject: filesystem resolver for win/mac Is there a path format that allows me to specify a filesystem URL that works in Windows and MacOS? If you put pattern="/mydirectory/ivyrepo" then Ivy complains that the path must be absolute. The only way I've been able to do that in Windows is to specify pattern="c:/mydirectory/ivyrepo", which then fails on a Mac. Is there an Ivy property I can reference that is the root drive? I'd like to use something similar to how ant lets you do this: Putting "location=" tells Ant to substitute an absolute path. Can I do that in the ivysettings.xml file somehow? Thanks, -- tBs