Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 64227 invoked from network); 19 Oct 2009 21:40:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Oct 2009 21:40:02 -0000 Received: (qmail 38686 invoked by uid 500); 19 Oct 2009 21:40:02 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 38591 invoked by uid 500); 19 Oct 2009 21:40:02 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 38581 invoked by uid 99); 19 Oct 2009 21:40:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 21:40:01 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of alex.boisvert@gmail.com designates 209.85.219.212 as permitted sender) Received: from [209.85.219.212] (HELO mail-ew0-f212.google.com) (209.85.219.212) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Oct 2009 21:39:59 +0000 Received: by ewy8 with SMTP id 8so5044534ewy.44 for ; Mon, 19 Oct 2009 14:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=M650z47oOa3YPFMhF2fKn/ZKqnxnDluf9PEy9P6Rhbc=; b=hDxRHU23X/ioqjlswA7S8hQKKfsgB1uhOUitO0i38uw7WT26w3GMeyw14VLwbEO7RG bG9gqFIH8AI+oeYRmh8JVwZUMcsBqLKFSGj5jgKVOM3GavzCG2NSMkVniy7R+sehTBKo abELACedk14jkr3aQ1E4gGYwQIMNjPzsPq7k4= 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=uMCLEUcERTXVry9haxqpggjVLlEspkGHACLnta7N6LPKJzv11azHzxD8nK/EVdo8VR 6CLDzENeJUsWeHcJNH7fJmkl4+zEyzI6wq26Uo+dhZLy/ykn+4EQdnOorJg1VH6xB4PP XoqNT4uj7BqoIMpOsLtLRYfqoLu+8zb7v6q9c= MIME-Version: 1.0 Received: by 10.216.90.9 with SMTP id d9mr2022722wef.201.1255988377280; Mon, 19 Oct 2009 14:39:37 -0700 (PDT) In-Reply-To: References: Date: Mon, 19 Oct 2009 14:39:37 -0700 Message-ID: <4dcd15a90910191439m1781cddey8a1a7f0f42a8f0da@mail.gmail.com> Subject: Re: installing non-archive artifacts From: Alex Boisvert To: users@buildr.apache.org Content-Type: multipart/alternative; boundary=0016e6da7de31203be04765095ac --0016e6da7de31203be04765095ac Content-Type: text/plain; charset=ISO-8859-1 I think that's a bug in the install task. It should re-install even if the target already exists (same as upload) to follow existing Maven conventions. alex On Mon, Oct 19, 2009 at 11:29 AM, Greg Lucas wrote: > I've got a build that needs to install/upload an XML file as an artifact. > I'm doing the following in my Rakefile: > > # produce the XML file > filter('src/...').into('target/...').using(...) > > # define an artifact and hook in to install/upload > xml_artifact = artifact(...).from('target/...') > install xml_artifact > upload xml_artifact > > > This works fine the first time, but any subsequent time a run the build the > artifact is never updated in my local m2 repo. It looks like install only > works if the artifact is not already there. That's not consistent with the > behavior using package. > > I suppose I could define a new packaging type for this but that seems like > overkill. Is this the intended behavior of install? Is there a better way to > deal with artifacts that are not in fact packaged archives? > > I'm using buildr 1.2.10 (as currently dictated by the Apache ODE 1.x > branch). > > -- > Greg Lucas > --0016e6da7de31203be04765095ac--