Return-Path: Delivered-To: apmail-ant-ivy-user-archive@www.apache.org Received: (qmail 26607 invoked from network); 8 May 2008 09:40:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 09:40:12 -0000 Received: (qmail 5152 invoked by uid 500); 8 May 2008 09:40:14 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 4945 invoked by uid 500); 8 May 2008 09:40:13 -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 4930 invoked by uid 99); 8 May 2008 09:40:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 02:40:13 -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; Thu, 08 May 2008 09:39:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Ju2bD-0000lE-T2 for ivy-user@ant.apache.org; Thu, 08 May 2008 02:39:39 -0700 Message-ID: <17123845.post@talk.nabble.com> Date: Thu, 8 May 2008 02:39:39 -0700 (PDT) From: Daniel Adrian To: ivy-user@ant.apache.org Subject: Retriving a dependency (findbugs) with file structure other than the default one MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: paradoxpixel@gmail.com X-Virus-Checked: Checked by ClamAV on apache.org Hi, I'm trying to add the findbugs tool as a dependency for a project, as another configuration. findbugs needs a specific folder structure for it to work, all the libs are in the lib folder and all the plugins are in the plugins folder. I wasn't able to find a way to define it with ivy. My retrieve pattern is {project.lib.folder}/[conf]/[module]/[artifact].[ext], which works well for all the other normal dependencies. I didn't find a way to put the artifacts of the module or the dependencies of the the module in a specific place within the libs folder. I could just put all the libs and the plugins in the findbugs module and when ivy retrieves it the folder structure will be correct, but it's not an elegant solution. The other thing I tried was to zip it all up and then expend it after ivy retrieved it (using the http://ant.apache.org/ivy/history/latest-milestone/configuration/triggers.html trigger from the documentation ), to {project.lib.folder}/[conf]/[module]. I had 2 problems here: 1) There was no way to get the configuration name of the module. Tried ${dep.conf} and ${dep.configuration}. 2) When I hard coded the configuration name, it didn't work because the sync option is on and I think it just deleted it. I looked at the ibiblio http://mirrors.ibiblio.org/pub/mirrors/maven2/findbugs/findbugs-ant/1.0.0/findbugs-ant-1.0.0.pom pom file which just takes the files from their scm. Has anyone tried to do the same? Thank you for your help, Daniel -- View this message in context: http://www.nabble.com/Retriving-a-dependency-%28findbugs%29-with-file-structure-other-than-the-default-one-tp17123845p17123845.html Sent from the ivy-user mailing list archive at Nabble.com.