From torque-dev-return-7180-apmail-db-torque-dev-archive=db.apache.org@db.apache.org Sun Oct 08 22:37:03 2006 Return-Path: Delivered-To: apmail-db-torque-dev-archive@www.apache.org Received: (qmail 33650 invoked from network); 8 Oct 2006 22:37:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Oct 2006 22:37:03 -0000 Received: (qmail 53449 invoked by uid 500); 8 Oct 2006 22:37:03 -0000 Delivered-To: apmail-db-torque-dev-archive@db.apache.org Received: (qmail 53384 invoked by uid 500); 8 Oct 2006 22:37:03 -0000 Mailing-List: contact torque-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Apache Torque Developers List" Reply-To: "Apache Torque Developers List" Delivered-To: mailing list torque-dev@db.apache.org Received: (qmail 53373 invoked by uid 99); 8 Oct 2006 22:37:03 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Oct 2006 15:37:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:44222] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id BE/95-01505-BA769254 for ; Sun, 08 Oct 2006 14:03:39 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7E6647142D8 for ; Sun, 8 Oct 2006 14:03:21 -0700 (PDT) Message-ID: <30357112.1160341401515.JavaMail.root@brutus> Date: Sun, 8 Oct 2006 14:03:21 -0700 (PDT) From: "Thomas Fischer (JIRA)" To: torque-dev@db.apache.org Subject: [jira] Resolved: (TORQUE-56) It seems torque generator incorrectly generates XXXMap.java if property torque.subpackageMap is specified. In-Reply-To: <25622681.1158916222363.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/TORQUE-56?page=all ] Thomas Fischer resolved TORQUE-56. ---------------------------------- Fix Version/s: 3.2.1 Resolution: Fixed Assignee: Thomas Fischer > It seems torque generator incorrectly generates XXXMap.java if property torque.subpackageMap is specified. > ---------------------------------------------------------------------------------------------------------- > > Key: TORQUE-56 > URL: http://issues.apache.org/jira/browse/TORQUE-56 > Project: Torque > Issue Type: Bug > Components: Generator > Affects Versions: 3.2 > Reporter: Gustavo Fernandez > Assigned To: Thomas Fischer > Priority: Minor > Fix For: 3.2.1 > > > 1. set property torque.subpackageMap = model.map for example > 2. execute maven ant or maven to generate the source-code > 3. examine generated XXXMapBuilder.java files. Look for lines > "${package}.map.${table.JavaName}MapBuilder"; > (instead of velocity variables package and table you'll see substituted > values, of course) > Correct lines should looks like > "${packageMap}.${table.JavaName}MapBuilder"; > Bug is in Torque templates module, in file > templates/src/templates/om/MapBuilder.vm > Best regards -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org For additional commands, e-mail: torque-dev-help@db.apache.org