Return-Path: X-Original-To: apmail-ant-ivy-user-archive@www.apache.org Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C92336474 for ; Wed, 1 Jun 2011 13:22:27 +0000 (UTC) Received: (qmail 26927 invoked by uid 500); 1 Jun 2011 13:22:27 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 26887 invoked by uid 500); 1 Jun 2011 13:22:26 -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 26879 invoked by uid 99); 1 Jun 2011 13:22:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 13:22:26 +0000 X-ASF-Spam-Status: No, hits=4.0 required=5.0 tests=FREEMAIL_FROM,FREEMAIL_REPLY,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jmagno.ti@gmail.com designates 209.85.218.45 as permitted sender) Received: from [209.85.218.45] (HELO mail-yi0-f45.google.com) (209.85.218.45) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Jun 2011 13:22:20 +0000 Received: by yib19 with SMTP id 19so2633100yib.4 for ; Wed, 01 Jun 2011 06:21:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=BPyYmcTBgA9BbzINU5tJMFDe+F9TGtactAX5L2zY/8o=; b=fo+1lK7c49jGCm7jY0ahJ5scTJIufnJcH1ebbWsew6kY1pKeJjQpNlYucrHiThWA4I Wpch9EDm4S8Ngz29TNFxPIAMJyduPvF3iB7dfcAEorlpD+swZme333UO/Yc0HHCSu49A PpRp5vnOZ3Fd7r2GNTSrNauJ0mrQlIgQkmbeE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=ZqMeyYA2fBkhhbCeEY0/JKpWrqamTiSJ9UnYsL5+/57h9bwT0wRXVjw598br018GZx wCTkERO7uooRJMZ1za9ahGNc+9UKEoLZENRQIJEUlPgiN/U7CCAHLaoOfmBnCRrfVIFg 5s7jD+AKLvqz3lZwTOdUyvCO+Mym7OckKwdSs= MIME-Version: 1.0 Received: by 10.150.26.17 with SMTP id 17mr6137462ybz.437.1306934519406; Wed, 01 Jun 2011 06:21:59 -0700 (PDT) Received: by 10.151.51.9 with HTTP; Wed, 1 Jun 2011 06:21:59 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Jun 2011 10:21:59 -0300 Message-ID: Subject: Re: Strange dependency resolution From: Jefferson Magno Solfarello To: ivy-user@ant.apache.org Content-Type: multipart/alternative; boundary=000e0cd6ee4ec6210c04a4a667fd --000e0cd6ee4ec6210c04a4a667fd Content-Type: text/plain; charset=ISO-8859-1 Hi Geoff, thanks for the information, It is working for me now But ... I have a question: the documentation says: "This feature gives you more control on a dependency for which you do not control its ivy file. It enables to specify the artifacts required, if the dependency has no ivy file. " I control the Ivy file, which is published with my module and declares just the war file. There is no jar declared into it. I don't understand why Ivy tries to get the jar file. Any idea? Thanks a lot Jefferson 2011/5/31 Not Zippy > I have done it that way for a few of my projects. > > On Tue, May 31, 2011 at 2:59 PM, Geoff Clitheroe >wrote: > > > I haven't done this but I'm pretty sure you could add an artifact > > child to dependency with type war. > > > > > > > http://ant.apache.org/ivy/history/latest-milestone/ivyfile/dependency-artifact.html > > > > I would try something like the last example except with type war. > > > > Cheers, > > Geoff > > > > > > On Wed, Jun 1, 2011 at 7:15 AM, Jefferson Magno Solfarello > > wrote: > > > Hello all, I have two projects here: > > > > > > One called *bp.ws.bp.ws.brokerinformation.war* > > > And other called *bp.ws.bp.ws.brokerinformation.ear * > > > > > > The idea of the ear project is to assemble an ear file with the war > file > > and > > > a specific application.xml file > > > > > > On the bp.ws.bp.ws.brokerinformation.*war*, I have on my ivy.xml: > > > > > > > > > > ext="war"/> > > > > > > > > > So, it publishes a file called bp.ws.brokerinformation*.war.war* > > > It's a requirement here (and not a problem) having .war twice (one for > > the > > > name of the project and other for the extension of the file) > > > > > > On the bp.ws.bp.ws.brokerinformation.*ear*, I have: > > > > > > > > > > > transitive="false"/> > > > > > > > > > The dependency is module level, right? > > > When I run on it, Ivy is trying to find the file > > > bp.ws.brokerinformation.*war.jar* that is not in my repository, I have > > there > > > bp.ws.brokerinformation.*war.war* > > > > > > Am I doing something wrong? > > > > > > Regards, > > > > > > Jefferson > > > > > > --000e0cd6ee4ec6210c04a4a667fd--