Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 8783 invoked from network); 10 Nov 2005 00:50:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Nov 2005 00:50:59 -0000 Received: (qmail 77594 invoked by uid 500); 10 Nov 2005 00:50:58 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 77574 invoked by uid 500); 10 Nov 2005 00:50:57 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Users List" Reply-To: "Apache Torque Users List" Delivered-To: mailing list torque-user@db.apache.org Received: (qmail 77563 invoked by uid 99); 10 Nov 2005 00:50:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 16:50:57 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.39.152.239] (HELO white.metrobridge.net) (65.39.152.239) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Nov 2005 16:50:50 -0800 Received: from hwijbenga.dev.elasticpath.com (unknown [66.119.182.210]) by white.metrobridge.net (Postfix) with ESMTP id D324295C5FB for ; Wed, 9 Nov 2005 16:50:36 -0800 (PST) Subject: schema.xml From: Hilco Wijbenga Reply-To: hilco.wijbenga@elasticpath.com To: Apache Torque Users List Content-Type: text/plain Organization: Elastic Path Software, Inc. Date: Wed, 09 Nov 2005 16:50:36 -0800 Message-Id: <1131583836.6341.57.camel@hwijbenga.dev.elasticpath.com> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N The database name is currently stored in the schema.xml file. This requires that I define the database name in two places: in my build.properties and in schema.xml. Notably, the developers change the database name in build.properties and, of course, the build will fail: the name in build.properties is not leading. The database name is not really part of the schema. I can create the same schema several times with different names. I would like to propose that the 'name' attribute in schema.xml be optional instead of required. If it's there it will be used (preserving backward compatibility) otherwise the Ant task needs to supply the name. (Or maybe, supplying a name throught the Ant task could overrule the name in schema.xml?) Not supplying a name at all would be an error. Thoughts? Thanks, Hilco --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org