Changes for page EOModelDoc

Last modified by Theodore Petrosky on 2012/02/11 13:36

From version 25.1
edited by Chuck Hill
on 2008/07/31 16:33
Change comment: There is no comment for this version
To version 28.1
edited by Chuck Hill
on 2008/07/31 14:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -EOModelDoc
1 +eomodeldoc
Content
... ... @@ -11,55 +11,4 @@
11 11  == Download and Example Output ==
12 12  
13 13  [[Download EOModelDoc jar>>http://webobjects.mdimension.com/wolips/eomodeldoc.jar]]
14 -
15 -This is an example of the current state of eomodeldoc (the default templates are not done, but it will give you an idea of what it can do). The templates are all Velocity-based, and you can override them with custom versions. This was run in the BugTracker project folder. This model does not have documentation added to it with the new Entity Modeler yet, so it looks a little more bare than it would if it was documented properly. I'll probably document it just to have a full example to show.
16 16  [[View Example Output>>http://webobjects.mdimension.com/wolips/eomodeldoc_example/]]
17 -
18 -== Usage ==
19 -
20 -The command line syntax of for EOModelDoc:
21 -
22 -##eomodeldoc --output /path/to/output/folder --model /path/to/model.eomodeld]** -modelgroup /path/to/working/dir] -templates /path/to/templates] -entityURLTemplate "http:~/~/whatever?$entity.classNamePath}.html**##
23 -
24 -Still working on all the model loaders, but you should be able to do
25 -
26 -java --jar eomodeldoc.jar --model /path/to/model.eomodeld --output /tmp/
27 -eomodeldoc
28 -(will load all the models in the modelgroup based on your eclipse or
29 -IDEA project files ..... allegedly ... still working the kinks out on
30 -this)
31 -or
32 -
33 -java --jar eomodeldoc.jar --modelgroup /path/to/project --output /tmp/
34 -eomodeldoc
35 -(i haven't tried that one yet)
36 -
37 -or
38 -
39 -java --jar eomodeldoc.jar --output /tmp/eomodeldoc
40 -from inside your project
41 -
42 -== Template Files ==
43 -
44 -Default templates are included in the eomodeldoc.jar file. You can extract these templates to use as a basis for your own templates with this command:
45 -
46 -{{code}}
47 -
48 -unzip /path/to/eomodeldoc.jar *.vm -x "*/*"
49 -
50 -{{/code}}
51 -
52 -The templates and their function are:
53 -
54 -|=Template Name|=Usage / Function
55 -|entityContent.html.vm|
56 -|eomodeldoc.css.vm|
57 -|eomodeldoc.js.vm|
58 -|index.html.vm|
59 -|indexContent.html.vm|
60 -|indexModels.html.vm|
61 -|indexOverview.html.vm|
62 -|modelContent.html.vm| |
63 -|modelOverview.html.vm|
64 -|prototype.js.vm|
65 -|storedProcedureContent.html.vm|