Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 6341 invoked from network); 3 Apr 2008 01:24:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Apr 2008 01:24:59 -0000 Received: (qmail 89103 invoked by uid 500); 3 Apr 2008 01:24:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 89066 invoked by uid 500); 3 Apr 2008 01:24:59 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 89057 invoked by uid 99); 3 Apr 2008 01:24:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 18:24:59 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of m.v.lunteren@gmail.com designates 209.85.128.191 as permitted sender) Received: from [209.85.128.191] (HELO fk-out-0910.google.com) (209.85.128.191) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Apr 2008 01:24:07 +0000 Received: by fk-out-0910.google.com with SMTP id f33so3777912fkf.7 for ; Wed, 02 Apr 2008 18:24:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=I67fYVq+aurGYP3E2gDA8WDRPyfrMPmF3e1w+4aov6E=; b=sWKWoOhWmwclPJWzk4P2OPwrq900RqJDwLhVfJrui6aH8fSrhDav50zCBDkKOWNwxgtsE6YV/CydPZp0IQ0o3VHyhduXV4lvKRnRCXr0ItK3xiwvbQXhVpWKt704jYD56bL5FzdyyRmbuYe9ns0LpwohgUd19QPbYprmNEMizig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j6A8DX+2WOIFImS8YRkkntUNKoJWqHoybU1XkoBb1Svnir+Y/UY8EtUuqWuy49KCLBUPxvzfrK02uPHFMhA43k85v1Sgf0JjcOiZ6Pw7+ZuzLZv2HA+9W4S++ao8M5pNCLNuy8dnc38epPxkmc0Wfg4UN2CaFZaUN/QDYOXG0xo= Received: by 10.78.190.5 with SMTP id n5mr32093093huf.4.1207185858340; Wed, 02 Apr 2008 18:24:18 -0700 (PDT) Received: by 10.78.161.8 with HTTP; Wed, 2 Apr 2008 18:24:18 -0700 (PDT) Message-ID: Date: Wed, 2 Apr 2008 18:24:18 -0700 From: "Myrna van Lunteren" To: derby-dev@db.apache.org Subject: Re: Problems with ant genchanges In-Reply-To: <47F3E6EA.90604@sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47F3E6EA.90604@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org On 4/2/08, Rick Hillegas wrote: > Dyre.Tjeldvoll@Sun.COM wrote: > > I can't seem to get the ant genchanges target to produce a meaningful > > CHANGES.html. I think I'm feeding it the same fixedBugsList.xml that I > > used for the release notes, but the resulting CHANGES.html only contains > > six issues. (fixedBugsList.xml contains more than 100...) > > > > Any ideas...? > > > > > Hi Dyre, > > I'm afraid I can't be very helpful here. I don't know how to generate an > xml report from a JIRA filter anymore. I thought that I would get an XML > report by clicking on "XML" in the Issue Navigator box after running the > filter. That, however, merely generated an xhtml version of the report > and not the version containing the tags expected by the > ChangesFileGenerator program. How are you generating an XML report? > > One thing to look out for is this: ChangesFileGenerator seems to throw > away all issues which are marked as fixed in previous releases. That is, > ChangesFileGenerator is only trying to list the changes which JIRA says > are specific to 10.4.1.0. I (sort of randomly) sampled 3 issues visible > through your "Derby 10.4 Fixed Bugs" filter and noticed that they are > all marked with 10.3 as one of the "Fix Version" releases. This could be > short-circuiting your run of genchanges. > > Another thing to look out for is this: It appears to me that > ChangesFileGenerator was custom-built for 10.3. In particular, there is > code in makeJiraIssue() which seems specific to 10.3. Myrna may be able > to shed more light on this topic. > > Hope this helps, > -Rick > Rick is correct, the ChangesFileGenerator has some very specific details regarding 10.3. As I've mentioned before, I had major trouble creating an xml file (partially because of my choice of browser, I now think). I think the JiraConnector.java shows still what I used to create my .xml in the end, and I think it was this query, or something similar, that I used to get my .xml file: "http://issues.apache.org/jira/sr/jira.issueviews:" + "searchrequest-xml/temp/SearchRequest.xml?&pid=10594&resolution=1&" + "fixVersion=10.3.0.0&sorter/field=issuekey&sorter/order=DESC&" + "tempMax=1000&reset=true&decorator=none"; I think this probably results in a bigger .xml file than what you're using, so I had to narrow things down from there. Also, I made 4 trial builds, so those too show up in the ChangesFileGenerator. They should be removed now. I wanted only those issues that were not already fixed in an already released version...I think the tool automatically picked the last released version (in my case, 10.2.2.0), but because of the two versions off the 10.2 branch, there were a number of issues that had been backported earlier, and were actually fixed in 10.2.1.6; hence that release shows up as to be excluded in the ChangesFileGenerator. I think you'd want everything that's marked fixed 10.4.0.0, and 10.4.1.0, except if it's marked also fixed in 10.3.1.4, 10.3.1.5 (which issues would've gotten included into 10.3.2.1), or 10.3.2.1 which was also a released version, for those would likely be things that have gotten backported after the initial release off the 10.3 branch. Issues that got marked fixed in 10.3.2.2 (in addition to 10.4.0) would be ok to pick up. I think that's all the versions? The ChangesFileGenerator should get modified... I hope this makes sense... Myrna