Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 63343 invoked from network); 1 Oct 2010 18:14:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Oct 2010 18:14:55 -0000 Received: (qmail 99024 invoked by uid 500); 1 Oct 2010 18:14:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 98984 invoked by uid 500); 1 Oct 2010 18:14:54 -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 98977 invoked by uid 99); 1 Oct 2010 18:14:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 18:14:54 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Oct 2010 18:14:53 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o91IEXHm025862 for ; Fri, 1 Oct 2010 18:14:33 GMT Message-ID: <23293655.501631285956873252.JavaMail.jira@thor> Date: Fri, 1 Oct 2010 14:14:33 -0400 (EDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3986) Stop dropping build artifacts in the subversion-controlled source tree In-Reply-To: <2102942595.1229016704509.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-3986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick Hillegas updated DERBY-3986: --------------------------------- Attachment: derby-3986-03-aa-release.diff Attaching derby-3986-03-aa-release.diff. This patch changes the build so that release artifacts are now dropped outside subversion-controlled space as other build artifacts are. This change should not disrupt the build for most people. Committed at subversion revision 1003607. This patch makes a number of changes: 1) Creates a new artifact directory called "release" rooted off ${out.base}. This new directory sits parallel to classes, generated, jars, and javadoc. This directory will now be created every time you build Derby and the directory will be deleted when you issue an "ant clobber". 2) Drops all release artifacts into the new release tree. This includes snapshots, release distributions, and the temporary directories needed to create them. 3) Eliminates the packaging.properties file, which release managers were expected to create from packaging.tmpl. Instead, the release machinery now just uses packaging.tmpl directly. Rather than creating packaging.properties to override the default values in packaging.tmpl, now you just override the release properties the same way you override other build properties: i.e., by putting overrides in your ant.properties or specifying them on the command line. 4) Makes environment variables visible to the release-building machinery. This makes it possible for you to phrase your ant.properties in terms of environment variables which can be overridden in your shell or script. An ant reference to an environment variable looks like this: ${env.FOO} where FOO is an environment variable set by a shell statement like this: export FOO=/bar/wibble/wombat Touches the following files: --------- M . Adds the new release directory to the list of files ignored by "svn status". --------- M tools/ant/properties/dirs.properties M tools/ant/properties/packaging.tmpl Defines release directories relative to ${out.base}. --------- M build.xml M tools/release/build.xml Wires these changes into the release machinery. > Stop dropping build artifacts in the subversion-controlled source tree > ---------------------------------------------------------------------- > > Key: DERBY-3986 > URL: https://issues.apache.org/jira/browse/DERBY-3986 > Project: Derby > Issue Type: Improvement > Components: Build tools > Affects Versions: 10.5.1.1 > Reporter: Rick Hillegas > Attachments: chmod.diff, derby-3986-01-aa-checkCompilerLevel.diff, derby-3986-02-af-sanity-bin-toursdb-storeless-release.diff, derby-3986-02-ag-sanity-bin-toursdb-storeless-release.diff, derby-3986-02-ah-sanity-bin-toursdb-storeless-release.diff, derby-3986-03-aa-release.diff, filemode.diff, mk-sanity-dir.diff > > > The Derby build drops various artifacts in the source tree. Build artifacts should not muddy subversion controlled directories but should, instead, go into temporary directories created by the the build. > The following is a (perhaps partial) list of artifacts currently dropped into subversion-controlled space: > Sanity directives > Generated grammars > The English error messages > Data type class sizes > Toursdb > Temporary class for verifying compiler level -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.