Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 44828 invoked from network); 14 Dec 2007 00:15:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Dec 2007 00:15:36 -0000 Received: (qmail 84772 invoked by uid 500); 14 Dec 2007 00:15:21 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 84732 invoked by uid 500); 14 Dec 2007 00:15:21 -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 84720 invoked by uid 99); 14 Dec 2007 00:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Dec 2007 16:15:20 -0800 X-ASF-Spam-Status: No, hits=4.0 required=10.0 tests=DNS_FROM_OPENWHOIS,FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Dec 2007 00:14:58 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1J2yCj-00048G-JB for user@ant.apache.org; Thu, 13 Dec 2007 16:15:01 -0800 Message-ID: <14327577.post@talk.nabble.com> Date: Thu, 13 Dec 2007 16:15:01 -0800 (PST) From: dr_pompeii To: user@ant.apache.org Subject: some way to resolve this with ant or other tool MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dr_pompeii@yahoo.com X-Virus-Checked: Checked by ClamAV on apache.org hello guys i am in hell with this i work with xdoclet and pls see this situtation [CODE] /** * @hibernate.property column="precioUnitarioVenta" [b]length="6"[/b] not-null="true" */ public [b]BigDecimal[/b] getPrecioUnitarioVenta() { return precioUnitarioVenta; } [/CODE] if i go to my mapping file i see this [CODE] [/CODE] it seems fine, but if i see the type of each column of the table in the db i see this [B] decimal(19,2)[/B] here [url]http://www.hibernate.org/hib_docs/v3/reference/en/html/mapping.html#mapping-declaration-property[/url] i can see this [CODE] [/CODE] bold part sadly are not supported by xdoclet 1 and if in my java code i write anyway this [CODE] /** * @hibernate.property not-null="true" * [b]precision="9" * scale="2" [/b] * column="precioUnitario" * */ public BigDecimal getPrecioUnitario() { return precioUnitario; } public void setPrecioUnitario(BigDecimal precioUnitario) { this.precioUnitario = precioUnitario; } [/CODE] with the ant task i dont recieve any error but , in the mapping file appear [CODE] [/CODE] of course length value was not written with xdoclet but the desired properties not appear [b]precision,scale[/b] exists a way with ant after to create the mapping files (hbm.xml) replace [CODE] [/CODE] by [CODE] [/CODE] just how work with a txt document, i can do this manually maybe for one property but for 500 properties i see this a suicide exists a way to do this approcach with ant or other tool? thanks in advanced -- View this message in context: http://www.nabble.com/some-way-to-resolve-this-with-ant-or-other-tool-tp14327577p14327577.html Sent from the Ant - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org