Return-Path: Delivered-To: apmail-db-torque-user-archive@www.apache.org Received: (qmail 5011 invoked from network); 18 Jun 2009 13:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 13:19:29 -0000 Received: (qmail 67127 invoked by uid 500); 18 Jun 2009 13:19:40 -0000 Delivered-To: apmail-db-torque-user-archive@db.apache.org Received: (qmail 67090 invoked by uid 500); 18 Jun 2009 13:19:40 -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 67080 invoked by uid 99); 18 Jun 2009 13:19:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 13:19:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of cdurmont@gmail.com designates 209.85.217.221 as permitted sender) Received: from [209.85.217.221] (HELO mail-gx0-f221.google.com) (209.85.217.221) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 13:19:31 +0000 Received: by gxk21 with SMTP id 21so1587807gxk.7 for ; Thu, 18 Jun 2009 06:19:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=SXBs0poWJbmuIigDoPpFTjz46qS4jztBzz22CeEjND4=; b=atZNcwyBl+zWfDmtFCQGf5QVSkXPR2eOzS4rLlNrA130FvnFl7GiKqPCXAHqBKmYIM B4NMTyQiEkSfXlQ7nRE4liYyGnHNVjzGT0EJ0QodCYrotc+0jvA11S3/TWxXY67FXt+J 59NBe5o8aM3stTD8QJ8bMVxSU/zlk+LvxLFhw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=s1RrGXy1JyOzdpca0b9FBqvRIMBOA26XlgZtK/GhV/WwqNYZhpXWtvdaSalx71vZJv cQIKsjSZGPy+V1SnzJqlZ6koI5hiEnWH+oE+dgoyLdbTF2tBopBGhsyQW/ujmFYomaZf wnJLh7rQAfwl9Af5YY8U4hjVVO6+NZ0VhHT7w= MIME-Version: 1.0 Received: by 10.90.26.3 with SMTP id 3mr1132972agz.49.1245331150489; Thu, 18 Jun 2009 06:19:10 -0700 (PDT) Date: Thu, 18 Jun 2009 15:19:10 +0200 Message-ID: Subject: generate schema with maven2 plugin From: =?UTF-8?Q?C=C3=A9dric_Durmont?= To: torque-user@db.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hello there, I feel a bit stupid to write here but I was following the torque maven2 plugin and got myself stuck with that error message when I run mvn compile : ------- C:\workspace\test1\src\main\torque\schema not found. at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:422) (...) ------- Creating the directory manually gets me rid of the message, but the plugin still not generates a *schema.xml file from my database. Is the plugin really supposed to create the *schema.xml file with the "om" goal ? If so, what might be going wrong in my case ? If not, how do I tell torque to generate the *schema.xml ? I have to write a small app using an existing database containing 100+ tables. I chose torque as ORM for this project mainly because the maven plugin "can also generate the XML description of an existing database" (quoting torque homepage). Can someone help me with this ? Additional information on my setup: -new project created from scratch with maven2 (maven2 plugin for Eclipse, more precisely) -running a test mysql 5.1 database, containing 1 table -I did the steps mentioned in http://db.apache.org/torque/releases/torque-3.3/maven2-plugin/usage.html . Just changed groupid org.apache.db.torque => org.apache.torque , as it has been changed for torque 3.3 --------------------------------------------------------------------- To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org For additional commands, e-mail: torque-user-help@db.apache.org