Return-Path: Delivered-To: apmail-incubator-empire-db-dev-archive@minotaur.apache.org Received: (qmail 6983 invoked from network); 12 Apr 2010 20:56:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 12 Apr 2010 20:56:24 -0000 Received: (qmail 2499 invoked by uid 500); 12 Apr 2010 20:56:21 -0000 Delivered-To: apmail-incubator-empire-db-dev-archive@incubator.apache.org Received: (qmail 2448 invoked by uid 500); 12 Apr 2010 20:56:21 -0000 Mailing-List: contact empire-db-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: empire-db-dev@incubator.apache.org Delivered-To: mailing list empire-db-dev@incubator.apache.org Received: (qmail 2373 invoked by uid 99); 12 Apr 2010 20:56:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:56:21 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of benjamin.venditti@arcor.de designates 151.189.21.45 as permitted sender) Received: from [151.189.21.45] (HELO mail-in-05.arcor-online.net) (151.189.21.45) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Apr 2010 20:56:13 +0000 Received: from mail-in-15-z2.arcor-online.net (mail-in-15-z2.arcor-online.net [151.189.8.32]) by mx.arcor.de (Postfix) with ESMTP id D0DAF332BE4 for ; Mon, 12 Apr 2010 22:55:52 +0200 (CEST) Received: from mail-in-15.arcor-online.net (mail-in-15.arcor-online.net [151.189.21.55]) by mail-in-15-z2.arcor-online.net (Postfix) with ESMTP id C10A7726184 for ; Mon, 12 Apr 2010 22:55:52 +0200 (CEST) Received: from [192.168.0.146] (unknown [84.114.51.59]) (Authenticated sender: benjamin.venditti@arcor.de) by mail-in-15.arcor-online.net (Postfix) with ESMTPA id 91E00356797 for ; Mon, 12 Apr 2010 22:55:52 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-15.arcor-online.net 91E00356797 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1271105752; bh=Cj+GvTauQJT5Xuqfy2j/A4ub4pEBSFquqr5GqYNGwmE=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=Z+flckZ6EskrEFtEyUpTw/O/rDhtDcA9c+BD55izh4oBtKymESXNKdPQcsBKp/o+B 2XJSw3gD043RPfIaJ6fCPt1S0JxYiraL90NnGi3OCV1znrq44H3J37MTbDcOn6rgqK T2QlfCNoCwCRukaXs+4BJV5yTP8eW2W8YGA3is3c= Message-ID: <4BC388E3.9040008@arcor.de> Date: Mon, 12 Apr 2010 22:56:03 +0200 From: Benjamin Venditti User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.9) Gecko/20100317 Lightning/1.0b1 Thunderbird/3.0.4 MIME-Version: 1.0 To: empire-db-dev@incubator.apache.org Subject: Re: [VOTE] Release Apache Empire-db 2.0.6-incubating (rc1) References: <4BBFB078.70007@arcor.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Francis, thats fine by me. Cheers, Benjamin Am 12.04.2010 21:01, schrieb Francis De Brabandere: > Benjamin, > > All ok now to cut a new release candidate? > > Cheers, > Francis > > On Sun, Apr 11, 2010 at 8:17 PM, Francis De Brabandere > wrote: >> On Sat, Apr 10, 2010 at 12:55 AM, Benjamin Venditti >> wrote: >> .... >>> I got an error while testing the CodeGenApp directly. The error will only >>> occur if "nestTables" or "nestViews" is enabled. I think the problem is, >>> that we never set the template folder property of the config object to a >>> default value. Here is a snippet of the error ... >>> >>> Writing >>> C:\Users\Hermine7\Workspaces\workspace-emp\empire-db-trunk\empire-db-codegen\target\generated\dbsample\org\apache\empire\db\samples\dbsample\SampleDB.java >>> at >>> org.apache.empire.db.codegen.CodeGenWriter.writeFile(CodeGenWriter.java:300) >>> ERROR [2010/04/10 00:31]: ResourceManager : unable to find resource >>> '$templateFolder/Table.vm' in any resource loader. at >>> org.apache.velocity.runtime.log.CommonsLogLogChute.log(CommonsLogLogChute.java:96) >>> ERROR [2010/04/10 00:31]: #parse(): cannot find template >>> '$templateFolder/Table.vm', called at templates/Database.vm[line 75, column >>> 25] at >>> org.apache.velocity.runtime.log.CommonsLogLogChute.log(CommonsLogLogChute.java:96) >>> ERROR [2010/04/10 00:31]: Unable to find resource >>> '$templateFolder/Table.vm' at >>> org.apache.empire.db.codegen.CodeGenWriter.writeFile(CodeGenWriter.java:307) >>> org.apache.velocity.exception.ResourceNotFoundException: Unable to >>> find resource '$templateFolder/Table.vm' >>> at >>> org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:483) >>> at >>> org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:354) >>> .... >> >> If templateFolder is not set we read the provided templates from the >> classpath. If it is set it is used by velocity. I added a unit test to >> test this behavior. Maybe you can try to reproduce the error in a unit >> test? See CodeGenAppTest. Maybe you could send me your templates and >> how you started the codegen? >> >> -- >> http://www.somatik.be >> Microsoft gives you windows, Linux gives you the whole house. >> > > >