From: Gavin_King/Cirrus%<CI...@ci...> - 2002-07-26 03:14:18
|
>First, here is some documentation on the --abstract switch for the mapping thanks, I knew that was missing. >Second, I've noticed that when using JUnit, the 'reload classes for each >test' option throws the logging system into a tail spin that prevents JUnit >from running. Using the JUnit "-noloading" application parameter prevents >class reloading and avoids the problem - maybe this could be included in a >FAQ section or something. hhmmmm....we dont have a real FAQ yet. If someone wants to volunteer to maintain one, that would be very cool. Unfortunately I honestly don't have time to do this myself. >Third, I'm a IDE kind of guy (OK, I'm a lite-weight) and I never do >*anything* using the command line. I've been thinking about whats involved in making a real GUI tool for editing mappings of late. Its not yet near the top of the TODO, but it might eventually bubble up there. First I would want to learn Eclipse's windowing toolkit (cos' I just hate Swing). Anyway, I was thinking along the lines of: 1. A window that represents a mapping document visually as a tree and allows nodes to be edited in a properties pane. 2. Menu items: (a) generate skeletal mapping from class(es) (b) generate class(se) from current mapping (c) generate skeletal mapping from database table(s) (d) export schema to database which would all open up dialog boxes (which would, in turn, delegate to our commandline tools). I must confess though, I've never written an actual GUI application in my life. Only commandline and web applications. So this would be a real learning experience for me. The one time I had contact with the Swing TreeView was painful and scared me off for life.... In a sense this is really just a generic XML editor though. The only thing different is that we want to provide some explanatory metadata to nodes and attributes. (And the added menu-items which are trivial to do.) Does anyone know of any XML-editor-frameworks out there ;) hehe. Or something opensource that I could just take and bend to my own purposes? > there is one hitch: The map gen tool creates a doctype declaration like > this: > ><!DOCTYPE hibernate-mapping SYSTEM "DTD_PATH/hibernate-mapping.dtd"> urrrghhh yuck. Theres no good reason to use a SYSTEM ID now anyway. I will change this ASAP. Thanks Eric |