Return-Path: Delivered-To: apmail-incubator-ivy-user-archive@locus.apache.org Received: (qmail 4205 invoked from network); 22 Aug 2007 13:37:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Aug 2007 13:37:57 -0000 Received: (qmail 12510 invoked by uid 500); 22 Aug 2007 13:37:54 -0000 Delivered-To: apmail-incubator-ivy-user-archive@incubator.apache.org Received: (qmail 12490 invoked by uid 500); 22 Aug 2007 13:37:54 -0000 Mailing-List: contact ivy-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ivy-user@incubator.apache.org Delivered-To: mailing list ivy-user@incubator.apache.org Received: (qmail 12481 invoked by uid 99); 22 Aug 2007 13:37:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 06:37:54 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 13:37:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1INqOp-00059c-2v for ivy-user@incubator.apache.org; Wed, 22 Aug 2007 06:37:31 -0700 Message-ID: <12274854.post@talk.nabble.com> Date: Wed, 22 Aug 2007 06:37:30 -0700 (PDT) From: bhatia To: ivy-user@incubator.apache.org Subject: resolve errors related to configuration MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: Bhatia@OFAC.CH X-Virus-Checked: Checked by ClamAV on apache.org Hello, I make an ivy file from .project and .websettings files in Eclipse where .project is for compile-time dependencies and .websettings for run-time dependencies. I am trying to specify these configurations in my ivy.xml file and the logic I am using is as follows. If a dependency is coming from a .project file, I specify conf="compile" in my attribute and if it is coming from a .websettings file, I specify conf="run". If a particular dependency exists in both Eclipse files, I specify it as conf="compile,run". Is this the right way ? Since our projects have circular dependencies at compile-time, I also specify the attribute transitive="true" for compile-time deps just for clarity although I know its not really needed since by default its "true" anyway. For run-time dependencies, I specify the attribute transitive="false". If a particular dependency exists in both "compile" and "run" configs, I specify transitive="false". The following is what I am trying to achieve: 1) Resolving on a compile time config must get me compile time artifacts transitively 2) Resolving on a run time config must get me run time artifacts only non-transitively 3) I want the flexibility to chose which configuration I want to publish to the repository. If its run-time, then I should be able to fetch run-time artifacts into my web project's /WEB-INF/lib, package them into a war and publish. Is it possible to specify this in a tag ? This is how I started doing all this. I dont know if its the right way to go about it though and I am seeking your inputs on this. All that I know is that our projects our heavily circularly dependant at compile-time. Here it goes. To specify that web project "nr" has 2 configurations and that all its dependencies participate in these configurations: ****************************************************************** **************************************************************************3 I am using the same logic for each artifact's ivy file in the repository too. Is this the right way to specify my configs ? thanks -- View this message in context: http://www.nabble.com/resolve-errors-related-to-configuration-tf4311679.html#a12274854 Sent from the ivy-user mailing list archive at Nabble.com.