From ivy-user-return-3315-apmail-ant-ivy-user-archive=ant.apache.org@ant.apache.org Mon Jun 02 19:39:32 2008 Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 78411 invoked from network); 2 Jun 2008 19:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jun 2008 19:39:32 -0000 Received: (qmail 96552 invoked by uid 500); 2 Jun 2008 19:39:34 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 96533 invoked by uid 500); 2 Jun 2008 19:39:34 -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 96522 invoked by uid 99); 2 Jun 2008 19:39:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Jun 2008 12:39:34 -0700 X-ASF-Spam-Status: No, hits=-3.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [64.18.0.145] (HELO exprod5og103.obsmtp.com) (64.18.0.145) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 02 Jun 2008 19:38:36 +0000 Received: from source ([69.48.200.224]) by exprod5ob103.postini.com ([64.18.4.12]) with SMTP; Mon, 02 Jun 2008 12:38:56 PDT Received: (qmail 20748 invoked by uid 509); 2 Jun 2008 14:38:56 -0500 Received: from 10.20.1.54 by sgp-ns-01.pointserve.com (envelope-from , uid 507) with qmail-scanner-1.25-st-qms (clamdscan: 0.87/3572. spamassassin: 3.1.9. perlscan: 1.25-st-qms. Clear:RC:1(10.20.1.54):. Processed in 0.045305 secs); 02 Jun 2008 19:38:56 -0000 X-Antivirus-MYDOMAIN-Mail-From: rloehr@pointserve.com via sgp-ns-01.pointserve.com X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(10.20.1.54):. Processed in 0.045305 secs Process 20741) Received: from unknown (HELO exchange2007.pointserve.com) (10.20.1.54) by sgp-ns-01.pointserve.com with RC4-MD5 encrypted SMTP; 2 Jun 2008 14:38:56 -0500 Received: from SGP-EXCHANGE.pointserve.com ([10.20.1.51]) by exchange2007.pointserve.com ([10.20.1.54]) with mapi; Mon, 2 Jun 2008 14:38:56 -0500 From: "Loehr, Ruel" To: "ivy-user@ant.apache.org" Date: Mon, 2 Jun 2008 14:38:55 -0500 Subject: RE: Configurations really hard to understand Thread-Topic: Configurations really hard to understand Thread-Index: AcjE5xnpBiT0J06aSuO1mRD5UtG2EgAAGkk9 Message-ID: <93B3B6122B906D44BC7E8B8CEFB0DBBB18448FA50B@SGP-EXCHANGE.pointserve.com> References: <12053693.post@talk.nabble.com> <6.2.5.6.2.20070814122628.02c79fd0@bea.com> <87282422.20070814170342@gmail.com> <46C3317D.1080101@gmail.com> <635a05060708151029y5afce993m4da36e407737a91e@mail.gmail.com> <46C342FB.1090208@gmail.com> <43C7278FD7C46E42A193246BC2FEDA5C11B865@PTSCORP-EXCH.pointserve.com> <635a05060708151148g35994371qf0731b6b821e9d4@mail.gmail.com> <17607004.post@talk.nabble.com> <93B3B6122B906D44BC7E8B8CEFB0DBBB18448FA507@SGP-EXCHANGE.pointserve.com>,<17608947.post@talk.nabble.com> In-Reply-To: <17608947.post@talk.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Shouldn't the servlet api just be a compile time need? I would try doing = this: //i make the servlet api a compile time dependency. At runtime, your serv= let container should have it //when you publish this module, you would need to publish the runtime confi= guration at minimum. //i haven't used the defaultconfmapping before as an fyi, not sure what beh= avior that will change runtime(*)"> compile(*)"> //here i say i want to use coretools in my compile configuration and= I want to to use published runtime configuration (it should not have serve= lt api). runtime"/> ..... ________________________________________ From: buzzterrier [terry.jeske@gmail.com] Sent: Monday, June 02, 2008 2:29 PM To: ivy-user@ant.apache.org Subject: RE: Configurations really hard to understand Thx Ruel, I created a "runtime" conf on the servlet-api dependency on my coreTools api. I then added coreTools api as a dependency in my web app, but gave it = a "compile" conf. Since the web app was using a "compile" configuration, I thought that it would ignore the "runtime" dependency on coreTools api. for example, here is the coreTools api: runtime(*)"> and here is the web app using a compile conf: compile(*)"> ..... But building the reports module still pulls down servlet-api from coreTools= . [ivy:retrieve] confs: [compile] [ivy:retrieve] found com.foo#coreTools;10 in projects [ivy:retrieve] [10] com.foo#coreTools;latest.integration [ivy:retrieve] found javax.servlet#servlet-api;2.4 in libraries ruel loehr wrote: > > Yes, I struggled with it too at first. > > In my main project, I usually publish a directory config called runtime > which just has the absolute necessary runtime dependencies. > > Then for any project which consumes my original one, I define a compile > configuration which "eat" the runtime one. > > conf=3D"compile->runtime" > > > -- View this message in context: http://www.nabble.com/Problem-with-host-name-= over-https-tp12053693p17608947.html Sent from the ivy-user mailing list archive at Nabble.com.