Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 82873 invoked from network); 23 Sep 2008 17:38:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Sep 2008 17:38:56 -0000 Received: (qmail 73009 invoked by uid 500); 23 Sep 2008 17:38:53 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 72993 invoked by uid 500); 23 Sep 2008 17:38:52 -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 72982 invoked by uid 99); 23 Sep 2008 17:38:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 10:38:52 -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 [69.36.245.73] (HELO bachelor.silverspringnet.com) (69.36.245.73) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Sep 2008 17:37:54 +0000 Received: from SILVERSTAR.silverspringnet.com ([10.200.1.12]) by bachelor.silverspringnet.com (8.14.1/8.13.8) with ESMTP id m8NHdfXn029835 for ; Tue, 23 Sep 2008 10:39:42 -0700 (PDT) Received: from bdamm-workhorse.local ([10.90.129.69]) by SILVERSTAR.silverspringnet.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 23 Sep 2008 10:38:24 -0700 From: Benjamin Damm Organization: Silver Spring Networks To: ivy-user@ant.apache.org Subject: Depending on bouncycastle Date: Tue, 23 Sep 2008 10:38:41 -0700 User-Agent: KMail/1.9.9 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200809231038.42094.bdamm@silverspringnet.com> X-OriginalArrivalTime: 23 Sep 2008 17:38:24.0673 (UTC) FILETIME=[2E145910:01C91DA3] X-Virus-Checked: Checked by ClamAV on apache.org Hi ivy users, I've started to integrate ivy with our build process, and it is fantastic. There's something I'm having trouble with, though, and that's understanding how to depend on bouncycastle. It comes in at least two flavors; one for jdk15 and one for jdk16. We have developers on both and previously had our build scripts pick the right one depending on what version of java ant was run under. How to do this with ivy? Ivy doesn't appear to have any conditional dependency abilities, so I can't choose one artifact or another based on what version of java I'm running. I suppose I could generate an ivy.xml "just-in-time" but I'd prefer not to. Anyone surpassed this little hurdle? Thank you, -Ben -- Benjamin Damm Silver Spring Networks 650-298-4200 x201