Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 22552 invoked from network); 1 Jan 2011 17:15:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 1 Jan 2011 17:15:52 -0000 Received: (qmail 88728 invoked by uid 500); 1 Jan 2011 13:15:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 88374 invoked by uid 500); 1 Jan 2011 13:15:46 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 88362 invoked by uid 99); 1 Jan 2011 13:15:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jan 2011 13:15:45 +0000 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mlybarger@gmail.com designates 209.85.214.45 as permitted sender) Received: from [209.85.214.45] (HELO mail-bw0-f45.google.com) (209.85.214.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Jan 2011 13:15:40 +0000 Received: by bwz16 with SMTP id 16so12220170bwz.4 for ; Sat, 01 Jan 2011 05:15:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=DfCErOYjenv6261lxtB1k7wd5ISnWMVkIXHkfTj5hac=; b=ObdcB+TF1h8bJqPvWJGFeAiDSvdyGW/oc21iSTLAvmhzf9+KzG4bmZ+PX0TdOh2Nzf nfbw6VVG+6HfGHbv29nralmTNPD+90zcrCcTMjHA/bG6q8pQg614ixTtcYI7Uxii2kEZ ESHkkwf3MpiTl/oia4a4Ztj/rqXPjC5TdIYsA= 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=Tb9gA2rOeF3sZrevBq4k6zj5UoUZRPMiSi6mLrE8KXCqV8Gab9i1NF0uh7dFSoQLzK k9cF2F6Kht4IATWVkHTlpB98XzS8vawcYrL59dzmrK0WpJ5fMToFpEX0PChvfmvwpdv/ Ln+BOKbxuQvLR+9oTHRyZPF1EQ2AENrBfdYHw= MIME-Version: 1.0 Received: by 10.204.66.79 with SMTP id m15mr8324076bki.124.1293887716911; Sat, 01 Jan 2011 05:15:16 -0800 (PST) Received: by 10.204.117.201 with HTTP; Sat, 1 Jan 2011 05:15:16 -0800 (PST) In-Reply-To: References: <4D1DFBB2.8060803@gmx.de> Date: Sat, 1 Jan 2011 08:15:16 -0500 Message-ID: Subject: Re: fileset of cvs changed files From: Mark Lybarger To: Ant Users List Content-Type: multipart/alternative; boundary=001636c5b2bdbeeae60498c8b594 --001636c5b2bdbeeae60498c8b594 Content-Type: text/plain; charset=ISO-8859-1 These both look interesting, but they require the user to have something new on their system path. On Sat, Jan 1, 2011 at 12:29 AM, Urena, Jose M < jose.urena@verizonbusiness.com> wrote: > have you tried the built in + the xslt in > style="${ant.home}/etc/changelog.xsl" or > style="${ant.home}/etc/changelog-text.xsl" > > it needs a starting tag or branch and will report all files changed > since tag/branch was created > > > destfile="${cvs.report}${file.separator}changelog.xml" > tag="${cvs.branch}" > /> > > out="${cvs.report}${file.separator}changelog.html" > style="${ant.home}/etc/changelog.xsl"> > > > > > > > -----Original Message----- > From: Antoine Levy-Lambert [mailto:antoine@gmx.de] > Sent: Friday, December 31, 2010 10:50 AM > To: Ant Users List > Subject: Re: fileset of cvs changed files > > Hello Mark, > > what you can do is run your cvs update using the exec task and use a > nested filterchain do capture output lines with a "U" [1] and apply a > regular expression to keep only the path of the file, then save this > output into a file. > The output file should contain a series of file relative paths in order > to be used as input for the includesfile attribute of a patternset. > > Something like that (untested) : > > value="update"/> > replace=""/> > > > > > Otherwise you can write your own ant task and make this task create > either a patternset, a fileset, or a resource collection. > > Regards, > > Antoine > > > [1] http://www.cs.utah.edu/dept/old/texinfo/cvs/cvs_toc.html#SEC115 > > On 12/31/2010 8:17 AM, Mark Lybarger wrote: > > i'm using ant to build a project that has been checked out from cvs. > > i want to run a task that uses a fileset of all files changed from > cvs. > > > > basically, i'm looking to run a source code formatter on the source > > files and only want it to run on files that have changed from the > version control. > > > > thanks, > > -mark- > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --001636c5b2bdbeeae60498c8b594--