Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 41845 invoked from network); 15 Sep 2006 05:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Sep 2006 05:39:36 -0000 Received: (qmail 94446 invoked by uid 500); 15 Sep 2006 05:39:35 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 94126 invoked by uid 500); 15 Sep 2006 05:39:34 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 94115 invoked by uid 99); 15 Sep 2006 05:39:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 22:39:34 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of brett.porter@gmail.com designates 66.249.82.235 as permitted sender) Received: from [66.249.82.235] (HELO wx-out-0506.google.com) (66.249.82.235) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Sep 2006 22:39:22 -0700 Received: by wx-out-0506.google.com with SMTP id s8so2912477wxc for ; Thu, 14 Sep 2006 22:38:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ca3pSb/AMw4iDSo5U3gDUhmorIJlN8E56lBnWq3cBLap+dzYdEp2nITsqvYO+NWOXkEqb/QpMrNwKc47QR2g1IXSsmPijL2SvwAtp1UbUh80/I3iYsDEi/1lrNftchW9QtyeIU8iyo/g+NX1fCjgJ+ObcUFvpKSqfZRthkkUeTI= Received: by 10.90.50.6 with SMTP id x6mr66613agx; Thu, 14 Sep 2006 22:38:56 -0700 (PDT) Received: by 10.90.66.19 with HTTP; Thu, 14 Sep 2006 22:38:56 -0700 (PDT) Message-ID: <9e3862d80609142238i3b2e48aj8e00da9358143bd5@mail.gmail.com> Date: Fri, 15 Sep 2006 15:38:56 +1000 From: "Brett Porter" To: "Ant Developers List" Subject: Re: OT - Maven woes In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9e3862d80609142214qec1f1b3o95db78cfeaaf86c2@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 15/09/06, Kevin Jackson wrote: > And with the antrun plugin, ok I can get to generate the > value I'm after, and I can use copy/replace to filter it into the > file, but what phase/goal do I need to set so that ant will execute > before the jar file is built? I thought process-classes as > process-resources seems to occur before compilation. Anything before 'package' is fine, with process-resources being the most sensible. Just as long as you aren't overwriting it again with the resources plugin itself. Your best bet is probably to generate a filter.properties in the "generate-resources" phase that has the value, then use the filtering you had configured to copy the resource itself. Here's a working example: http://jira.codehaus.org/browse/MNG-2561 - Brett --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org