Hi, Well I managed to switch my project over from an ant build over to maven without too much difficulty.
(Though someone with commit privileges may want to amend the maven plug-in docs or the plugin.properties. I needed to set these properties in project.properties to get it to build properly - note that you may need additional properties if you are not using defaultIdMethod="native") torque.basePrefix = Base torque.addSaveMethod = true torque.saveException = Exception Anyhoo, my question is totally different. I was just trying to document my problem so others could find it if they needed it... I'd like to use my project-schema.xml to auto generate some other files. I'm using Struts as a framework and I'd like to avoid having to change a Form, an Action and a View every time I change my schema (not to mention the xdocs that I could generate <drool>...</drool>). It would seem that the schema is already parsed; all I need to do is apply it to another template. I took a look at the source code and I'm a bit confused. It seems that the velocity templates are used to generate (what maven would call) Torque-gen.jar which somehow doesn't have the templates anymore... I may be looking at it wrong, so I was wondering if anyone can give me a high level overview of how a template becomes a om class during the two compile processes. I don't need anything too detailed, but a rough road map would help alot. So far, the best I can figure out is... 1. Template.vm --Generator--> 2. ??? --project-schema.xml--> 3. Profit! (I mean... foo.class) If anyone has a high-level explanation of how this happens floating around in your head, I'd love it if you could write it out. Of course if anyone has already used this already and would like to just tell me flat out, I wouldn't reject that either :) Thanks for any help you can provide. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
