Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 34544 invoked from network); 7 Apr 2004 17:06:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 7 Apr 2004 17:06:16 -0000 Received: (qmail 35303 invoked by uid 500); 7 Apr 2004 17:05:31 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 35284 invoked by uid 500); 7 Apr 2004 17:05:30 -0000 Mailing-List: contact torque-user-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 35247 invoked from network); 7 Apr 2004 17:05:30 -0000 Received: from unknown (HELO ProcessSystemsServer) (65.36.40.98) by daedalus.apache.org with SMTP; 7 Apr 2004 17:05:30 -0000 Received: from [10.0.1.21] by ProcessSystemsServer (ArGoSoft Mail Server Plus, Version 1.6 (1.6.0.0)); Wed, 7 Apr 2004 13:18:45 -0400 From: "Brent Atkins" To: "Apache Torque Users List" Subject: RE: Generation Problem with Maven Date: Wed, 7 Apr 2004 12:59:38 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <200447185751.271548@Torsten> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Here are the properties that I had to set to get it to work. Note: I use IDMethod = native, if you use the IDBroker you may need to set 2 other properties, but since I don't use it, I don't know what they are (I found them somewhere in the archive though...). torque.basePrefix = Base torque.addSaveMethod = true torque.saveException = Exception Just stick them in your project.properties -----Original Message----- From: Torsten Eberl [mailto:newsgroup@vstar.de] Sent: Wednesday, April 07, 2004 12:58 PM To: Apache Torque Users List Subject: Generation Problem with Maven Hi, I have a problem generating java classes with maven. After I started the process with "maven torque" I will get the correct sql-file but instead of java classes with the table names I get correctly looking files with the name of an object. For instance org.apache.commons.jelly.expression.ConstantExpression@d5eb7[value=Base]Rbacrole.java The correct name would be BaseRbacrole.java I have the same problem with torque-gen-3.1 and yesterdays torque-gen-3.2-dev. I'm using maven 1.0-rc2. I guess the schema is correct, because it worked fine with ant. Has anybody an idea what version conflict this might be? Or could there something else be wrong? Torsten --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org