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 <[email protected]> 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 > >
