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 505807691 for ; Fri, 16 Sep 2011 03:42:22 +0000 (UTC) Received: (qmail 99617 invoked by uid 500); 16 Sep 2011 03:42:21 -0000 Delivered-To: apmail-ant-ivy-user-archive@ant.apache.org Received: (qmail 99578 invoked by uid 500); 16 Sep 2011 03:42:20 -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 Delivered-To: moderator for ivy-user@ant.apache.org Received: (qmail 63501 invoked by uid 99); 15 Sep 2011 22:02:31 -0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,352,1309762800"; d="scan'208,217";a="48904789" From: "Obendorf, Keston" To: "ivy-user@ant.apache.org" Date: Thu, 15 Sep 2011 15:01:58 -0700 Subject: [conf] in artifactspattern Thread-Topic: [conf] in artifactspattern Thread-Index: Acxz8xb8psujYYPIQB+lfW5uns5y8Q== Message-ID: <43F901BD926A4E43B106BF17856F075501947FBEF8@orsmsx508.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_43F901BD926A4E43B106BF17856F075501947FBEF8orsmsx508amrc_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_43F901BD926A4E43B106BF17856F075501947FBEF8orsmsx508amrc_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is it possible to use [conf] in the artifactspattern for ivy:publish? A little bit of background, our product needs to be compiled a little diffe= rently for creating different installers, and so what happens is we just re= build those binaries with a different Configuration which defines a conditi= onal compilation symbol (Our code is in .Net). This creates multiple binari= es with the same name, but with different code inside. We build these to bi= n\binaries, bin\external_binaries, etc., depending on the configuration. So for our Ivy files, I was thinking that we could separate these as differ= ent Ivy conf's. With that decided, publishing the binaries will require [co= nf] in the artifactspattern: When I run this task, I fail to publish anything: impossible to publish artifacts for cevt#Kernel;0: java.io.IOException: mis= sing artifact cevt.ssa#Kernel;0!SSA.dll However, if I replace [conf] with an explicit name, it publishes fine. In the Ivy documentation it mentions that which properties are available ca= n depend on what operation you are doing. Am I right in assuming [conf] is = not available in ivy:publish artifactspattern? Also, here's the resolver, if it matters to the question: And the relevant parts of the ivy file. ...... ...... --_000_43F901BD926A4E43B106BF17856F075501947FBEF8orsmsx508amrc_--