Return-Path: Delivered-To: apmail-incubator-etch-dev-archive@minotaur.apache.org Received: (qmail 5105 invoked from network); 1 Jun 2010 16:26:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Jun 2010 16:26:08 -0000 Received: (qmail 61312 invoked by uid 500); 1 Jun 2010 16:26:08 -0000 Delivered-To: apmail-incubator-etch-dev-archive@incubator.apache.org Received: (qmail 61297 invoked by uid 500); 1 Jun 2010 16:26:08 -0000 Mailing-List: contact etch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: etch-dev@incubator.apache.org Delivered-To: mailing list etch-dev@incubator.apache.org Received: (qmail 61289 invoked by uid 99); 1 Jun 2010 16:26:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 16:26:08 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,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 aditi.s.87@gmail.com designates 209.85.212.47 as permitted sender) Received: from [209.85.212.47] (HELO mail-vw0-f47.google.com) (209.85.212.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jun 2010 16:26:00 +0000 Received: by vws4 with SMTP id 4so2240994vws.6 for ; Tue, 01 Jun 2010 09:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=KQJKgGJZGNR8KTMZlRqFmbPIdXzvU7JBvQ0b1U1rT34=; b=n4A7520GUvotC5UErX5DgXpwF3I7H9Vwn9Ap8GhcS3elFCCfwuChZGciv5znpuJ3C7 59T6Ifp2BpDwrxuVk1V70VvrEJjTx5PqUMFxDmdfZy7qGiejHRM0td8hWfxaRZ69ICTP 8w+iaVmX8ksBJ53Rm4t8+UCn+TuLBhPFSFBp4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GbwL6zrjRIfHA8M9uVI74Zm/2tNwUPZUzgST/08ThJJ4YYACQ/y/bqpPj+Sm57ogyy 9vqtUOQGJLdqwnsQSFUU/A5G5dwlNnWPcqJt9yT2bs4Gs6al4DQ6PQs5n+FEwsYcYuhV GGzXHmgo51hDqK1Y9AeVfbjS1c6v1ao3Yvw8U= MIME-Version: 1.0 Received: by 10.220.123.136 with SMTP id p8mr4651418vcr.244.1275409538668; Tue, 01 Jun 2010 09:25:38 -0700 (PDT) Received: by 10.220.91.194 with HTTP; Tue, 1 Jun 2010 09:25:38 -0700 (PDT) In-Reply-To: References: <4C052FAC.3040400@mac.com> Date: Tue, 1 Jun 2010 21:55:38 +0530 Message-ID: Subject: Re: Modifying templates? From: Aditi S To: etch-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=0016e68f9c1b7eda2c0487fa6c87 X-Virus-Checked: Checked by ClamAV on apache.org --0016e68f9c1b7eda2c0487fa6c87 Content-Type: text/plain; charset=ISO-8859-1 Also, I am not using the installed version - I am using the Etch source code I downloaded from the Apache Etch site. On Tue, Jun 1, 2010 at 9:54 PM, Aditi S wrote: > Sorry for the flood of messages - didn't see the messages appearing on the > mailer archives. :) > Thank you for your quick response! > So, I think the Etchmain program invokes Compiler.java to generate the > files? Which in turn uses Velocity? I'm pretty sure I set the path in > Compiler.java to the right location, I just don't think it gets called. Am I > missing something? > > > On Tue, Jun 1, 2010 at 9:35 PM, scott comer wrote: > >> On 6/1/2010 10:55 AM, Aditi S wrote: >> >>> Hi, >>> >>> How does one modify templates used by the Etch source code for code >>> generation? >>> I tried modifying the main.vm file by adding a simple line to it, and >>> saved >>> and rebuilt. However, could not see changes reflected in generated code. >>> The >>> main.vm file I used was in >>> >>> etch//etch-1.0.1/binding-java/compiler/src/main/resources/etch/bindings/java/compiler. >>> >>> Thanks! >>> Aditi >>> >>> >>> >> >> uh, i think that should have done it. i'm going to go out on a limb and >> guess that maybe there are path problems with your use. perhaps you are >> using an installed version rather than the version you built? >> >> scott out >> >> > --0016e68f9c1b7eda2c0487fa6c87--