Changes for page EOModelDoc
Last modified by Theodore Petrosky on 2012/02/11 13:36
From version 18.1
edited by Chuck Hill
on 2008/07/31 17:26
on 2008/07/31 17:26
Change comment:
There is no comment for this version
To version 24.1
edited by Chuck Hill
on 2008/07/31 16:33
on 2008/07/31 16:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -19,42 +19,26 @@ 19 19 20 20 The command line syntax of for EOModelDoc: 21 21 22 -## java --jareomodeldoc.jar--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**##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 23 24 -|=Parameter|=Usage / Function 25 -|output|Path to the directory where the output HTML files will be written. 26 -|model|Path to one model to generate documentation for. This parameter can be used multiple times, once for each model. 27 -|modelgroup|The path to an Eclipse or IDEA project. All models listed in the project will be documented. This defaults to the current working directory. 28 -|templates|Path to the directory where the Velocity templates are stored. See the [[||anchor="Template Files"]] section below for details on these templates. If this is not specified, the default templates inside the eomodeldoc.jar file will be used. 29 -|entityURLTemplate|URL to the JavaDocs for the classes in the model. This is used to create links from the EOModel documentation to the JavaDoc documentation. The dots in the classpath are replaced with "/" when the path is generated. 30 - 31 -=== Usage Examples === 32 - 33 -Document one model: 34 - 35 -{{code}} 36 - 37 -java -jar eomodeldoc.jar -model /path/to/model.eomodeld -output /tmp/eomodeldoc 38 - 39 -{{/code}} 40 - 24 +Still working on all the model loaders, but you should be able to do 41 41 42 -Document all models based on the Eclipse or IDEA project definition: 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 43 43 44 -{{code}} 45 - 46 -java -jar eomodeldoc.jar -modelgroup /path/to/project -output /tmp/eomodeldoc 47 - 48 -{{/code}} 49 - 50 -Document all models based on the Eclipse/IDEA project definition (when current working directory is the top level of the project): 51 - 52 -{{code}} 53 - 54 -java -jar eomodeldoc.jar -output /tmp/eomodeldoc 55 - 56 -{{/code}} 57 - 58 58 == Template Files == 59 59 60 60 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: ... ... @@ -79,5 +79,3 @@ 79 79 |modelOverview.html.vm| 80 80 |prototype.js.vm| 81 81 |storedProcedureContent.html.vm| 82 - 83 -== Running from Ant ==